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

Unified Diff: extensions/browser/api/virtual_keyboard_private/virtual_keyboard_delegate.h

Issue 1311233003: Add chrome.virtualKeyboardPrivate.setHotrodKeyboard API Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: extensions/browser/api/virtual_keyboard_private/virtual_keyboard_delegate.h
diff --git a/extensions/browser/api/virtual_keyboard_private/virtual_keyboard_delegate.h b/extensions/browser/api/virtual_keyboard_private/virtual_keyboard_delegate.h
index 1258365fbab78cb20f02fc3ad6fa16f21e2ea1f3..7d1f74e5d18209a12e96a599346e0f16a29242e6 100644
--- a/extensions/browser/api/virtual_keyboard_private/virtual_keyboard_delegate.h
+++ b/extensions/browser/api/virtual_keyboard_private/virtual_keyboard_delegate.h
@@ -36,6 +36,9 @@ class VirtualKeyboardDelegate {
// For example, settings should be blocked when the session is locked.
virtual bool IsLanguageSettingsEnabled() = 0;
+ // Sets the state of the hotrod virtual keyboad.
+ virtual void SetHotrodKeyboard(bool enable) = 0;
+
// Activate and lock the virtual keyboad on screen or dismiss the keyboard
// regardless of the state of text focus. Used in a11y mode to allow typing
// hotkeys without the need for text focus. Returns true if successful.

Powered by Google App Engine
This is Rietveld 408576698