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