Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2740)

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.h

Issue 14460010: Implement the Blink part of the Device Motion API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: made WebDeviceMotionData more "POD-ish" Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.h
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.h b/Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.h
index 98e4c09a7e7343c48877192641cccb6043464c1c..668451e51162592da546d07694f1db28ff444d4d 100644
--- a/Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.h
+++ b/Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.h
@@ -271,7 +271,9 @@ private:
void enableAutoResizeMode(const CppArgumentList&, CppVariant*);
void disableAutoResizeMode(const CppArgumentList&, CppVariant*);
- // DeviceOrientation related functions
+ // DeviceOrientation / DeviceMotion related functions
+ void setMockDeviceMotion(const CppArgumentList&, CppVariant*);
+ void fireMockDeviceMotion(const CppArgumentList&, CppVariant*);
void setMockDeviceOrientation(const CppArgumentList&, CppVariant*);
void didAcquirePointerLock(const CppArgumentList&, CppVariant*);

Powered by Google App Engine
This is Rietveld 408576698