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 a very strict scheme of handling 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 kEnableStrictImeProcessing[] = "enable-strict-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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 const char kOverscrollHistoryNavigation[] = | 870 const char kOverscrollHistoryNavigation[] = |
865 "overscroll-history-navigation"; | 871 "overscroll-history-navigation"; |
866 | 872 |
867 // Forward overscroll event data from the renderer to the browser. | 873 // Forward overscroll event data from the renderer to the browser. |
868 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 874 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
869 | 875 |
870 // Enables WebGL extensions not yet approved by the community. | 876 // Enables WebGL extensions not yet approved by the community. |
871 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 877 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
872 | 878 |
873 } // namespace switches | 879 } // namespace switches |
OLD | NEW |