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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 | 428 |
429 // Enable spatial navigation | 429 // Enable spatial navigation |
430 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; | 430 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; |
431 | 431 |
432 // On platforms that support it, enables smooth scroll animation. | 432 // On platforms that support it, enables smooth scroll animation. |
433 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 433 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
434 | 434 |
435 // Enables StatsTable, logging statistics to a global named shared memory table. | 435 // Enables StatsTable, logging statistics to a global named shared memory table. |
436 const char kEnableStatsTable[] = "enable-stats-table"; | 436 const char kEnableStatsTable[] = "enable-stats-table"; |
437 | 437 |
| 438 // Enables ordered handling of IME events. Some changes that relate |
| 439 // to IME on on the renderer side requires acknowledgement from the browser |
| 440 // process. If IME events are sent to the renderer while there are outstanding |
| 441 // acknowledgements, the IME event will be dropped. |
| 442 const char kEnableOrderedImeProcessing[] = "enable-ordered-ime-processing"; |
| 443 |
438 // Experimentally ensures that each renderer process: | 444 // Experimentally ensures that each renderer process: |
439 // 1) Only handles rendering for pages from a single site, apart from iframes. | 445 // 1) Only handles rendering for pages from a single site, apart from iframes. |
440 // (Note that a page can reference content from multiple origins due to images, | 446 // (Note that a page can reference content from multiple origins due to images, |
441 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) | 447 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) |
442 // 2) Only has authority to see or use cookies for the page's top-level origin. | 448 // 2) Only has authority to see or use cookies for the page's top-level origin. |
443 // (So if a.com iframes b.com, the b.com network request will be sent without | 449 // (So if a.com iframes b.com, the b.com network request will be sent without |
444 // cookies.) | 450 // cookies.) |
445 // This is expected to break compatibility with many pages for now. Unlike the | 451 // This is expected to break compatibility with many pages for now. Unlike the |
446 // --site-per-process flag, this allows cross-site iframes, but it blocks all | 452 // --site-per-process flag, this allows cross-site iframes, but it blocks all |
447 // cookies on cross-site requests. | 453 // cookies on cross-site requests. |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 877 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
872 | 878 |
873 // Enables/disables accelerated compositing for backgrounds of root layers with | 879 // Enables/disables accelerated compositing for backgrounds of root layers with |
874 // background-attachment: fixed. Requires kForceCompositingMode. | 880 // background-attachment: fixed. Requires kForceCompositingMode. |
875 const char kDisableAcceleratedFixedRootBackground[] = | 881 const char kDisableAcceleratedFixedRootBackground[] = |
876 "disable-accelerated-fixed-root-background"; | 882 "disable-accelerated-fixed-root-background"; |
877 const char kEnableAcceleratedFixedRootBackground[] = | 883 const char kEnableAcceleratedFixedRootBackground[] = |
878 "enable-accelerated-fixed-root-background"; | 884 "enable-accelerated-fixed-root-background"; |
879 | 885 |
880 } // namespace switches | 886 } // namespace switches |
OLD | NEW |