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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
766 | 770 |
767 // Use a vsync signal from the browser to the renderer to schedule rendering. | 771 // Use a vsync signal from the browser to the renderer to schedule rendering. |
768 const char kEnableVsyncNotification[] = "enable-vsync-notification"; | 772 const char kEnableVsyncNotification[] = "enable-vsync-notification"; |
769 | 773 |
770 // Disables history navigation in response to horizontal overscroll. | 774 // Disables history navigation in response to horizontal overscroll. |
771 const char kDisableOverscrollHistoryNavigation[] = | 775 const char kDisableOverscrollHistoryNavigation[] = |
772 "disable-overscroll-history-navigation"; | 776 "disable-overscroll-history-navigation"; |
773 | 777 |
774 } // namespace switches | 778 } // namespace switches |
OLD | NEW |