| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 249 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
| 250 | 250 |
| 251 // Enables browser plugin compositing experiment. | 251 // Enables browser plugin compositing experiment. |
| 252 const char kDisableBrowserPluginCompositing[] = | 252 const char kDisableBrowserPluginCompositing[] = |
| 253 "disable-browser-plugin-compositing"; | 253 "disable-browser-plugin-compositing"; |
| 254 | 254 |
| 255 // Enables browser plugin for all types of pages. | 255 // Enables browser plugin for all types of pages. |
| 256 const char kEnableBrowserPluginForAllViewTypes[] = | 256 const char kEnableBrowserPluginForAllViewTypes[] = |
| 257 "enable-browser-plugin-for-all-view-types"; | 257 "enable-browser-plugin-for-all-view-types"; |
| 258 | 258 |
| 259 // Enables Drag and Drop into and out of Browser Plugin. |
| 260 // kEnableBrowserPluginGuestViews must also be set at this time. |
| 261 const char kEnableBrowserPluginDragDrop[] = "enable-browser-plugin-drag-drop"; |
| 262 |
| 259 // Enable/Disable the creation of compositing layers for fixed position | 263 // Enable/Disable the creation of compositing layers for fixed position |
| 260 // elements. Three options are needed to support four possible scenarios: | 264 // elements. Three options are needed to support four possible scenarios: |
| 261 // 1. Default (disabled) | 265 // 1. Default (disabled) |
| 262 // 2. Enabled always (to allow dogfooding) | 266 // 2. Enabled always (to allow dogfooding) |
| 263 // 3. Disabled always (to give safety fallback for users) | 267 // 3. Disabled always (to give safety fallback for users) |
| 264 // 4. Enabled only if we detect a highDPI display | 268 // 4. Enabled only if we detect a highDPI display |
| 265 // | 269 // |
| 266 // Option #4 may soon be the default, because the feature is needed soon for | 270 // Option #4 may soon be the default, because the feature is needed soon for |
| 267 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will | 271 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will |
| 268 // override Option #4. | 272 // override Option #4. |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 const char kEnableVsyncNotification[] = "enable-vsync-notification"; | 781 const char kEnableVsyncNotification[] = "enable-vsync-notification"; |
| 778 | 782 |
| 779 // Enables history navigation in response to horizontal overscroll. | 783 // Enables history navigation in response to horizontal overscroll. |
| 780 const char kEnableOverscrollHistoryNavigation[] = | 784 const char kEnableOverscrollHistoryNavigation[] = |
| 781 "enable-overscroll-history-navigation"; | 785 "enable-overscroll-history-navigation"; |
| 782 | 786 |
| 783 // Enables 'image/webp' accept header for image requests. | 787 // Enables 'image/webp' accept header for image requests. |
| 784 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 788 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 785 | 789 |
| 786 } // namespace switches | 790 } // namespace switches |
| OLD | NEW |