| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 | 362 |
| 363 // Enable experimental container node culling. | 363 // Enable experimental container node culling. |
| 364 const char kEnableContainerCulling[] = "enable-container-culling"; | 364 const char kEnableContainerCulling[] = "enable-container-culling"; |
| 365 | 365 |
| 366 // Turns on extremely verbose logging of accessibility events. | 366 // Turns on extremely verbose logging of accessibility events. |
| 367 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 367 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
| 368 | 368 |
| 369 // Use a BeginImplFrame signal from browser to renderer to schedule rendering. | 369 // Use a BeginImplFrame signal from browser to renderer to schedule rendering. |
| 370 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 370 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 371 | 371 |
| 372 // Enables browser plugin for all types of pages. | |
| 373 const char kEnableBrowserPluginForAllViewTypes[] = | |
| 374 "enable-browser-plugin-for-all-view-types"; | |
| 375 | |
| 376 // Enable the creation of compositing layers for fixed position | 372 // Enable the creation of compositing layers for fixed position |
| 377 // elements. Three options are needed to support four possible scenarios: | 373 // elements. Three options are needed to support four possible scenarios: |
| 378 // 1. Default (disabled) | 374 // 1. Default (disabled) |
| 379 // 2. Enabled always (to allow dogfooding) | 375 // 2. Enabled always (to allow dogfooding) |
| 380 // 3. Disabled always (to give safety fallback for users) | 376 // 3. Disabled always (to give safety fallback for users) |
| 381 // 4. Enabled only if we detect a highDPI display | 377 // 4. Enabled only if we detect a highDPI display |
| 382 // | 378 // |
| 383 // Option #4 may soon be the default, because the feature is needed soon for | 379 // Option #4 may soon be the default, because the feature is needed soon for |
| 384 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will | 380 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will |
| 385 // override Option #4. | 381 // override Option #4. |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 | 1036 |
| 1041 // Disables support for Core Animation plugins. This is triggered when | 1037 // Disables support for Core Animation plugins. This is triggered when |
| 1042 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1038 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 1043 const char kDisableCoreAnimationPlugins[] = | 1039 const char kDisableCoreAnimationPlugins[] = |
| 1044 "disable-core-animation-plugins"; | 1040 "disable-core-animation-plugins"; |
| 1045 #endif | 1041 #endif |
| 1046 | 1042 |
| 1047 // Don't dump stuff here, follow the same order as the header. | 1043 // Don't dump stuff here, follow the same order as the header. |
| 1048 | 1044 |
| 1049 } // namespace switches | 1045 } // namespace switches |
| OLD | NEW |