| 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 const char kEnableAudibleNotifications[] = "enable-audible-notifications"; | 259 const char kEnableAudibleNotifications[] = "enable-audible-notifications"; |
| 260 | 260 |
| 261 // Enables browser plugin compositing experiment. | 261 // Enables browser plugin compositing experiment. |
| 262 const char kDisableBrowserPluginCompositing[] = | 262 const char kDisableBrowserPluginCompositing[] = |
| 263 "disable-browser-plugin-compositing"; | 263 "disable-browser-plugin-compositing"; |
| 264 | 264 |
| 265 // Enables browser plugin for all types of pages. | 265 // Enables browser plugin for all types of pages. |
| 266 const char kEnableBrowserPluginForAllViewTypes[] = | 266 const char kEnableBrowserPluginForAllViewTypes[] = |
| 267 "enable-browser-plugin-for-all-view-types"; | 267 "enable-browser-plugin-for-all-view-types"; |
| 268 | 268 |
| 269 // Enables Drag and Drop into and out of Browser Plugin. |
| 270 // kEnableBrowserPluginGuestViews must also be set at this time. |
| 271 const char kEnableBrowserPluginDragDrop[] = "enable-browser-plugin-drag-drop"; |
| 272 |
| 269 // Enable/Disable the creation of compositing layers for fixed position | 273 // Enable/Disable the creation of compositing layers for fixed position |
| 270 // elements. Three options are needed to support four possible scenarios: | 274 // elements. Three options are needed to support four possible scenarios: |
| 271 // 1. Default (disabled) | 275 // 1. Default (disabled) |
| 272 // 2. Enabled always (to allow dogfooding) | 276 // 2. Enabled always (to allow dogfooding) |
| 273 // 3. Disabled always (to give safety fallback for users) | 277 // 3. Disabled always (to give safety fallback for users) |
| 274 // 4. Enabled only if we detect a highDPI display | 278 // 4. Enabled only if we detect a highDPI display |
| 275 // | 279 // |
| 276 // Option #4 may soon be the default, because the feature is needed soon for | 280 // Option #4 may soon be the default, because the feature is needed soon for |
| 277 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will | 281 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will |
| 278 // override Option #4. | 282 // override Option #4. |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 // Enables or disables history navigation in response to horizontal overscroll. | 795 // Enables or disables history navigation in response to horizontal overscroll. |
| 792 // Set the value to '1' to enable the feature, and set to '0' to disable. | 796 // Set the value to '1' to enable the feature, and set to '0' to disable. |
| 793 // Defaults to enabled. | 797 // Defaults to enabled. |
| 794 const char kOverscrollHistoryNavigation[] = | 798 const char kOverscrollHistoryNavigation[] = |
| 795 "overscroll-history-navigation"; | 799 "overscroll-history-navigation"; |
| 796 | 800 |
| 797 // Enables 'image/webp' accept header for image requests. | 801 // Enables 'image/webp' accept header for image requests. |
| 798 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 802 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 799 | 803 |
| 800 } // namespace switches | 804 } // namespace switches |
| OLD | NEW |