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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 14678012: Implement the content/renderer and content/browser part of the Device Motion API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 9076ee9565188d6af5f526d1a6275650b9bbf969..ade9eecc57d9abd3c419fd36ab30f6fd701ec8bf 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -742,8 +742,8 @@ void RenderThreadImpl::EnsureWebKitInitialized() {
WebRuntimeFeatures::enableWebMIDI(
command_line.HasSwitch(switches::kEnableWebMIDI));
- WebRuntimeFeatures::enableDeviceMotion(
- command_line.HasSwitch(switches::kEnableDeviceMotion));
+ WebRuntimeFeatures::enableDeviceMotion(true);
+// command_line.HasSwitch(switches::kEnableDeviceMotion));
jamesr 2013/05/16 19:53:06 huh?
timvolodine 2013/05/20 18:18:48 Done.
WebRuntimeFeatures::enableDeviceOrientation(
!command_line.HasSwitch(switches::kDisableDeviceOrientation));

Powered by Google App Engine
This is Rietveld 408576698