Durable Storage: Refactor browser test and test the basic "deny" flow.
[chromium-blink-merge.git] / ui / base / ui_base_switches.cc
blobef5bf90c2d6f9bfc15832244dcfd56b1aaf41fbb
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 // Fall back to using CAOpenGLLayers display content, instead of the IOSurface
11 // based overlay display path.
12 const char kDisableMacOverlays[] = "disable-mac-overlays";
14 // Disable use of cross-process CALayers to display content directly from the
15 // GPU process on Mac.
16 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation";
17 #endif
19 // Disables use of DWM composition for top level windows.
20 const char kDisableDwmComposition[] = "disable-dwm-composition";
22 // Disables large icons on the New Tab page.
23 const char kDisableIconNtp[] = "disable-icon-ntp";
25 // Disables touch adjustment.
26 const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
28 // Disables touch event based drag and drop.
29 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop";
31 // Disables controls that support touch base text editing.
32 const char kDisableTouchEditing[] = "disable-touch-editing";
34 // Disables additional visual feedback to touch input.
35 const char kDisableTouchFeedback[] = "disable-touch-feedback";
37 // Enables large icons on the New Tab page.
38 const char kEnableIconNtp[] = "enable-icon-ntp";
40 // Enables a zoomed popup bubble that allows the user to select a link.
41 const char kEnableLinkDisambiguationPopup[] =
42 "enable-link-disambiguation-popup";
44 // Enables touch event based drag and drop.
45 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
47 // Enables controls that support touch base text editing.
48 const char kEnableTouchEditing[] = "enable-touch-editing";
50 // The language file that we want to try to open. Of the form
51 // language[-country] where language is the 2 letter code from ISO-639.
52 const char kLang[] = "lang";
54 // Defines the Material Design visual feedback shape.
55 const char kMaterialDesignInkDrop[] = "material-design-ink-drop";
57 // Defines the Material Design visual feedback as a circle.
58 const char kMaterialDesignInkDropCircle[] = "circle";
60 // Defines the Material Design visual feedback as a sqaure.
61 const char kMaterialDesignInkDropSquare[] = "square";
63 // Defines the speed of Material Design visual feedback animations.
64 const char kMaterialDesignInkDropAnimationSpeed[] =
65 "material-design-ink-drop-animation-speed";
67 // Defines that Material Design visual feedback animations should be fast.
68 const char kMaterialDesignInkDropAnimationSpeedFast[] = "fast";
70 // Defines that Material Design visual feedback animations should be slow.
71 const char kMaterialDesignInkDropAnimationSpeedSlow[] = "slow";
73 #if defined(ENABLE_TOPCHROME_MD)
74 // Enables top Chrome material design elements.
75 const char kTopChromeMD[] = "top-chrome-md";
77 // Material design mode for the |kTopChromeMD| switch.
78 const char kTopChromeMDMaterial[] = "material";
80 // Material design hybrid mode for the |kTopChromeMD| switch. Targeted for
81 // mouse/touch hybrid devices.
82 const char kTopChromeMDMaterialHybrid[] = "material-hybrid";
84 // Classic, non-material, mode for the |kTopChromeMD| switch.
85 const char kTopChromeMDNonMaterial[] = "";
86 #endif // defined(ENABLE_TOPCHROME_MD)
88 // On Windows only: requests that Chrome connect to the running Metro viewer
89 // process.
90 const char kViewerConnect[] = "connect-to-metro-viewer";
92 } // namespace switches