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

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

Issue 10698046: Implements part of Device Motion in the Renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // Disables data transfer items. 77 // Disables data transfer items.
78 const char kDisableDataTransferItems[] = "disable-data-transfer-items"; 78 const char kDisableDataTransferItems[] = "disable-data-transfer-items";
79 79
80 // Disable deferred 2d canvas rendering. 80 // Disable deferred 2d canvas rendering.
81 const char kDisableDeferred2dCanvas[] = "disable-deferred-2d-canvas"; 81 const char kDisableDeferred2dCanvas[] = "disable-deferred-2d-canvas";
82 82
83 // Disables desktop notifications (default enabled on windows). 83 // Disables desktop notifications (default enabled on windows).
84 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; 84 const char kDisableDesktopNotifications[] = "disable-desktop-notifications";
85 85
86 // Disables device motion events.
87 const char kDisableDeviceMotion[] = "disable-device-motion";
88
86 // Disables device orientation events. 89 // Disables device orientation events.
87 const char kDisableDeviceOrientation[] = "disable-device-orientation"; 90 const char kDisableDeviceOrientation[] = "disable-device-orientation";
88 91
89 // Disable experimental WebGL support. 92 // Disable experimental WebGL support.
90 const char kDisableExperimentalWebGL[] = "disable-webgl"; 93 const char kDisableExperimentalWebGL[] = "disable-webgl";
91 94
92 // Blacklist the GPU for accelerated compositing. 95 // Blacklist the GPU for accelerated compositing.
93 const char kBlacklistAcceleratedCompositing[] = 96 const char kBlacklistAcceleratedCompositing[] =
94 "blacklist-accelerated-compositing"; 97 "blacklist-accelerated-compositing";
95 98
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // Enables the creation of compositing layers for fixed position elements. 247 // Enables the creation of compositing layers for fixed position elements.
245 const char kEnableCompositingForFixedPosition[] = 248 const char kEnableCompositingForFixedPosition[] =
246 "enable-fixed-position-compositing"; 249 "enable-fixed-position-compositing";
247 250
248 // Enables CSS3 regions 251 // Enables CSS3 regions
249 const char kEnableCssRegions[] = "enable-css-regions"; 252 const char kEnableCssRegions[] = "enable-css-regions";
250 253
251 // Enables CSS3 custom filters 254 // Enables CSS3 custom filters
252 const char kEnableCssShaders[] = "enable-css-shaders"; 255 const char kEnableCssShaders[] = "enable-css-shaders";
253 256
254 // Enables device motion events.
255 const char kEnableDeviceMotion[] = "enable-device-motion";
256
257 // Enables support for encrypted media. Current implementation is 257 // Enables support for encrypted media. Current implementation is
258 // incomplete and this flag is used for development and testing. 258 // incomplete and this flag is used for development and testing.
259 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; 259 const char kEnableEncryptedMedia[] = "enable-encrypted-media";
260 260
261 // Enables the fastback page cache. 261 // Enables the fastback page cache.
262 const char kEnableFastback[] = "enable-fastback"; 262 const char kEnableFastback[] = "enable-fastback";
263 263
264 // By default, a page is laid out to fill the entire width of the window. 264 // By default, a page is laid out to fill the entire width of the window.
265 // This flag fixes the layout of the page to a default of 980 CSS pixels, 265 // This flag fixes the layout of the page to a default of 980 CSS pixels,
266 // or to a specified width and height using --enable-fixed-layout=w,h 266 // or to a specified width and height using --enable-fixed-layout=w,h
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 const char kDefaultTileWidth[] = "default-tile-width"; 666 const char kDefaultTileWidth[] = "default-tile-width";
667 const char kDefaultTileHeight[] = "default-tile-height"; 667 const char kDefaultTileHeight[] = "default-tile-height";
668 668
669 // Sets the width and height above which a composited layer will get tiled. 669 // Sets the width and height above which a composited layer will get tiled.
670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
672 672
673 const char kFixedPositionCreatesStackingContext[] 673 const char kFixedPositionCreatesStackingContext[]
674 = "fixed-position-creates-stacking-context"; 674 = "fixed-position-creates-stacking-context";
675 } // namespace switches 675 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698