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

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

Issue 1149383006: Move smart deploy to tristate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change histogram id. Created 5 years, 6 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // Gets the state of the touch onscreen keyboard. 70 // Gets the state of the touch onscreen keyboard.
71 KEYBOARD_EXPORT bool GetTouchKeyboardEnabled(); 71 KEYBOARD_EXPORT bool GetTouchKeyboardEnabled();
72 72
73 // Gets the default keyboard layout. 73 // Gets the default keyboard layout.
74 KEYBOARD_EXPORT std::string GetKeyboardLayout(); 74 KEYBOARD_EXPORT std::string GetKeyboardLayout();
75 75
76 // Returns true if the virtual keyboard is enabled. 76 // Returns true if the virtual keyboard is enabled.
77 KEYBOARD_EXPORT bool IsKeyboardEnabled(); 77 KEYBOARD_EXPORT bool IsKeyboardEnabled();
78 78
79 // Returns true if smart deployment of the virtual keyboard is enabled.
80 KEYBOARD_EXPORT bool IsSmartDeployEnabled();
81
79 // Returns true if keyboard overscroll mode is enabled. 82 // Returns true if keyboard overscroll mode is enabled.
80 KEYBOARD_EXPORT bool IsKeyboardOverscrollEnabled(); 83 KEYBOARD_EXPORT bool IsKeyboardOverscrollEnabled();
81 84
82 // Sets temporary keyboard overscroll override. 85 // Sets temporary keyboard overscroll override.
83 KEYBOARD_EXPORT void SetKeyboardOverscrollOverride( 86 KEYBOARD_EXPORT void SetKeyboardOverscrollOverride(
84 KeyboardOverscrolOverride override); 87 KeyboardOverscrolOverride override);
85 88
86 // Sets policy override on whether to show the keyboard. 89 // Sets policy override on whether to show the keyboard.
87 KEYBOARD_EXPORT void SetKeyboardShowOverride(KeyboardShowOverride override); 90 KEYBOARD_EXPORT void SetKeyboardShowOverride(KeyboardShowOverride override);
88 91
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 154
152 // Gets the override content url. 155 // Gets the override content url.
153 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl(); 156 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl();
154 157
155 // Logs the keyboard control event as a UMA stat. 158 // Logs the keyboard control event as a UMA stat.
156 void LogKeyboardControlEvent(KeyboardControlEvent event); 159 void LogKeyboardControlEvent(KeyboardControlEvent event);
157 160
158 } // namespace keyboard 161 } // namespace keyboard
159 162
160 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_ 163 #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