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

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: implemented async messaging for obtaining the shared memory handle Created 7 years, 6 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 0123a0a6f0719fae8694ea6d6159a1f4ef2bae21..c10dee0d764560252b2b6a15d4fd613e00df8bd1 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -720,7 +720,7 @@ static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) {
if (command_line.HasSwitch(switches::kEnableWebMIDI))
WebRuntimeFeatures::enableWebMIDI(true);
- if (command_line.HasSwitch(switches::kEnableDeviceMotion))
+// if (command_line.HasSwitch(switches::kEnableDeviceMotion))
darin (slow to review) 2013/06/17 05:27:46 nit: unintended change?
timvolodine 2013/06/17 20:10:55 Done.
WebRuntimeFeatures::enableDeviceMotion(true);
if (command_line.HasSwitch(switches::kDisableDeviceOrientation))

Powered by Google App Engine
This is Rietveld 408576698