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

Side by Side Diff: content/public/common/content_switches.cc

Issue 21591002: Enable Device Motion on Android by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reupload Created 7 years, 4 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 unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 325
326 // Disables delegated renderer. 326 // Disables delegated renderer.
327 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; 327 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer";
328 328
329 // Enables delegated renderer. 329 // Enables delegated renderer.
330 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; 330 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer";
331 331
332 // Enables device motion events. 332 // Enables device motion events.
333 const char kEnableDeviceMotion[] = "enable-device-motion"; 333 const char kEnableDeviceMotion[] = "enable-device-motion";
334 334
335 #if defined(OS_ANDROID)
336 // Disables device motion events.
337 const char kDisableDeviceMotion[] = "disable-device-motion";
338 #endif
339
335 // Enables restarting interrupted downloads. 340 // Enables restarting interrupted downloads.
336 const char kEnableDownloadResumption[] = "enable-download-resumption"; 341 const char kEnableDownloadResumption[] = "enable-download-resumption";
337 342
338 #if defined(OS_CHROMEOS) 343 #if defined(OS_CHROMEOS)
339 // Enables hardware-encoded screen capture. 344 // Enables hardware-encoded screen capture.
340 const char kEnableEncodedScreenCapture[] = "enable-encoded-screen-capture"; 345 const char kEnableEncodedScreenCapture[] = "enable-encoded-screen-capture";
341 #endif 346 #endif
342 347
343 // Enables Web Platform features that are in development. 348 // Enables Web Platform features that are in development.
344 const char kEnableExperimentalWebPlatformFeatures[] = 349 const char kEnableExperimentalWebPlatformFeatures[] =
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 905 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
901 906
902 // Enables/disables accelerated compositing for backgrounds of root layers with 907 // Enables/disables accelerated compositing for backgrounds of root layers with
903 // background-attachment: fixed. Requires kForceCompositingMode. 908 // background-attachment: fixed. Requires kForceCompositingMode.
904 const char kDisableAcceleratedFixedRootBackground[] = 909 const char kDisableAcceleratedFixedRootBackground[] =
905 "disable-accelerated-fixed-root-background"; 910 "disable-accelerated-fixed-root-background";
906 const char kEnableAcceleratedFixedRootBackground[] = 911 const char kEnableAcceleratedFixedRootBackground[] =
907 "enable-accelerated-fixed-root-background"; 912 "enable-accelerated-fixed-root-background";
908 913
909 } // namespace switches 914 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698