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

Side by Side Diff: ui/keyboard/keyboard_switches.cc

Issue 1488303005: Replace multi-value keyboard flags with single value flag types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add new flags to histograms. Created 5 years 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
« no previous file with comments | « ui/keyboard/keyboard_switches.h ('k') | ui/keyboard/keyboard_util.cc » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/keyboard/keyboard_switches.h" 5 #include "ui/keyboard/keyboard_switches.h"
6 6
7 namespace keyboard { 7 namespace keyboard {
8 namespace switches { 8 namespace switches {
9 9
10 const char kDisableInputView[] = "disable-input-view"; 10 const char kDisableInputView[] = "disable-input-view";
11 const char kEnableInputView[] = "enable-input-view";
12 const char kEnableExperimentalInputViewFeatures[] = 11 const char kEnableExperimentalInputViewFeatures[] =
13 "enable-experimental-input-view-features"; 12 "enable-experimental-input-view-features";
14 const char kDisableVoiceInput[] = "disable-voice-input"; 13 const char kDisableVoiceInput[] = "disable-voice-input";
15 14 const char kDisableGestureTyping[] = "disable-gesture-typing";
16 const char kGestureTyping[] = "gesture-typing"; 15 const char kDisableGestureEditing[] = "disable-gesture-editing";
17 const char kGestureTypingEnabled[] = "enabled";
18 const char kGestureTypingDisabled[] = "disabled";
19
20 const char kGestureEditing[] = "gesture-editing";
21 const char kGestureEditingEnabled[] = "enabled";
22 const char kGestureEditingDisabled[] = "disabled";
23
24 const char kEnableVirtualKeyboard[] = "enable-virtual-keyboard"; 16 const char kEnableVirtualKeyboard[] = "enable-virtual-keyboard";
25 const char kFloatingVirtualKeyboard[] = "floating-virtual-keyboard"; 17 const char kEnableFloatingVirtualKeyboard[] =
26 const char kFloatingVirtualKeyboardDisabled[] ="disabled"; 18 "enable-floating-virtual-keyboard";
27 const char kFloatingVirtualKeyboardEnabled[] ="enabled"; 19 const char kDisableSmartVirtualKeyboard[] = "disable-smart-virtual-keyboard";
28
29 const char kSmartVirtualKeyboard[] = "smart-virtual-keyboard";
30 const char kSmartVirtualKeyboardDisabled[] = "disabled";
31 const char kSmartVirtualKeyboardEnabled[] = "enabled";
32
33 const char kDisableVirtualKeyboardOverscroll[] = 20 const char kDisableVirtualKeyboardOverscroll[] =
34 "disable-virtual-keyboard-overscroll"; 21 "disable-virtual-keyboard-overscroll";
35 const char kEnableVirtualKeyboardOverscroll[] =
36 "enable-virtual-keyboard-overscroll";
37 22
38 } // namespace switches 23 } // namespace switches
39 } // namespace keyboard 24 } // namespace keyboard
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard_switches.h ('k') | ui/keyboard/keyboard_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698