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

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

Issue 320223002: Add device policy: Kiosk Virtual Keyboard Layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Gets the state of the a11y onscreen keyboard. 60 // Gets the state of the a11y onscreen keyboard.
61 KEYBOARD_EXPORT bool GetAccessibilityKeyboardEnabled(); 61 KEYBOARD_EXPORT bool GetAccessibilityKeyboardEnabled();
62 62
63 // Sets the state of the touch onscreen keyboard. 63 // Sets the state of the touch onscreen keyboard.
64 KEYBOARD_EXPORT void SetTouchKeyboardEnabled(bool enabled); 64 KEYBOARD_EXPORT void SetTouchKeyboardEnabled(bool enabled);
65 65
66 // Gets the state of the touch onscreen keyboard. 66 // Gets the state of the touch onscreen keyboard.
67 KEYBOARD_EXPORT bool GetTouchKeyboardEnabled(); 67 KEYBOARD_EXPORT bool GetTouchKeyboardEnabled();
68 68
69 // Sets the state of the kiosk onscreen keyboard.
70 KEYBOARD_EXPORT void SetKioskKeyboardEnabled(bool enabled);
71
72 // Gets the state of the touch onscreen keyboard.
73 KEYBOARD_EXPORT bool GetKioskKeyboardEnabled();
74
69 // Gets the default keyboard layout. 75 // Gets the default keyboard layout.
70 KEYBOARD_EXPORT std::string GetKeyboardLayout(); 76 KEYBOARD_EXPORT std::string GetKeyboardLayout();
71 77
72 // Returns true if the virtual keyboard is enabled. 78 // Returns true if the virtual keyboard is enabled.
73 KEYBOARD_EXPORT bool IsKeyboardEnabled(); 79 KEYBOARD_EXPORT bool IsKeyboardEnabled();
74 80
75 // Returns true if the keyboard usability test is enabled. 81 // Returns true if the keyboard usability test is enabled.
76 KEYBOARD_EXPORT bool IsKeyboardUsabilityExperimentEnabled(); 82 KEYBOARD_EXPORT bool IsKeyboardUsabilityExperimentEnabled();
77 83
78 // Returns true if keyboard overscroll mode is enabled. 84 // Returns true if keyboard overscroll mode is enabled.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 138
133 // Gets the override content url. 139 // Gets the override content url.
134 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl(); 140 KEYBOARD_EXPORT const GURL& GetOverrideContentUrl();
135 141
136 // Logs the keyboard control event as a UMA stat. 142 // Logs the keyboard control event as a UMA stat.
137 void LogKeyboardControlEvent(KeyboardControlEvent event); 143 void LogKeyboardControlEvent(KeyboardControlEvent event);
138 144
139 } // namespace keyboard 145 } // namespace keyboard
140 146
141 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_ 147 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698