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 // Disable use of CoreAnimation to draw on the Mac.
11 const char kDisableCoreAnimation
[] = "disable-core-animation";
14 // Disables use of DWM composition for top level windows.
15 const char kDisableDwmComposition
[] = "disable-dwm-composition";
17 // Disables an experimental focus manager to track text input clients.
18 const char kDisableTextInputFocusManager
[] = "disable-text-input-focus-manager";
20 // Disables touch adjustment.
21 const char kDisableTouchAdjustment
[] = "disable-touch-adjustment";
23 // Disables touch event based drag and drop.
24 const char kDisableTouchDragDrop
[] = "disable-touch-drag-drop";
26 // Disables controls that support touch base text editing.
27 const char kDisableTouchEditing
[] = "disable-touch-editing";
29 // Enables an experimental focus manager to track text input clients.
30 const char kEnableTextInputFocusManager
[] = "enable-text-input-focus-manager";
32 // Enables touch event based drag and drop.
33 const char kEnableTouchDragDrop
[] = "enable-touch-drag-drop";
35 // Enables controls that support touch base text editing.
36 const char kEnableTouchEditing
[] = "enable-touch-editing";
38 // The language file that we want to try to open. Of the form
39 // language[-country] where language is the 2 letter code from ISO-639.
40 const char kLang
[] = "lang";
42 // Disable ui::MessageBox. This is useful when running as part of scripts that
43 // do not have a user interface.
44 const char kNoMessageBox
[] = "no-message-box";
46 } // namespace switches