| 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 | 452 |
| 453 // Enables the Skia benchmarking extension | 453 // Enables the Skia benchmarking extension |
| 454 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; | 454 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; |
| 455 | 455 |
| 456 // On platforms that support it, enables smooth scroll animation. | 456 // On platforms that support it, enables smooth scroll animation. |
| 457 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 457 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
| 458 | 458 |
| 459 // Enable spatial navigation | 459 // Enable spatial navigation |
| 460 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; | 460 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; |
| 461 | 461 |
| 462 // Enables the synthesis part of the Web Speech API. | 462 // Disables the synthesis part of the Web Speech API. |
| 463 const char kEnableSpeechSynthesis[] = "enable-speech-synthesis"; | 463 const char kDisableSpeechSynthesis[] = "disable-speech-synthesis"; |
| 464 | 464 |
| 465 // Enables StatsTable, logging statistics to a global named shared memory table. | 465 // Enables StatsTable, logging statistics to a global named shared memory table. |
| 466 const char kEnableStatsTable[] = "enable-stats-table"; | 466 const char kEnableStatsTable[] = "enable-stats-table"; |
| 467 | 467 |
| 468 // Experimentally ensures that each renderer process: | 468 // Experimentally ensures that each renderer process: |
| 469 // 1) Only handles rendering for pages from a single site, apart from iframes. | 469 // 1) Only handles rendering for pages from a single site, apart from iframes. |
| 470 // (Note that a page can reference content from multiple origins due to images, | 470 // (Note that a page can reference content from multiple origins due to images, |
| 471 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) | 471 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) |
| 472 // 2) Only has authority to see or use cookies for the page's top-level origin. | 472 // 2) Only has authority to see or use cookies for the page's top-level origin. |
| 473 // (So if a.com iframes b.com, the b.com network request will be sent without | 473 // (So if a.com iframes b.com, the b.com network request will be sent without |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 // Enable the Win32K process mitigation policy for renderer processes which | 954 // Enable the Win32K process mitigation policy for renderer processes which |
| 955 // prevents them from invoking user32 and gdi32 system calls which enter | 955 // prevents them from invoking user32 and gdi32 system calls which enter |
| 956 // the kernel. This is only supported on Windows 8 and beyond. | 956 // the kernel. This is only supported on Windows 8 and beyond. |
| 957 const char kEnableWin32kRendererLockDown[] | 957 const char kEnableWin32kRendererLockDown[] |
| 958 = "enable_win32k_renderer_lockdown"; | 958 = "enable_win32k_renderer_lockdown"; |
| 959 #endif | 959 #endif |
| 960 | 960 |
| 961 // Don't dump stuff here, follow the same order as the header. | 961 // Don't dump stuff here, follow the same order as the header. |
| 962 | 962 |
| 963 } // namespace switches | 963 } // namespace switches |
| OLD | NEW |