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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 // Enables TLS cached info extension. | 358 // Enables TLS cached info extension. |
359 const char kEnableSSLCachedInfo[] = "enable-ssl-cached-info"; | 359 const char kEnableSSLCachedInfo[] = "enable-ssl-cached-info"; |
360 | 360 |
361 // Cause the OS X sandbox write to syslog every time an access to a resource | 361 // Cause the OS X sandbox write to syslog every time an access to a resource |
362 // is denied by the sandbox. | 362 // is denied by the sandbox. |
363 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; | 363 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; |
364 | 364 |
365 // Enable the seccomp sandbox (Linux only) | 365 // Enable the seccomp sandbox (Linux only) |
366 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; | 366 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; |
367 | 367 |
| 368 // Enable spatial navigation |
| 369 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; |
| 370 |
368 // On platforms that support it, enables smooth scroll animation. | 371 // On platforms that support it, enables smooth scroll animation. |
369 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 372 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
370 | 373 |
371 // Enables StatsTable, logging statistics to a global named shared memory table. | 374 // Enables StatsTable, logging statistics to a global named shared memory table. |
372 const char kEnableStatsTable[] = "enable-stats-table"; | 375 const char kEnableStatsTable[] = "enable-stats-table"; |
373 | 376 |
374 // Experimentally ensures that each renderer process: | 377 // Experimentally ensures that each renderer process: |
375 // 1) Only handles rendering for pages from a single site, apart from iframes. | 378 // 1) Only handles rendering for pages from a single site, apart from iframes. |
376 // (Note that a page can reference content from multiple origins due to images, | 379 // (Note that a page can reference content from multiple origins due to images, |
377 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) | 380 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
767 | 770 |
768 // Use a vsync signal from the browser to the renderer to schedule rendering. | 771 // Use a vsync signal from the browser to the renderer to schedule rendering. |
769 const char kEnableVsyncNotification[] = "enable-vsync-notification"; | 772 const char kEnableVsyncNotification[] = "enable-vsync-notification"; |
770 | 773 |
771 // Enables history navigation in response to horizontal overscroll. | 774 // Enables history navigation in response to horizontal overscroll. |
772 const char kEnableOverscrollHistoryNavigation[] = | 775 const char kEnableOverscrollHistoryNavigation[] = |
773 "enable-overscroll-history-navigation"; | 776 "enable-overscroll-history-navigation"; |
774 | 777 |
775 } // namespace switches | 778 } // namespace switches |
OLD | NEW |