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