blob: db9c27452eee0c78f9c2b3abc0f2127d4566a692 [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
shuchencb0b7552015-10-08 18:43:0722#if defined(OS_WIN)
23// Disables merging the key event (WM_KEY*) with the char event (WM_CHAR).
24const char kDisableMergeKeyCharEvents[] = "disable-merge-key-char-events";
25
26// Enables merging the key event (WM_KEY*) with the char event (WM_CHAR).
27const char kEnableMergeKeyCharEvents[] = "enable-merge-key-char-events";
28#endif
29
[email protected]0a2703fd2013-04-12 16:14:0830// Disables use of DWM composition for top level windows.
31const char kDisableDwmComposition[] = "disable-dwm-composition";
32
huangsab0231752015-04-02 21:43:0033// Disables large icons on the New Tab page.
34const char kDisableIconNtp[] = "disable-icon-ntp";
35
[email protected]6247aba2013-03-04 22:57:1836// Disables touch adjustment.
[email protected]2d4817742012-12-17 20:16:1837const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
38
[email protected]1400e6dc2013-04-27 02:36:2739// Disables touch event based drag and drop.
40const char kDisableTouchDragDrop[] = "disable-touch-drag-drop";
41
jonrossd24d766f2014-12-01 23:55:3042// Disables additional visual feedback to touch input.
43const char kDisableTouchFeedback[] = "disable-touch-feedback";
44
huangsab0231752015-04-02 21:43:0045// Enables large icons on the New Tab page.
46const char kEnableIconNtp[] = "enable-icon-ntp";
47
luken30ef5622014-11-24 19:37:5548// Enables a zoomed popup bubble that allows the user to select a link.
49const char kEnableLinkDisambiguationPopup[] =
50 "enable-link-disambiguation-popup";
51
[email protected]1400e6dc2013-04-27 02:36:2752// Enables touch event based drag and drop.
[email protected]2d4817742012-12-17 20:16:1853const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
[email protected]b9c96ff2012-11-26 22:24:4054
[email protected]3455af4e2012-03-12 15:35:1255// The language file that we want to try to open. Of the form
[email protected]42ce29d2011-01-20 23:19:4656// language[-country] where language is the 2 letter code from ISO-639.
[email protected]f463cd42012-05-09 16:05:1557const char kLang[] = "lang";
[email protected]42ce29d2011-01-20 23:19:4658
jonross114d7c42015-07-16 17:42:2359// Defines the speed of Material Design visual feedback animations.
60const char kMaterialDesignInkDropAnimationSpeed[] =
61 "material-design-ink-drop-animation-speed";
62
63// Defines that Material Design visual feedback animations should be fast.
64const char kMaterialDesignInkDropAnimationSpeedFast[] = "fast";
65
66// Defines that Material Design visual feedback animations should be slow.
67const char kMaterialDesignInkDropAnimationSpeedSlow[] = "slow";
68
bruthig0d89d6a2015-06-26 19:37:4969#if defined(ENABLE_TOPCHROME_MD)
70// Enables top Chrome material design elements.
71const char kTopChromeMD[] = "top-chrome-md";
72
73// Material design mode for the |kTopChromeMD| switch.
74const char kTopChromeMDMaterial[] = "material";
75
76// Material design hybrid mode for the |kTopChromeMD| switch. Targeted for
77// mouse/touch hybrid devices.
78const char kTopChromeMDMaterialHybrid[] = "material-hybrid";
79
80// Classic, non-material, mode for the |kTopChromeMD| switch.
81const char kTopChromeMDNonMaterial[] = "";
82#endif // defined(ENABLE_TOPCHROME_MD)
83
luken862c1782014-09-04 05:34:4684// On Windows only: requests that Chrome connect to the running Metro viewer
85// process.
86const char kViewerConnect[] = "connect-to-metro-viewer";
87
[email protected]42ce29d2011-01-20 23:19:4688} // namespace switches