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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
374 // Enable rasterizer that writes directly to GPU memory. | 374 // Enable rasterizer that writes directly to GPU memory. |
375 const char kEnableOneCopy[] = "enable-one-copy"; | 375 const char kEnableOneCopy[] = "enable-one-copy"; |
376 | 376 |
377 // Enables use of hardware overlay for fullscreen video playback. Android only. | 377 // Enables use of hardware overlay for fullscreen video playback. Android only. |
378 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 378 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
379 | 379 |
380 // Disables blink subtitle and media control on top of overlay fullscreen video. | 380 // Disables blink subtitle and media control on top of overlay fullscreen video. |
381 const char kDisableOverlayFullscreenVideoSubtitle[] = | 381 const char kDisableOverlayFullscreenVideoSubtitle[] = |
382 "disable-overlay-fullscreen-video-subtitle"; | 382 "disable-overlay-fullscreen-video-subtitle"; |
383 | 383 |
384 // Enable the PowerSaveBlocker in ContentVideoView. Android only. | |
385 const char kEnableContentVideoViewPowerSaveBlocker[] = | |
386 "enable-content-video-view-power-save-blocker"; | |
Avi (use Gerrit)
2014/09/25 15:24:58
Platform-specific switches go at the end inside th
Ignacio Solla
2014/09/25 15:38:03
Done.
| |
387 | |
384 // Forward overscroll event data from the renderer to the browser. | 388 // Forward overscroll event data from the renderer to the browser. |
385 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 389 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
386 | 390 |
387 // Enables compositor-accelerated touch-screen pinch gestures. | 391 // Enables compositor-accelerated touch-screen pinch gestures. |
388 const char kEnablePinch[] = "enable-pinch"; | 392 const char kEnablePinch[] = "enable-pinch"; |
389 | 393 |
390 // Make the values returned to window.performance.memory more granular and more | 394 // Make the values returned to window.performance.memory more granular and more |
391 // up to date in shared worker. Without this flag, the memory information is | 395 // up to date in shared worker. Without this flag, the memory information is |
392 // still available, but it is bucketized and updated less frequently. This flag | 396 // still available, but it is bucketized and updated less frequently. This flag |
393 // also applys to workers. | 397 // also applys to workers. |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
942 // Enable the Win32K process mitigation policy for renderer processes which | 946 // Enable the Win32K process mitigation policy for renderer processes which |
943 // prevents them from invoking user32 and gdi32 system calls which enter | 947 // prevents them from invoking user32 and gdi32 system calls which enter |
944 // the kernel. This is only supported on Windows 8 and beyond. | 948 // the kernel. This is only supported on Windows 8 and beyond. |
945 const char kEnableWin32kRendererLockDown[] | 949 const char kEnableWin32kRendererLockDown[] |
946 = "enable_win32k_renderer_lockdown"; | 950 = "enable_win32k_renderer_lockdown"; |
947 #endif | 951 #endif |
948 | 952 |
949 // Don't dump stuff here, follow the same order as the header. | 953 // Don't dump stuff here, follow the same order as the header. |
950 | 954 |
951 } // namespace switches | 955 } // namespace switches |
OLD | NEW |