Chromium Code Reviews| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 177 | 177 |
| 178 // Disables site-specific tailoring to compatibility issues in WebKit. | 178 // Disables site-specific tailoring to compatibility issues in WebKit. |
| 179 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 179 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
| 180 | 180 |
| 181 // Disables speech input. | 181 // Disables speech input. |
| 182 const char kDisableSpeechInput[] = "disable-speech-input"; | 182 const char kDisableSpeechInput[] = "disable-speech-input"; |
| 183 | 183 |
| 184 // Enables scripted speech api. | 184 // Enables scripted speech api. |
| 185 const char kEnableScriptedSpeech[] = "enable-scripted-speech"; | 185 const char kEnableScriptedSpeech[] = "enable-scripted-speech"; |
| 186 | 186 |
| 187 // Disables animation on the compositor thread. | 187 // Enables animation on the compositor thread. |
| 188 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; | 188 const char kEnableAcceleratedAnimation[] = "enable-accelerated-animation"; |
|
jamesr
2012/05/29 23:42:24
for the sake of having as few moving pieces as pos
| |
| 189 | 189 |
| 190 // Disable web audio API. | 190 // Disable web audio API. |
| 191 const char kDisableWebAudio[] = "disable-webaudio"; | 191 const char kDisableWebAudio[] = "disable-webaudio"; |
| 192 | 192 |
| 193 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 193 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| 194 const char kDisableWebSecurity[] = "disable-web-security"; | 194 const char kDisableWebSecurity[] = "disable-web-security"; |
| 195 | 195 |
| 196 // Disable Web Sockets support. | 196 // Disable Web Sockets support. |
| 197 const char kDisableWebSockets[] = "disable-web-sockets"; | 197 const char kDisableWebSockets[] = "disable-web-sockets"; |
| 198 | 198 |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 640 const char kDefaultTileWidth[] = "default-tile-width"; | 640 const char kDefaultTileWidth[] = "default-tile-width"; |
| 641 const char kDefaultTileHeight[] = "default-tile-height"; | 641 const char kDefaultTileHeight[] = "default-tile-height"; |
| 642 | 642 |
| 643 // Sets the width and height above which a composited layer will get tiled. | 643 // Sets the width and height above which a composited layer will get tiled. |
| 644 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 644 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 645 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 645 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 646 | 646 |
| 647 const char kFixedPositionCreatesStackingContext[] | 647 const char kFixedPositionCreatesStackingContext[] |
| 648 = "fixed-position-creates-stacking-context"; | 648 = "fixed-position-creates-stacking-context"; |
| 649 } // namespace switches | 649 } // namespace switches |
| OLD | NEW |