summaryrefslogtreecommitdiff
path: root/testing/embedder_test.h
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2015-08-04 12:19:10 -0700
committerNico Weber <thakis@chromium.org>2015-08-04 12:19:10 -0700
commitb048f791a15f2da781a01eba5b09eb9d389f9c11 (patch)
tree6850a73c18bbc41eaf4b1fdc6b3c96646d45587b /testing/embedder_test.h
parentc8eeed31f217d99a706b0cbf5e4ce0bcc12beb64 (diff)
downloadpdfium-b048f791a15f2da781a01eba5b09eb9d389f9c11.tar.xz
clang-format all pdfium code.
No behavior change. Generated by: find . -name '*.cpp' -o -name '*.h' | \ grep -E -v 'third_party|thirdparties|lpng_v163' | \ xargs ../../buildtools/mac/clang-format -i See thread "tabs vs spaces" on pdfium@googlegroups.com for discussion. BUG=none R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1265503005 .
Diffstat (limited to 'testing/embedder_test.h')
-rw-r--r--testing/embedder_test.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/testing/embedder_test.h b/testing/embedder_test.h
index 0ac68d54e1..4bd9d9713e 100644
--- a/testing/embedder_test.h
+++ b/testing/embedder_test.h
@@ -25,14 +25,16 @@ class EmbedderTest : public ::testing::Test,
public:
class Delegate {
public:
- virtual ~Delegate() { }
+ virtual ~Delegate() {}
// Equivalent to UNSUPPORT_INFO::FSDK_UnSupport_Handler().
- virtual void UnsupportedHandler(int type) { }
+ virtual void UnsupportedHandler(int type) {}
// Equivalent to IPDF_JSPLATFORM::app_alert().
- virtual int Alert(FPDF_WIDESTRING message, FPDF_WIDESTRING title,
- int type, int icon) {
+ virtual int Alert(FPDF_WIDESTRING message,
+ FPDF_WIDESTRING title,
+ int type,
+ int icon) {
return 0;
}
@@ -40,7 +42,7 @@ class EmbedderTest : public ::testing::Test,
virtual int SetTimer(int msecs, TimerCallback fn) { return 0; }
// Equivalent to FPDF_FORMFILLINFO::FFI_KillTimer().
- virtual void KillTimer(int id) { }
+ virtual void KillTimer(int id) {}
};
EmbedderTest();
@@ -95,9 +97,13 @@ class EmbedderTest : public ::testing::Test,
private:
static void UnsupportedHandlerTrampoline(UNSUPPORT_INFO*, int type);
- static int AlertTrampoline(IPDF_JSPLATFORM* plaform, FPDF_WIDESTRING message,
- FPDF_WIDESTRING title, int type, int icon);
- static int SetTimerTrampoline(FPDF_FORMFILLINFO* info, int msecs,
+ static int AlertTrampoline(IPDF_JSPLATFORM* plaform,
+ FPDF_WIDESTRING message,
+ FPDF_WIDESTRING title,
+ int type,
+ int icon);
+ static int SetTimerTrampoline(FPDF_FORMFILLINFO* info,
+ int msecs,
TimerCallback fn);
static void KillTimerTrampoline(FPDF_FORMFILLINFO* info, int id);
};