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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 311 |
312 // Enables delegated renderer. | 312 // Enables delegated renderer. |
313 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; | 313 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
314 | 314 |
315 // Enables device motion events. | 315 // Enables device motion events. |
316 const char kEnableDeviceMotion[] = "enable-device-motion"; | 316 const char kEnableDeviceMotion[] = "enable-device-motion"; |
317 | 317 |
318 // Enables restarting interrupted downloads. | 318 // Enables restarting interrupted downloads. |
319 const char kEnableDownloadResumption[] = "enable-download-resumption"; | 319 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
320 | 320 |
| 321 #if defined(OS_CHROMEOS) |
| 322 // Enables hardware-encoded screen capture. |
| 323 const char kEnableEncodedScreenCapture[] = "enable-encoded-screen-capture"; |
| 324 #endif |
| 325 |
321 // Enables WebKit features that are in development. | 326 // Enables WebKit features that are in development. |
322 const char kEnableExperimentalWebKitFeatures[] = | 327 const char kEnableExperimentalWebKitFeatures[] = |
323 "enable-experimental-webkit-features"; | 328 "enable-experimental-webkit-features"; |
324 | 329 |
325 // Disables the threaded HTML parser in WebKit | 330 // Disables the threaded HTML parser in WebKit |
326 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 331 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
327 | 332 |
328 // By default, a page is laid out to fill the entire width of the window. | 333 // By default, a page is laid out to fill the entire width of the window. |
329 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 334 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
330 // or to a specified width and height using --enable-fixed-layout=w,h | 335 // or to a specified width and height using --enable-fixed-layout=w,h |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 // Forward overscroll event data from the renderer to the browser. | 858 // Forward overscroll event data from the renderer to the browser. |
854 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 859 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
855 | 860 |
856 // Enables 'image/webp' accept header for image requests. | 861 // Enables 'image/webp' accept header for image requests. |
857 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 862 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
858 | 863 |
859 // Enables WebGL extensions not yet approved by the community. | 864 // Enables WebGL extensions not yet approved by the community. |
860 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 865 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
861 | 866 |
862 } // namespace switches | 867 } // namespace switches |
OLD | NEW |