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

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

Issue 10667023: Revert 143931 - Enable Pointer Lock by default, change about:flags option to multi-select. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // Disable LocalStorage. 157 // Disable LocalStorage.
158 const char kDisableLocalStorage[] = "disable-local-storage"; 158 const char kDisableLocalStorage[] = "disable-local-storage";
159 159
160 // Force logging to be disabled. Logging is enabled by default in debug 160 // Force logging to be disabled. Logging is enabled by default in debug
161 // builds. 161 // builds.
162 const char kDisableLogging[] = "disable-logging"; 162 const char kDisableLogging[] = "disable-logging";
163 163
164 // Prevent plugins from running. 164 // Prevent plugins from running.
165 const char kDisablePlugins[] = "disable-plugins"; 165 const char kDisablePlugins[] = "disable-plugins";
166 166
167 // Disable the JavaScript Pointer Lock API.
168 const char kDisablePointerLock[] = "disable-pointer-lock";
169
170 // Disable pop-up blocking. 167 // Disable pop-up blocking.
171 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 168 const char kDisablePopupBlocking[] = "disable-popup-blocking";
172 169
173 // Disables remote web font support. SVG font should always work whether this 170 // Disables remote web font support. SVG font should always work whether this
174 // option is specified or not. 171 // option is specified or not.
175 const char kDisableRemoteFonts[] = "disable-remote-fonts"; 172 const char kDisableRemoteFonts[] = "disable-remote-fonts";
176 173
177 // Turns off the accessibility in the renderer. 174 // Turns off the accessibility in the renderer.
178 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; 175 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility";
179 176
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 const char kDefaultTileWidth[] = "default-tile-width"; 680 const char kDefaultTileWidth[] = "default-tile-width";
684 const char kDefaultTileHeight[] = "default-tile-height"; 681 const char kDefaultTileHeight[] = "default-tile-height";
685 682
686 // Sets the width and height above which a composited layer will get tiled. 683 // Sets the width and height above which a composited layer will get tiled.
687 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 684 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
688 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 685 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
689 686
690 const char kFixedPositionCreatesStackingContext[] 687 const char kFixedPositionCreatesStackingContext[]
691 = "fixed-position-creates-stacking-context"; 688 = "fixed-position-creates-stacking-context";
692 } // namespace switches 689 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698