| 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 | 373 |
| 374 // Enables the network information API. | 374 // Enables the network information API. |
| 375 const char kEnableNetworkInformation[] = "enable-network-information"; | 375 const char kEnableNetworkInformation[] = "enable-network-information"; |
| 376 | 376 |
| 377 // Enable rasterizer that writes directly to GPU memory. | 377 // Enable rasterizer that writes directly to GPU memory. |
| 378 const char kEnableOneCopy[] = "enable-one-copy"; | 378 const char kEnableOneCopy[] = "enable-one-copy"; |
| 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 // Disables blink subtitle and media control on top of overlay fullscreen video. | |
| 384 const char kDisableOverlayFullscreenVideoSubtitle[] = | |
| 385 "disable-overlay-fullscreen-video-subtitle"; | |
| 386 | |
| 387 // Forward overscroll event data from the renderer to the browser. | 383 // Forward overscroll event data from the renderer to the browser. |
| 388 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 384 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 389 | 385 |
| 390 // Enables compositor-accelerated touch-screen pinch gestures. | 386 // Enables compositor-accelerated touch-screen pinch gestures. |
| 391 const char kEnablePinch[] = "enable-pinch"; | 387 const char kEnablePinch[] = "enable-pinch"; |
| 392 | 388 |
| 393 // Make the values returned to window.performance.memory more granular and more | 389 // Make the values returned to window.performance.memory more granular and more |
| 394 // up to date in shared worker. Without this flag, the memory information is | 390 // up to date in shared worker. Without this flag, the memory information is |
| 395 // still available, but it is bucketized and updated less frequently. This flag | 391 // still available, but it is bucketized and updated less frequently. This flag |
| 396 // also applys to workers. | 392 // also applys to workers. |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 // Enable the Win32K process mitigation policy for renderer processes which | 945 // Enable the Win32K process mitigation policy for renderer processes which |
| 950 // prevents them from invoking user32 and gdi32 system calls which enter | 946 // prevents them from invoking user32 and gdi32 system calls which enter |
| 951 // the kernel. This is only supported on Windows 8 and beyond. | 947 // the kernel. This is only supported on Windows 8 and beyond. |
| 952 const char kEnableWin32kRendererLockDown[] | 948 const char kEnableWin32kRendererLockDown[] |
| 953 = "enable_win32k_renderer_lockdown"; | 949 = "enable_win32k_renderer_lockdown"; |
| 954 #endif | 950 #endif |
| 955 | 951 |
| 956 // Don't dump stuff here, follow the same order as the header. | 952 // Don't dump stuff here, follow the same order as the header. |
| 957 | 953 |
| 958 } // namespace switches | 954 } // namespace switches |
| OLD | NEW |