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

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, 9 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
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 the new text input focus handling and uses the old one.
msw 2014/03/11 00:58:50 nit: match the language from my other suggestions,
Yuki 2014/03/11 15:27:37 Done.
18 const char kDisableNewTextInputFocus[] = "disable-new-text-input-focus";
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 the new text input focus handling.
30 const char kEnableNewTextInputFocus[] = "enable-new-text-input-focus";
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 // If a resource is requested at a scale factor at which it is not available 38 // If a resource is requested at a scale factor at which it is not available
33 // or the resource is the incorrect size (based on the size of the 1x resource), 39 // or the resource is the incorrect size (based on the size of the 1x resource),
34 // generates the missing resource and applies a red mask to the generated 40 // generates the missing resource and applies a red mask to the generated
35 // resource. Resources for which hidpi is not supported because of software 41 // resource. Resources for which hidpi is not supported because of software
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Uses the tablet specific UI components when available. 76 // Uses the tablet specific UI components when available.
71 const char kTabletUI[] = "tablet-ui"; 77 const char kTabletUI[] = "tablet-ui";
72 #endif 78 #endif
73 79
74 #if defined(USE_XI2_MT) 80 #if defined(USE_XI2_MT)
75 // The calibration factors given as "<left>,<right>,<top>,<bottom>". 81 // The calibration factors given as "<left>,<right>,<top>,<bottom>".
76 const char kTouchCalibration[] = "touch-calibration"; 82 const char kTouchCalibration[] = "touch-calibration";
77 #endif 83 #endif
78 84
79 } // namespace switches 85 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698