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

Unified Diff: Source/Platform/chromium/public/Platform.h

Issue 13866007: WebKit & WebCore part of the device motion implementation using the platform layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@devicemotion-webcore
Patch Set: fixed Peter's comments Created 7 years, 8 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: Source/Platform/chromium/public/Platform.h
diff --git a/Source/Platform/chromium/public/Platform.h b/Source/Platform/chromium/public/Platform.h
index 2ca26a3d567270b1d7124c4b48b269a9fcd31827..eb838b3a3638703c05da5ccd22fbf23facd96bea 100644
--- a/Source/Platform/chromium/public/Platform.h
+++ b/Source/Platform/chromium/public/Platform.h
@@ -54,6 +54,7 @@ class WebBlobRegistry;
class WebClipboard;
class WebCompositorSupport;
class WebCookieJar;
+class WebDeviceMotionReader;
class WebDiscardableMemory;
class WebFileSystem;
class WebFileUtilities;
@@ -511,6 +512,9 @@ public:
virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { }
virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { }
+ // Device Motion / Orientation -----------------------------------------
Peter Beverloo 2013/04/18 13:56:06 micro ocd nit: this line has one more dash than th
timvolodine 2013/04/18 14:55:37 Done.
+ virtual WebDeviceMotionReader* deviceMotionReader() { return 0; }
+
protected:
virtual ~Platform() { }
};

Powered by Google App Engine
This is Rietveld 408576698