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"
9 #if defined(OS_MACOSX) && !defined(OS_IOS)
10 // Enable use of cross-process CALayers to display content directly from the
11 // GPU process on Mac.
12 const char kDisableRemoteCoreAnimation
[] = "disable-remote-core-animation";
15 // Disables use of DWM composition for top level windows.
16 const char kDisableDwmComposition
[] = "disable-dwm-composition";
18 // Disables large icons on the New Tab page.
19 const char kDisableIconNtp
[] = "disable-icon-ntp";
21 // Disables an experimental focus manager to track text input clients.
22 const char kDisableTextInputFocusManager
[] = "disable-text-input-focus-manager";
24 // Disables touch adjustment.
25 const char kDisableTouchAdjustment
[] = "disable-touch-adjustment";
27 // Disables touch event based drag and drop.
28 const char kDisableTouchDragDrop
[] = "disable-touch-drag-drop";
30 // Disables controls that support touch base text editing.
31 const char kDisableTouchEditing
[] = "disable-touch-editing";
33 // Disables additional visual feedback to touch input.
34 const char kDisableTouchFeedback
[] = "disable-touch-feedback";
36 // Enables large icons on the New Tab page.
37 const char kEnableIconNtp
[] = "enable-icon-ntp";
39 // Enables a zoomed popup bubble that allows the user to select a link.
40 const char kEnableLinkDisambiguationPopup
[] =
41 "enable-link-disambiguation-popup";
43 // Enables an experimental focus manager to track text input clients.
44 const char kEnableTextInputFocusManager
[] = "enable-text-input-focus-manager";
46 // Enables touch event based drag and drop.
47 const char kEnableTouchDragDrop
[] = "enable-touch-drag-drop";
49 // Enables controls that support touch base text editing.
50 const char kEnableTouchEditing
[] = "enable-touch-editing";
52 // The language file that we want to try to open. Of the form
53 // language[-country] where language is the 2 letter code from ISO-639.
54 const char kLang
[] = "lang";
56 // On Windows only: requests that Chrome connect to the running Metro viewer
58 const char kViewerConnect
[] = "connect-to-metro-viewer";
60 #if defined(OS_CHROMEOS)
61 // Disables Roboto as UI font (instead of Noto Sans) experiment in both
63 const char kDisableRobotoFontUI
[] = "disable-roboto-font-ui";
66 } // namespace switches