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

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: added unregister in destructor of DeviceMotionController 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..59195c98dee1cbee08a3326875965cfcf9b30d68 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,11 @@ public:
virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { }
virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { }
+ // Device Motion / Orientation -----------------------------------------
+
+ // FIXME add WebDeviceOrientationReader* deviceOrientationReader()
Peter Beverloo 2013/04/17 19:08:23 nit: this fixme doesn't add a lot, I'd remove it.
timvolodine 2013/04/18 12:37:38 Done.
+ virtual WebDeviceMotionReader* deviceMotionReader() { return 0; }
+
protected:
virtual ~Platform() { }
};

Powered by Google App Engine
This is Rietveld 408576698