| 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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 | 344 |
| 345 // Enable experimental container node culling. | 345 // Enable experimental container node culling. |
| 346 const char kEnableContainerCulling[] = "enable-container-culling"; | 346 const char kEnableContainerCulling[] = "enable-container-culling"; |
| 347 | 347 |
| 348 // Turns on extremely verbose logging of accessibility events. | 348 // Turns on extremely verbose logging of accessibility events. |
| 349 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 349 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
| 350 | 350 |
| 351 // Use a BeginFrame signal from browser to renderer to schedule rendering. | 351 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
| 352 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 352 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 353 | 353 |
| 354 // Enables browser plugin for all types of pages. | |
| 355 const char kEnableBrowserPluginForAllViewTypes[] = | |
| 356 "enable-browser-plugin-for-all-view-types"; | |
| 357 | |
| 358 // Enable the creation of compositing layers for fixed position | 354 // Enable the creation of compositing layers for fixed position |
| 359 // elements. Three options are needed to support four possible scenarios: | 355 // elements. Three options are needed to support four possible scenarios: |
| 360 // 1. Default (disabled) | 356 // 1. Default (disabled) |
| 361 // 2. Enabled always (to allow dogfooding) | 357 // 2. Enabled always (to allow dogfooding) |
| 362 // 3. Disabled always (to give safety fallback for users) | 358 // 3. Disabled always (to give safety fallback for users) |
| 363 // 4. Enabled only if we detect a highDPI display | 359 // 4. Enabled only if we detect a highDPI display |
| 364 // | 360 // |
| 365 // Option #4 may soon be the default, because the feature is needed soon for | 361 // Option #4 may soon be the default, because the feature is needed soon for |
| 366 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will | 362 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will |
| 367 // override Option #4. | 363 // override Option #4. |
| (...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 | 1010 |
| 1015 // Disables support for Core Animation plugins. This is triggered when | 1011 // Disables support for Core Animation plugins. This is triggered when |
| 1016 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1012 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 1017 const char kDisableCoreAnimationPlugins[] = | 1013 const char kDisableCoreAnimationPlugins[] = |
| 1018 "disable-core-animation-plugins"; | 1014 "disable-core-animation-plugins"; |
| 1019 #endif | 1015 #endif |
| 1020 | 1016 |
| 1021 // Don't dump stuff here, follow the same order as the header. | 1017 // Don't dump stuff here, follow the same order as the header. |
| 1022 | 1018 |
| 1023 } // namespace switches | 1019 } // namespace switches |
| OLD | NEW |