Fix shutdown crash when AudioRendererHosts outlive the ResourceScheduler
[chromium-blink-merge.git] / ui / base / ui_base_switches.cc
blobeb58a1cea3228ec7c24b7213a267b4d67d32a36c
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"
7 namespace switches {
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";
13 #endif
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 // Disables additional visual feedback to touch input.
31 const char kDisableTouchFeedback[] = "disable-touch-feedback";
33 // Enables a zoomed popup bubble that allows the user to select a link.
34 const char kEnableLinkDisambiguationPopup[] =
35 "enable-link-disambiguation-popup";
37 // Enables an experimental focus manager to track text input clients.
38 const char kEnableTextInputFocusManager[] = "enable-text-input-focus-manager";
40 // Enables touch event based drag and drop.
41 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
43 // Enables controls that support touch base text editing.
44 const char kEnableTouchEditing[] = "enable-touch-editing";
46 // The language file that we want to try to open. Of the form
47 // language[-country] where language is the 2 letter code from ISO-639.
48 const char kLang[] = "lang";
50 // On Windows only: requests that Chrome connect to the running Metro viewer
51 // process.
52 const char kViewerConnect[] = "connect-to-metro-viewer";
54 #if defined(OS_CHROMEOS)
55 // Disables Roboto as UI font (instead of Noto Sans) experiment in both
56 // native and web UI.
57 const char kDisableRobotoFontUI[] = "disable-roboto-font-ui";
58 #endif
60 } // namespace switches