blob: ef5bf90c2d6f9bfc15832244dcfd56b1aaf41fbb [file] [log] [blame]
[email protected]7dfb69602012-02-17 00:29:011// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]3d2c6fb2011-07-06 22:26:452// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
[email protected]42ce29d2011-01-20 23:19:464
5#include "ui/base/ui_base_switches.h"
6
7namespace switches {
8
[email protected]efe4d0a2014-03-04 01:06:329#if defined(OS_MACOSX) && !defined(OS_IOS)
ccameronbc001ff92015-08-04 08:06:3610// Fall back to using CAOpenGLLayers display content, instead of the IOSurface
11// based overlay display path.
12const char kDisableMacOverlays[] = "disable-mac-overlays";
13
ccameron15f6a5252015-06-16 10:33:5014// Disable use of cross-process CALayers to display content directly from the
[email protected]5693a6cb2014-08-15 09:41:1315// GPU process on Mac.
ccameron21d3def092014-10-10 23:45:5516const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation";
[email protected]efe4d0a2014-03-04 01:06:3217#endif
18
[email protected]0a2703fd2013-04-12 16:14:0819// Disables use of DWM composition for top level windows.
20const char kDisableDwmComposition[] = "disable-dwm-composition";
21
huangsab0231752015-04-02 21:43:0022// Disables large icons on the New Tab page.
23const char kDisableIconNtp[] = "disable-icon-ntp";
24
[email protected]6247aba2013-03-04 22:57:1825// Disables touch adjustment.
[email protected]2d4817742012-12-17 20:16:1826const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
27
[email protected]1400e6dc2013-04-27 02:36:2728// Disables touch event based drag and drop.
29const char kDisableTouchDragDrop[] = "disable-touch-drag-drop";
30
31// Disables controls that support touch base text editing.
32const char kDisableTouchEditing[] = "disable-touch-editing";
33
jonrossd24d766f2014-12-01 23:55:3034// Disables additional visual feedback to touch input.
35const char kDisableTouchFeedback[] = "disable-touch-feedback";
36
huangsab0231752015-04-02 21:43:0037// Enables large icons on the New Tab page.
38const char kEnableIconNtp[] = "enable-icon-ntp";
39
luken30ef5622014-11-24 19:37:5540// Enables a zoomed popup bubble that allows the user to select a link.
41const char kEnableLinkDisambiguationPopup[] =
42 "enable-link-disambiguation-popup";
43
[email protected]1400e6dc2013-04-27 02:36:2744// Enables touch event based drag and drop.
[email protected]2d4817742012-12-17 20:16:1845const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
[email protected]b9c96ff2012-11-26 22:24:4046
[email protected]b74323e2013-02-15 21:55:3147// Enables controls that support touch base text editing.
48const char kEnableTouchEditing[] = "enable-touch-editing";
49
[email protected]3455af4e2012-03-12 15:35:1250// The language file that we want to try to open. Of the form
[email protected]42ce29d2011-01-20 23:19:4651// language[-country] where language is the 2 letter code from ISO-639.
[email protected]f463cd42012-05-09 16:05:1552const char kLang[] = "lang";
[email protected]42ce29d2011-01-20 23:19:4653
jonross114d7c42015-07-16 17:42:2354// Defines the Material Design visual feedback shape.
55const char kMaterialDesignInkDrop[] = "material-design-ink-drop";
56
57// Defines the Material Design visual feedback as a circle.
58const char kMaterialDesignInkDropCircle[] = "circle";
59
60// Defines the Material Design visual feedback as a sqaure.
61const char kMaterialDesignInkDropSquare[] = "square";
62
63// Defines the speed of Material Design visual feedback animations.
64const char kMaterialDesignInkDropAnimationSpeed[] =
65 "material-design-ink-drop-animation-speed";
66
67// Defines that Material Design visual feedback animations should be fast.
68const char kMaterialDesignInkDropAnimationSpeedFast[] = "fast";
69
70// Defines that Material Design visual feedback animations should be slow.
71const char kMaterialDesignInkDropAnimationSpeedSlow[] = "slow";
72
bruthig0d89d6a2015-06-26 19:37:4973#if defined(ENABLE_TOPCHROME_MD)
74// Enables top Chrome material design elements.
75const char kTopChromeMD[] = "top-chrome-md";
76
77// Material design mode for the |kTopChromeMD| switch.
78const char kTopChromeMDMaterial[] = "material";
79
80// Material design hybrid mode for the |kTopChromeMD| switch. Targeted for
81// mouse/touch hybrid devices.
82const char kTopChromeMDMaterialHybrid[] = "material-hybrid";
83
84// Classic, non-material, mode for the |kTopChromeMD| switch.
85const char kTopChromeMDNonMaterial[] = "";
86#endif // defined(ENABLE_TOPCHROME_MD)
87
luken862c1782014-09-04 05:34:4688// On Windows only: requests that Chrome connect to the running Metro viewer
89// process.
90const char kViewerConnect[] = "connect-to-metro-viewer";
91
[email protected]42ce29d2011-01-20 23:19:4692} // namespace switches