Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1402)

Side by Side Diff: ui/base/ui_base_switches.cc

Issue 173803002: Redesigns the text input focus handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | ui/base/ui_base_switches_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/base/ui_base_switches.h" 5 #include "ui/base/ui_base_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 #if defined(OS_MACOSX) && !defined(OS_IOS) 9 #if defined(OS_MACOSX) && !defined(OS_IOS)
10 // Disable use of CoreAnimation to draw on the Mac. 10 // Disable use of CoreAnimation to draw on the Mac.
11 const char kDisableCoreAnimation[] = "disable-core-animation"; 11 const char kDisableCoreAnimation[] = "disable-core-animation";
12 #endif 12 #endif
13 13
14 // Disables use of DWM composition for top level windows. 14 // Disables use of DWM composition for top level windows.
15 const char kDisableDwmComposition[] = "disable-dwm-composition"; 15 const char kDisableDwmComposition[] = "disable-dwm-composition";
16 16
17 // Disables an experimental focus manager to track text input clients.
18 const char kDisableTextInputFocusManager[] = "disable-text-input-focus-manager";
19
17 // Disables touch adjustment. 20 // Disables touch adjustment.
18 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; 21 const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
19 22
20 // Disables touch event based drag and drop. 23 // Disables touch event based drag and drop.
21 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; 24 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop";
22 25
23 // Disables controls that support touch base text editing. 26 // Disables controls that support touch base text editing.
24 const char kDisableTouchEditing[] = "disable-touch-editing"; 27 const char kDisableTouchEditing[] = "disable-touch-editing";
25 28
29 // Enables an experimental focus manager to track text input clients.
30 const char kEnableTextInputFocusManager[] = "enable-text-input-focus-manager";
31
26 // Enables touch event based drag and drop. 32 // Enables touch event based drag and drop.
27 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; 33 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
28 34
29 // Enables controls that support touch base text editing. 35 // Enables controls that support touch base text editing.
30 const char kEnableTouchEditing[] = "enable-touch-editing"; 36 const char kEnableTouchEditing[] = "enable-touch-editing";
31 37
32 // The language file that we want to try to open. Of the form 38 // The language file that we want to try to open. Of the form
33 // language[-country] where language is the 2 letter code from ISO-639. 39 // language[-country] where language is the 2 letter code from ISO-639.
34 const char kLang[] = "lang"; 40 const char kLang[] = "lang";
35 41
36 // Load the locale resources from the given path. When running on Mac/Unix the 42 // Load the locale resources from the given path. When running on Mac/Unix the
37 // path should point to a locale.pak file. 43 // path should point to a locale.pak file.
38 const char kLocalePak[] = "locale_pak"; 44 const char kLocalePak[] = "locale_pak";
39 45
40 // Disable ui::MessageBox. This is useful when running as part of scripts that 46 // Disable ui::MessageBox. This is useful when running as part of scripts that
41 // do not have a user interface. 47 // do not have a user interface.
42 const char kNoMessageBox[] = "no-message-box"; 48 const char kNoMessageBox[] = "no-message-box";
43 49
44 } // namespace switches 50 } // namespace switches
OLDNEW
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | ui/base/ui_base_switches_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698