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

Side by Side Diff: ui/keyboard/keyboard_util.h

Issue 1130833005: Merge gesture deletion and selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 5 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
« no previous file with comments | « ui/keyboard/keyboard_switches.cc ('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 #ifndef UI_KEYBOARD_KEYBOARD_UTIL_H_ 5 #ifndef UI_KEYBOARD_KEYBOARD_UTIL_H_
6 #define UI_KEYBOARD_KEYBOARD_UTIL_H_ 6 #define UI_KEYBOARD_KEYBOARD_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // Returns true if experimental features are enabled for IME input-views. 93 // Returns true if experimental features are enabled for IME input-views.
94 KEYBOARD_EXPORT bool IsExperimentalInputViewEnabled(); 94 KEYBOARD_EXPORT bool IsExperimentalInputViewEnabled();
95 95
96 // Returns true if floating virtual keyboard feature is enabled. 96 // Returns true if floating virtual keyboard feature is enabled.
97 KEYBOARD_EXPORT bool IsFloatingVirtualKeyboardEnabled(); 97 KEYBOARD_EXPORT bool IsFloatingVirtualKeyboardEnabled();
98 98
99 // Returns true if gesture typing is enabled for virtual keyboard. 99 // Returns true if gesture typing is enabled for virtual keyboard.
100 KEYBOARD_EXPORT bool IsGestureTypingEnabled(); 100 KEYBOARD_EXPORT bool IsGestureTypingEnabled();
101 101
102 // Returns true if gesture deletion is enabled for virtual keyboard. 102 // Returns true if gesture editing option is enabled for virtual keyboard.
103 KEYBOARD_EXPORT bool IsGestureDeletionEnabled(); 103 KEYBOARD_EXPORT bool IsGestureEditingEnabled();
104
105 // Returns true if gesture selection is enabled for virtual keyboard.
106 KEYBOARD_EXPORT bool IsGestureSelectionEnabled();
107 104
108 // Returns true if material design is enabled for the keyboard. 105 // Returns true if material design is enabled for the keyboard.
109 KEYBOARD_EXPORT bool IsMaterialDesignEnabled(); 106 KEYBOARD_EXPORT bool IsMaterialDesignEnabled();
110 107
111 // Returns true if voice input is enabled for the keyboard. 108 // Returns true if voice input is enabled for the keyboard.
112 KEYBOARD_EXPORT bool IsVoiceInputEnabled(); 109 KEYBOARD_EXPORT bool IsVoiceInputEnabled();
113 110
114 // Insert |text| into the active TextInputClient if there is one. Returns true 111 // Insert |text| into the active TextInputClient if there is one. Returns true
115 // if |text| was successfully inserted. 112 // if |text| was successfully inserted.
116 KEYBOARD_EXPORT bool InsertText(const base::string16& text); 113 KEYBOARD_EXPORT bool InsertText(const base::string16& text);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 151
155 // Gets the override content url. 152 // Gets the override content url.
156 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl(); 153 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl();
157 154
158 // Logs the keyboard control event as a UMA stat. 155 // Logs the keyboard control event as a UMA stat.
159 void LogKeyboardControlEvent(KeyboardControlEvent event); 156 void LogKeyboardControlEvent(KeyboardControlEvent event);
160 157
161 } // namespace keyboard 158 } // namespace keyboard
162 159
163 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_ 160 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard_switches.cc ('k') | ui/keyboard/keyboard_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698