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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "ui/base/ui_base_switches.h" | 6 #include "ui/base/ui_base_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 #if defined(OS_MACOSX) && !defined(OS_IOS) | 10 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 11 // Disable use of AVFoundation to draw video content. |
| 12 const char kDisableAVFoundationOverlays[] = "disable-avfoundation-overlays"; |
| 13 |
11 // Fall back to using CAOpenGLLayers display content, instead of the IOSurface | 14 // Fall back to using CAOpenGLLayers display content, instead of the IOSurface |
12 // based overlay display path. | 15 // based overlay display path. |
13 const char kDisableMacOverlays[] = "disable-mac-overlays"; | 16 const char kDisableMacOverlays[] = "disable-mac-overlays"; |
14 | 17 |
15 // Disable use of cross-process CALayers to display content directly from the | 18 // Disable use of cross-process CALayers to display content directly from the |
16 // GPU process on Mac. | 19 // GPU process on Mac. |
17 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation"; | 20 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation"; |
18 | 21 |
19 // Show borders around CALayers corresponding to overlays and partial damage. | 22 // Show borders around CALayers corresponding to overlays and partial damage. |
20 const char kShowMacOverlayBorders[] = "show-mac-overlay-borders"; | 23 const char kShowMacOverlayBorders[] = "show-mac-overlay-borders"; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // Use new window behavior for virtual keyboard (do not change work area in | 79 // Use new window behavior for virtual keyboard (do not change work area in |
77 // non-sticky mode). | 80 // non-sticky mode). |
78 const char kUseNewVirtualKeyboardBehavior[] = | 81 const char kUseNewVirtualKeyboardBehavior[] = |
79 "use-new-virtual-keyboard-behavior"; | 82 "use-new-virtual-keyboard-behavior"; |
80 | 83 |
81 // Applies the material design mode passed via --top-chrome-md to elements | 84 // Applies the material design mode passed via --top-chrome-md to elements |
82 // throughout Chrome (not just top Chrome). | 85 // throughout Chrome (not just top Chrome). |
83 const char kExtendMdToSecondaryUi[] = "secondary-ui-md"; | 86 const char kExtendMdToSecondaryUi[] = "secondary-ui-md"; |
84 | 87 |
85 } // namespace switches | 88 } // namespace switches |
OLD | NEW |