| 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 330 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 331 | 331 |
| 332 // Enables browser plugin for all types of pages. | 332 // Enables browser plugin for all types of pages. |
| 333 const char kEnableBrowserPluginForAllViewTypes[] = | 333 const char kEnableBrowserPluginForAllViewTypes[] = |
| 334 "enable-browser-plugin-for-all-view-types"; | 334 "enable-browser-plugin-for-all-view-types"; |
| 335 | 335 |
| 336 // Enables Drag and Drop into and out of Browser Plugin. | 336 // Enables Drag and Drop into and out of Browser Plugin. |
| 337 // kEnableBrowserPluginGuestViews must also be set at this time. | 337 // kEnableBrowserPluginGuestViews must also be set at this time. |
| 338 const char kEnableBrowserPluginDragDrop[] = "enable-browser-plugin-drag-drop"; | 338 const char kEnableBrowserPluginDragDrop[] = "enable-browser-plugin-drag-drop"; |
| 339 | 339 |
| 340 // Batch and synchronize input event delivery to the renderer. | |
| 341 const char kEnableBufferedInputRouter[] = "enable-buffered-input-router"; | |
| 342 | |
| 343 // Enables accelerated scrolling by the compositor for frames. Requires | 340 // Enables accelerated scrolling by the compositor for frames. Requires |
| 344 // kForceCompositingMode and kEnableAcceleratedScrollableFrames. | 341 // kForceCompositingMode and kEnableAcceleratedScrollableFrames. |
| 345 const char kEnableCompositedScrollingForFrames[] = | 342 const char kEnableCompositedScrollingForFrames[] = |
| 346 "enable-composited-scrolling-for-frames"; | 343 "enable-composited-scrolling-for-frames"; |
| 347 | 344 |
| 348 // Enable the creation of compositing layers for fixed position | 345 // Enable the creation of compositing layers for fixed position |
| 349 // elements. Three options are needed to support four possible scenarios: | 346 // elements. Three options are needed to support four possible scenarios: |
| 350 // 1. Default (disabled) | 347 // 1. Default (disabled) |
| 351 // 2. Enabled always (to allow dogfooding) | 348 // 2. Enabled always (to allow dogfooding) |
| 352 // 3. Disabled always (to give safety fallback for users) | 349 // 3. Disabled always (to give safety fallback for users) |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 #endif | 969 #endif |
| 973 | 970 |
| 974 #if defined(USE_AURA) | 971 #if defined(USE_AURA) |
| 975 // Forces usage of the test compositor. Needed to run ui tests on bots. | 972 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 976 extern const char kTestCompositor[] = "test-compositor"; | 973 extern const char kTestCompositor[] = "test-compositor"; |
| 977 #endif | 974 #endif |
| 978 | 975 |
| 979 // Don't dump stuff here, follow the same order as the header. | 976 // Don't dump stuff here, follow the same order as the header. |
| 980 | 977 |
| 981 } // namespace switches | 978 } // namespace switches |
| OLD | NEW |