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

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

Issue 2869773003: Remove unused flag 'kDisableSmartVirtualKeyboard' and associated code. (Closed)
Patch Set: Fix accidental merge in the wrong direction Created 3 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 // TODO(beng): replace with forward decl once RootWindow is renamed. 10 // TODO(beng): replace with forward decl once RootWindow is renamed.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // Gets the default keyboard layout. 92 // Gets the default keyboard layout.
93 KEYBOARD_EXPORT std::string GetKeyboardLayout(); 93 KEYBOARD_EXPORT std::string GetKeyboardLayout();
94 94
95 // Returns true if the virtual keyboard is enabled. 95 // Returns true if the virtual keyboard is enabled.
96 KEYBOARD_EXPORT bool IsKeyboardEnabled(); 96 KEYBOARD_EXPORT bool IsKeyboardEnabled();
97 97
98 // Returns true if the virtual keyboard is currently visible. 98 // Returns true if the virtual keyboard is currently visible.
99 KEYBOARD_EXPORT bool IsKeyboardVisible(); 99 KEYBOARD_EXPORT bool IsKeyboardVisible();
100 100
101 // Returns true if smart deployment of the virtual keyboard is enabled.
102 KEYBOARD_EXPORT bool IsSmartDeployEnabled();
103
104 // Returns true if keyboard overscroll mode is enabled. 101 // Returns true if keyboard overscroll mode is enabled.
105 KEYBOARD_EXPORT bool IsKeyboardOverscrollEnabled(); 102 KEYBOARD_EXPORT bool IsKeyboardOverscrollEnabled();
106 103
107 // Sets temporary keyboard overscroll override. 104 // Sets temporary keyboard overscroll override.
108 KEYBOARD_EXPORT void SetKeyboardOverscrollOverride( 105 KEYBOARD_EXPORT void SetKeyboardOverscrollOverride(
109 KeyboardOverscrolOverride override); 106 KeyboardOverscrolOverride override);
110 107
111 // Sets policy override on whether to show the keyboard. 108 // Sets policy override on whether to show the keyboard.
112 KEYBOARD_EXPORT void SetKeyboardShowOverride(KeyboardShowOverride override); 109 KEYBOARD_EXPORT void SetKeyboardShowOverride(KeyboardShowOverride override);
113 110
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // Logs the keyboard control event as a UMA stat. 178 // Logs the keyboard control event as a UMA stat.
182 void LogKeyboardControlEvent(KeyboardControlEvent event); 179 void LogKeyboardControlEvent(KeyboardControlEvent event);
183 180
184 // Sets true if keyboard overscrolling is enabled with accessibility keyboard. 181 // Sets true if keyboard overscrolling is enabled with accessibility keyboard.
185 KEYBOARD_EXPORT void SetOverscrollEnabledWithAccessibilityKeyboard( 182 KEYBOARD_EXPORT void SetOverscrollEnabledWithAccessibilityKeyboard(
186 bool enabled); 183 bool enabled);
187 184
188 } // namespace keyboard 185 } // namespace keyboard
189 186
190 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_ 187 #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