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

Unified Diff: ui/views/ime/input_method.h

Issue 20526005: Implement virtual keyboard hiding. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Init Created 7 years, 5 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/views/ime/input_method.h
diff --git a/ui/views/ime/input_method.h b/ui/views/ime/input_method.h
index f4e8a482285df5516c892ddcd47554e30ee6f5f5..e60a0d4a2985df81842c7e7a56a40120eb8b297d 100644
--- a/ui/views/ime/input_method.h
+++ b/ui/views/ime/input_method.h
@@ -51,10 +51,12 @@ class VIEWS_EXPORT InputMethod {
// The |widget| must already be initialized.
virtual void Init(Widget* widget) = 0;
- // Called when the top-level Widget gains or loses keyboard focus.
- // These should only be called by the Widget that owns this InputMethod.
+ // Called when the top-level Widget gains, loses or possibly regains keyboard
+ // focus. These should only be called by the Widget that owns this
+ // InputMethod.
virtual void OnFocus() = 0;
virtual void OnBlur() = 0;
+ virtual void OnPossibleRefocus() = 0;
// Called when the focused window receives native IME messages that are not
// translated into other predefined event callbacks. Currently this method is

Powered by Google App Engine
This is Rietveld 408576698