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

Unified Diff: content/browser/device_orientation/device_data.h

Issue 12771008: Implement java-side browser sensor polling for device motion and device orientation DOM events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: taking into account the comments Created 7 years, 9 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: content/browser/device_orientation/device_data.h
diff --git a/content/browser/device_orientation/device_data.h b/content/browser/device_orientation/device_data.h
index ae65618ac25fae3c03c1b9056b6261f145af9a40..5ae0255562b826cb03b74113cb551740ae9fd041 100644
--- a/content/browser/device_orientation/device_data.h
+++ b/content/browser/device_orientation/device_data.h
@@ -18,9 +18,9 @@ class CONTENT_EXPORT DeviceData :
public base::RefCountedThreadSafe<DeviceData> {
public:
enum Type {
- kTypeMotion,
- kTypeOrientation,
- kTypeTest
+ kTypeOrientation = 0,
+ kTypeMotion = 1,
+ kTypeTest = 100
};
virtual IPC::Message* CreateIPCMessage(int render_view_id) const = 0;

Powered by Google App Engine
This is Rietveld 408576698