blob: ec818daa7275881b7d8251dfbb8bce9582343118 [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";
ccameron469fd3d2015-08-21 00:36:5917
18// Show borders around CALayers corresponding to overlays and partial damage.
19const char kShowMacOverlayBorders[] = "show-mac-overlay-borders";
[email protected]efe4d0a2014-03-04 01:06:3220#endif
21
[email protected]0a2703fd2013-04-12 16:14:0822// Disables use of DWM composition for top level windows.
23const char kDisableDwmComposition[] = "disable-dwm-composition";
24
huangsab0231752015-04-02 21:43:0025// Disables large icons on the New Tab page.
26const char kDisableIconNtp[] = "disable-icon-ntp";
27
[email protected]6247aba2013-03-04 22:57:1828// Disables touch adjustment.
[email protected]2d4817742012-12-17 20:16:1829const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
30
[email protected]1400e6dc2013-04-27 02:36:2731// Disables touch event based drag and drop.
32const char kDisableTouchDragDrop[] = "disable-touch-drag-drop";
33
34// Disables controls that support touch base text editing.
35const char kDisableTouchEditing[] = "disable-touch-editing";
36
jonrossd24d766f2014-12-01 23:55:3037// Disables additional visual feedback to touch input.
38const char kDisableTouchFeedback[] = "disable-touch-feedback";
39
huangsab0231752015-04-02 21:43:0040// Enables large icons on the New Tab page.
41const char kEnableIconNtp[] = "enable-icon-ntp";
42
luken30ef5622014-11-24 19:37:5543// Enables a zoomed popup bubble that allows the user to select a link.
44const char kEnableLinkDisambiguationPopup[] =
45 "enable-link-disambiguation-popup";
46
[email protected]1400e6dc2013-04-27 02:36:2747// Enables touch event based drag and drop.
[email protected]2d4817742012-12-17 20:16:1848const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
[email protected]b9c96ff2012-11-26 22:24:4049
[email protected]b74323e2013-02-15 21:55:3150// Enables controls that support touch base text editing.
51const char kEnableTouchEditing[] = "enable-touch-editing";
52
[email protected]3455af4e2012-03-12 15:35:1253// The language file that we want to try to open. Of the form
[email protected]42ce29d2011-01-20 23:19:4654// language[-country] where language is the 2 letter code from ISO-639.
[email protected]f463cd42012-05-09 16:05:1555const char kLang[] = "lang";
[email protected]42ce29d2011-01-20 23:19:4656
jonross114d7c42015-07-16 17:42:2357// Defines the Material Design visual feedback shape.
58const char kMaterialDesignInkDrop[] = "material-design-ink-drop";
59
60// Defines the Material Design visual feedback as a circle.
61const char kMaterialDesignInkDropCircle[] = "circle";
62
63// Defines the Material Design visual feedback as a sqaure.
64const char kMaterialDesignInkDropSquare[] = "square";
65
66// Defines the speed of Material Design visual feedback animations.
67const char kMaterialDesignInkDropAnimationSpeed[] =
68 "material-design-ink-drop-animation-speed";
69
70// Defines that Material Design visual feedback animations should be fast.
71const char kMaterialDesignInkDropAnimationSpeedFast[] = "fast";
72
73// Defines that Material Design visual feedback animations should be slow.
74const char kMaterialDesignInkDropAnimationSpeedSlow[] = "slow";
75
bruthig0d89d6a2015-06-26 19:37:4976#if defined(ENABLE_TOPCHROME_MD)
77// Enables top Chrome material design elements.
78const char kTopChromeMD[] = "top-chrome-md";
79
80// Material design mode for the |kTopChromeMD| switch.
81const char kTopChromeMDMaterial[] = "material";
82
83// Material design hybrid mode for the |kTopChromeMD| switch. Targeted for
84// mouse/touch hybrid devices.
85const char kTopChromeMDMaterialHybrid[] = "material-hybrid";
86
87// Classic, non-material, mode for the |kTopChromeMD| switch.
88const char kTopChromeMDNonMaterial[] = "";
89#endif // defined(ENABLE_TOPCHROME_MD)
90
luken862c1782014-09-04 05:34:4691// On Windows only: requests that Chrome connect to the running Metro viewer
92// process.
93const char kViewerConnect[] = "connect-to-metro-viewer";
94
[email protected]42ce29d2011-01-20 23:19:4695} // namespace switches