[email protected] | 7dfb6960 | 2012-02-17 00:29:01 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 3d2c6fb | 2011-07-06 22:26:45 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 4 | |
5 | #include "ui/base/ui_base_switches.h" | ||||
6 | |||||
7 | namespace switches { | ||||
8 | |||||
[email protected] | efe4d0a | 2014-03-04 01:06:32 | [diff] [blame] | 9 | #if defined(OS_MACOSX) && !defined(OS_IOS) |
[email protected] | 5693a6cb | 2014-08-15 09:41:13 | [diff] [blame] | 10 | // Enable use of cross-process CALayers to display content directly from the |
11 | // GPU process on Mac. | ||||
12 | const char kEnableRemoteCoreAnimation[] = "enable-remote-core-animation"; | ||||
[email protected] | efe4d0a | 2014-03-04 01:06:32 | [diff] [blame] | 13 | #endif |
14 | |||||
[email protected] | 0a2703fd | 2013-04-12 16:14:08 | [diff] [blame] | 15 | // Disables use of DWM composition for top level windows. |
16 | const char kDisableDwmComposition[] = "disable-dwm-composition"; | ||||
17 | |||||
[email protected] | 8f374ce | 2014-05-08 23:51:52 | [diff] [blame] | 18 | // Disables an experimental focus manager to track text input clients. |
19 | const char kDisableTextInputFocusManager[] = "disable-text-input-focus-manager"; | ||||
20 | |||||
[email protected] | 6247aba | 2013-03-04 22:57:18 | [diff] [blame] | 21 | // Disables touch adjustment. |
[email protected] | 2d481774 | 2012-12-17 20:16:18 | [diff] [blame] | 22 | const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; |
23 | |||||
[email protected] | 1400e6dc | 2013-04-27 02:36:27 | [diff] [blame] | 24 | // Disables touch event based drag and drop. |
25 | const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; | ||||
26 | |||||
27 | // Disables controls that support touch base text editing. | ||||
28 | const char kDisableTouchEditing[] = "disable-touch-editing"; | ||||
29 | |||||
[email protected] | 8f374ce | 2014-05-08 23:51:52 | [diff] [blame] | 30 | // Enables an experimental focus manager to track text input clients. |
31 | const char kEnableTextInputFocusManager[] = "enable-text-input-focus-manager"; | ||||
32 | |||||
[email protected] | 1400e6dc | 2013-04-27 02:36:27 | [diff] [blame] | 33 | // Enables touch event based drag and drop. |
[email protected] | 2d481774 | 2012-12-17 20:16:18 | [diff] [blame] | 34 | const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; |
[email protected] | b9c96ff | 2012-11-26 22:24:40 | [diff] [blame] | 35 | |
[email protected] | b74323e | 2013-02-15 21:55:31 | [diff] [blame] | 36 | // Enables controls that support touch base text editing. |
37 | const char kEnableTouchEditing[] = "enable-touch-editing"; | ||||
38 | |||||
[email protected] | 3455af4e | 2012-03-12 15:35:12 | [diff] [blame] | 39 | // The language file that we want to try to open. Of the form |
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 40 | // language[-country] where language is the 2 letter code from ISO-639. |
[email protected] | f463cd4 | 2012-05-09 16:05:15 | [diff] [blame] | 41 | const char kLang[] = "lang"; |
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 42 | |
[email protected] | 3455af4e | 2012-03-12 15:35:12 | [diff] [blame] | 43 | // Disable ui::MessageBox. This is useful when running as part of scripts that |
44 | // do not have a user interface. | ||||
[email protected] | f463cd4 | 2012-05-09 16:05:15 | [diff] [blame] | 45 | const char kNoMessageBox[] = "no-message-box"; |
[email protected] | 3455af4e | 2012-03-12 15:35:12 | [diff] [blame] | 46 | |
luken | 862c178 | 2014-09-04 05:34:46 | [diff] [blame^] | 47 | // On Windows only: requests that Chrome connect to the running Metro viewer |
48 | // process. | ||||
49 | const char kViewerConnect[] = "connect-to-metro-viewer"; | ||||
50 | |||||
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 51 | } // namespace switches |