| OLD | NEW |
| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 262 |
| 263 // Enable the JavaScript Full Screen API. | 263 // Enable the JavaScript Full Screen API. |
| 264 const char kDisableFullScreen[] = "disable-fullscreen"; | 264 const char kDisableFullScreen[] = "disable-fullscreen"; |
| 265 | 265 |
| 266 // Enable the JavaScript Pointer Lock API. | 266 // Enable the JavaScript Pointer Lock API. |
| 267 const char kEnablePointerLock[] = "enable-pointer-lock"; | 267 const char kEnablePointerLock[] = "enable-pointer-lock"; |
| 268 | 268 |
| 269 // Enable the Gamepad API | 269 // Enable the Gamepad API |
| 270 const char kEnableGamepad[] = "enable-gamepad"; | 270 const char kEnableGamepad[] = "enable-gamepad"; |
| 271 | 271 |
| 272 // Enables the GPU benchmarking extension |
| 273 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| 274 |
| 272 // Force logging to be enabled. Logging is disabled by default in release | 275 // Force logging to be enabled. Logging is disabled by default in release |
| 273 // builds. | 276 // builds. |
| 274 const char kEnableLogging[] = "enable-logging"; | 277 const char kEnableLogging[] = "enable-logging"; |
| 275 | 278 |
| 276 // Enables Media Source API on <audio>/<video> elements. | 279 // Enables Media Source API on <audio>/<video> elements. |
| 277 const char kEnableMediaSource[] = "enable-media-source"; | 280 const char kEnableMediaSource[] = "enable-media-source"; |
| 278 | 281 |
| 279 // Enable media stream in WebKit. | 282 // Enable media stream in WebKit. |
| 280 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam | 283 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam |
| 281 const char kEnablePeerConnection[] = "enable-peer-connection"; | 284 const char kEnablePeerConnection[] = "enable-peer-connection"; |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 const char kDefaultTileWidth[] = "default-tile-width"; | 661 const char kDefaultTileWidth[] = "default-tile-width"; |
| 659 const char kDefaultTileHeight[] = "default-tile-height"; | 662 const char kDefaultTileHeight[] = "default-tile-height"; |
| 660 | 663 |
| 661 // Sets the width and height above which a composited layer will get tiled. | 664 // Sets the width and height above which a composited layer will get tiled. |
| 662 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 665 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 663 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 666 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 664 | 667 |
| 665 const char kFixedPositionCreatesStackingContext[] | 668 const char kFixedPositionCreatesStackingContext[] |
| 666 = "fixed-position-creates-stacking-context"; | 669 = "fixed-position-creates-stacking-context"; |
| 667 } // namespace switches | 670 } // namespace switches |
| OLD | NEW |