Adding wrapper class WKBackForwardListItemHolder
[chromium-blink-merge.git] / ui / base / ui_base_switches.cc
blob08a260937be1ddb0aaa79e96cc1e85a7c2606e73
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
3 // found in the LICENSE file.
5 #include "ui/base/ui_base_switches.h"
7 namespace switches {
9 #if defined(OS_MACOSX) && !defined(OS_IOS)
10 // Disable use of cross-process CALayers to display content directly from the
11 // GPU process on Mac.
12 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation";
14 // Disable using the private NSCGLSurface API to draw content.
15 const char kDisableNSCGLSurfaceApi[] = "disable-ns-cgl-surface-api";
17 // Force all content to draw via the private NSCGLSurface API, even when there
18 // exist performance, stability, or correctness reasons not to.
19 const char kForceNSCGLSurfaceApi[] = "force-ns-cgl-surface-api";
20 #endif
22 // Disables use of DWM composition for top level windows.
23 const char kDisableDwmComposition[] = "disable-dwm-composition";
25 // Disables large icons on the New Tab page.
26 const char kDisableIconNtp[] = "disable-icon-ntp";
28 // Disables touch adjustment.
29 const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
31 // Disables touch event based drag and drop.
32 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop";
34 // Disables controls that support touch base text editing.
35 const char kDisableTouchEditing[] = "disable-touch-editing";
37 // Disables additional visual feedback to touch input.
38 const char kDisableTouchFeedback[] = "disable-touch-feedback";
40 // Enables large icons on the New Tab page.
41 const char kEnableIconNtp[] = "enable-icon-ntp";
43 // Enables a zoomed popup bubble that allows the user to select a link.
44 const char kEnableLinkDisambiguationPopup[] =
45 "enable-link-disambiguation-popup";
47 // Enables touch event based drag and drop.
48 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
50 // Enables controls that support touch base text editing.
51 const char kEnableTouchEditing[] = "enable-touch-editing";
53 // The language file that we want to try to open. Of the form
54 // language[-country] where language is the 2 letter code from ISO-639.
55 const char kLang[] = "lang";
57 // Defines the Material Design visual feedback shape.
58 const char kMaterialDesignInkDrop[] = "material-design-ink-drop";
60 // Defines the Material Design visual feedback as a circle.
61 const char kMaterialDesignInkDropCircle[] = "circle";
63 // Defines the Material Design visual feedback as a sqaure.
64 const char kMaterialDesignInkDropSquare[] = "square";
66 // Defines the speed of Material Design visual feedback animations.
67 const char kMaterialDesignInkDropAnimationSpeed[] =
68 "material-design-ink-drop-animation-speed";
70 // Defines that Material Design visual feedback animations should be fast.
71 const char kMaterialDesignInkDropAnimationSpeedFast[] = "fast";
73 // Defines that Material Design visual feedback animations should be slow.
74 const char kMaterialDesignInkDropAnimationSpeedSlow[] = "slow";
76 #if defined(ENABLE_TOPCHROME_MD)
77 // Enables top Chrome material design elements.
78 const char kTopChromeMD[] = "top-chrome-md";
80 // Material design mode for the |kTopChromeMD| switch.
81 const char kTopChromeMDMaterial[] = "material";
83 // Material design hybrid mode for the |kTopChromeMD| switch. Targeted for
84 // mouse/touch hybrid devices.
85 const char kTopChromeMDMaterialHybrid[] = "material-hybrid";
87 // Classic, non-material, mode for the |kTopChromeMD| switch.
88 const char kTopChromeMDNonMaterial[] = "";
89 #endif // defined(ENABLE_TOPCHROME_MD)
91 // On Windows only: requests that Chrome connect to the running Metro viewer
92 // process.
93 const char kViewerConnect[] = "connect-to-metro-viewer";
95 } // namespace switches