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

Unified Diff: ui/base/ime/input_method_observer.h

Issue 29943002: Limit display of the virtual keyboard to state changes triggered from a user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/base/ime/input_method_observer.h
diff --git a/ui/base/ime/input_method_observer.h b/ui/base/ime/input_method_observer.h
index fc517cc46ed9f2d344736dd027d8782521939fb7..6aa81cf9b525be1112e966bcc79d8ba5e24af17f 100644
--- a/ui/base/ime/input_method_observer.h
+++ b/ui/base/ime/input_method_observer.h
@@ -48,6 +48,10 @@ class UI_EXPORT InputMethodObserver {
// Called when the observed InputMethod is being destroyed.
virtual void OnInputMethodDestroyed(const InputMethod* input_method) = 0;
+
+ // Called when a user gesture should trigger showing the virtual keyboard.
+ // Used in ChromeOS for the on screen keyboard.
+ virtual void OnShowVirtualKeyboard() = 0;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698