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 kEnableRemoteCoreAnimation
[] = "enable-remote-core-animation";
15 // Disables use of DWM composition for top level windows.
16 const char kDisableDwmComposition
[] = "disable-dwm-composition";
18 // Disables an experimental focus manager to track text input clients.
19 const char kDisableTextInputFocusManager
[] = "disable-text-input-focus-manager";
21 // Disables touch adjustment.
22 const char kDisableTouchAdjustment
[] = "disable-touch-adjustment";
24 // Disables touch event based drag and drop.
25 const char kDisableTouchDragDrop
[] = "disable-touch-drag-drop";
27 // Disables controls that support touch base text editing.
28 const char kDisableTouchEditing
[] = "disable-touch-editing";
30 // Enables an experimental focus manager to track text input clients.
31 const char kEnableTextInputFocusManager
[] = "enable-text-input-focus-manager";
33 // Enables touch event based drag and drop.
34 const char kEnableTouchDragDrop
[] = "enable-touch-drag-drop";
36 // Enables controls that support touch base text editing.
37 const char kEnableTouchEditing
[] = "enable-touch-editing";
39 // The language file that we want to try to open. Of the form
40 // language[-country] where language is the 2 letter code from ISO-639.
41 const char kLang
[] = "lang";
43 // Disable ui::MessageBox. This is useful when running as part of scripts that
44 // do not have a user interface.
45 const char kNoMessageBox
[] = "no-message-box";
47 } // namespace switches