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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 | 379 |
380 // Enables use of hardware overlay for fullscreen video playback. Android only. | 380 // Enables use of hardware overlay for fullscreen video playback. Android only. |
381 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 381 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
382 | 382 |
383 // Forward overscroll event data from the renderer to the browser. | 383 // Forward overscroll event data from the renderer to the browser. |
384 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 384 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
385 | 385 |
386 // Enables compositor-accelerated touch-screen pinch gestures. | 386 // Enables compositor-accelerated touch-screen pinch gestures. |
387 const char kEnablePinch[] = "enable-pinch"; | 387 const char kEnablePinch[] = "enable-pinch"; |
388 | 388 |
| 389 // Enables the plugin power saver feature. |
| 390 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 391 |
389 // Make the values returned to window.performance.memory more granular and more | 392 // Make the values returned to window.performance.memory more granular and more |
390 // up to date in shared worker. Without this flag, the memory information is | 393 // up to date in shared worker. Without this flag, the memory information is |
391 // still available, but it is bucketized and updated less frequently. This flag | 394 // still available, but it is bucketized and updated less frequently. This flag |
392 // also applys to workers. | 395 // also applys to workers. |
393 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 396 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
394 | 397 |
395 // Set options to cache V8 data. (off, preparse data, or code) | 398 // Set options to cache V8 data. (off, preparse data, or code) |
396 const char kV8CacheOptions[] = "v8-cache-options"; | 399 const char kV8CacheOptions[] = "v8-cache-options"; |
397 | 400 |
398 // Enables the CSS multicol implementation that uses the regions implementation. | 401 // Enables the CSS multicol implementation that uses the regions implementation. |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 // Enable the Win32K process mitigation policy for renderer processes which | 948 // Enable the Win32K process mitigation policy for renderer processes which |
946 // prevents them from invoking user32 and gdi32 system calls which enter | 949 // prevents them from invoking user32 and gdi32 system calls which enter |
947 // the kernel. This is only supported on Windows 8 and beyond. | 950 // the kernel. This is only supported on Windows 8 and beyond. |
948 const char kEnableWin32kRendererLockDown[] | 951 const char kEnableWin32kRendererLockDown[] |
949 = "enable_win32k_renderer_lockdown"; | 952 = "enable_win32k_renderer_lockdown"; |
950 #endif | 953 #endif |
951 | 954 |
952 // Don't dump stuff here, follow the same order as the header. | 955 // Don't dump stuff here, follow the same order as the header. |
953 | 956 |
954 } // namespace switches | 957 } // namespace switches |
OLD | NEW |