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

Unified Diff: ui/keyboard/keyboard_switches.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/keyboard/keyboard_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_switches.h
diff --git a/ui/keyboard/keyboard_switches.h b/ui/keyboard/keyboard_switches.h
index 57e7c90243814bf190a9a7760c6684198c137e50..85af0c4694318c30300ff0d6b9564a23a8891c1c 100644
--- a/ui/keyboard/keyboard_switches.h
+++ b/ui/keyboard/keyboard_switches.h
@@ -17,62 +17,30 @@ KEYBOARD_EXPORT extern const char kDisableInputView[];
// Disables voice input.
KEYBOARD_EXPORT extern const char kDisableVoiceInput[];
-// Enables an IME extension API to set a URL for specifying the contents
-// of the virtual keyboard container.
-KEYBOARD_EXPORT extern const char kEnableInputView[];
-
// Enables experimental features for IME extensions.
KEYBOARD_EXPORT extern const char kEnableExperimentalInputViewFeatures[];
-// Gesture typing flag for the virtual keyboard.
-KEYBOARD_EXPORT extern const char kGestureTyping[];
-
-// Enables gesture typing for the virtual keyboard.
-KEYBOARD_EXPORT extern const char kGestureTypingEnabled[];
-
-// Disables gesture typing for the virtual keyboard.
-KEYBOARD_EXPORT extern const char kGestureTypingDisabled[];
+// Flag which disables gesture typing for the virtual keyboard.
+KEYBOARD_EXPORT extern const char kDisableGestureTyping[];
// Controls the appearance of the settings option to enable gesture editing
// for the virtual keyboard.
-KEYBOARD_EXPORT extern const char kGestureEditing[];
-
-// Enables gesture editing for the virtual keyboard.
-KEYBOARD_EXPORT extern const char kGestureEditingEnabled[];
-
-// Disables gesture editing for the virtual keyboard.
-KEYBOARD_EXPORT extern const char kGestureEditingDisabled[];
+KEYBOARD_EXPORT extern const char kDisableGestureEditing[];
// Enables the virtual keyboard.
KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[];
// Floating virtual keyboard flag.
-KEYBOARD_EXPORT extern const char kFloatingVirtualKeyboard[];
-
-// Disable floating virtual keyboard.
-KEYBOARD_EXPORT extern const char kFloatingVirtualKeyboardDisabled[];
-
-// Enable floating virtual keyboard.
-KEYBOARD_EXPORT extern const char kFloatingVirtualKeyboardEnabled[];
+KEYBOARD_EXPORT extern const char kEnableFloatingVirtualKeyboard[];
// Disabled overscrolling of web content when the virtual keyboard is displayed.
// If disabled, the work area is resized to restrict windows from overlapping
// with the keybaord area.
KEYBOARD_EXPORT extern const char kDisableVirtualKeyboardOverscroll[];
-// Enable overscrolling of web content when the virtual keyboard is displayed
-// to provide access to content that would otherwise be occluded.
-KEYBOARD_EXPORT extern const char kEnableVirtualKeyboardOverscroll[];
-
// Controls automatic showing/hiding of the keyboard based on the devices
// plugged in.
-KEYBOARD_EXPORT extern const char kSmartVirtualKeyboard[];
-
-// Enables smart deploy for the virtual keyboard.
-KEYBOARD_EXPORT extern const char kSmartVirtualKeyboardEnabled[];
-
-// Disables smart deploy for the virtual keyboard.
-KEYBOARD_EXPORT extern const char kSmartVirtualKeyboardDisabled[];
+KEYBOARD_EXPORT extern const char kDisableSmartVirtualKeyboard[];
} // namespace switches
} // namespace keyboard
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/keyboard/keyboard_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698