| 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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 | 443 |
| 444 // Enables the Skia benchmarking extension | 444 // Enables the Skia benchmarking extension |
| 445 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; | 445 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; |
| 446 | 446 |
| 447 // On platforms that support it, enables smooth scroll animation. | 447 // On platforms that support it, enables smooth scroll animation. |
| 448 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 448 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
| 449 | 449 |
| 450 // Enable spatial navigation | 450 // Enable spatial navigation |
| 451 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; | 451 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; |
| 452 | 452 |
| 453 // Enables the synthesis part of the Web Speech API. | |
| 454 const char kEnableSpeechSynthesis[] = "enable-speech-synthesis"; | |
| 455 | |
| 456 // Enables StatsTable, logging statistics to a global named shared memory table. | 453 // Enables StatsTable, logging statistics to a global named shared memory table. |
| 457 const char kEnableStatsTable[] = "enable-stats-table"; | 454 const char kEnableStatsTable[] = "enable-stats-table"; |
| 458 | 455 |
| 459 // Experimentally ensures that each renderer process: | 456 // Experimentally ensures that each renderer process: |
| 460 // 1) Only handles rendering for pages from a single site, apart from iframes. | 457 // 1) Only handles rendering for pages from a single site, apart from iframes. |
| 461 // (Note that a page can reference content from multiple origins due to images, | 458 // (Note that a page can reference content from multiple origins due to images, |
| 462 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) | 459 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) |
| 463 // 2) Only has authority to see or use cookies for the page's top-level origin. | 460 // 2) Only has authority to see or use cookies for the page's top-level origin. |
| 464 // (So if a.com iframes b.com, the b.com network request will be sent without | 461 // (So if a.com iframes b.com, the b.com network request will be sent without |
| 465 // cookies.) | 462 // cookies.) |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 944 // Enable the Win32K process mitigation policy for renderer processes which | 941 // Enable the Win32K process mitigation policy for renderer processes which |
| 945 // prevents them from invoking user32 and gdi32 system calls which enter | 942 // prevents them from invoking user32 and gdi32 system calls which enter |
| 946 // the kernel. This is only supported on Windows 8 and beyond. | 943 // the kernel. This is only supported on Windows 8 and beyond. |
| 947 const char kEnableWin32kRendererLockDown[] | 944 const char kEnableWin32kRendererLockDown[] |
| 948 = "enable_win32k_renderer_lockdown"; | 945 = "enable_win32k_renderer_lockdown"; |
| 949 #endif | 946 #endif |
| 950 | 947 |
| 951 // Don't dump stuff here, follow the same order as the header. | 948 // Don't dump stuff here, follow the same order as the header. |
| 952 | 949 |
| 953 } // namespace switches | 950 } // namespace switches |
| OLD | NEW |