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

Unified Diff: ui/keyboard/keyboard_util.h

Issue 2687853002: Switching VirtualKeyboardPrivate keyboard config call stack to receive HasInputDevices() responce a… (Closed)
Patch Set: Fix for compilation error on linux_chromium_chromeos Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ui/keyboard/keyboard_util.h
diff --git a/ui/keyboard/keyboard_util.h b/ui/keyboard/keyboard_util.h
index 2eefc9b02d69e4962ba86066fde314e0dd67675a..8aa3fb254d968aadf17968e61cb266cd98af7f8e 100644
--- a/ui/keyboard/keyboard_util.h
+++ b/ui/keyboard/keyboard_util.h
@@ -124,7 +124,9 @@ KEYBOARD_EXPORT bool IsGestureTypingEnabled();
// Returns true if gesture editing option is enabled for virtual keyboard.
KEYBOARD_EXPORT bool IsGestureEditingEnabled();
-// Returns true if voice input is enabled for the keyboard.
+// Returns true if voice input is not disabled for the keyboard by the command
+// line switch. It's up to the client to check if there is an input device
+// available.
KEYBOARD_EXPORT bool IsVoiceInputEnabled();
// Insert |text| into the active TextInputClient if there is one. Returns true

Powered by Google App Engine
This is Rietveld 408576698