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

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

Issue 23710009: Revert 219673 "Fix Views Combobox and Tree View text input." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
« no previous file with comments | « trunk/src/ui/views/controls/tree/tree_view.cc ('k') | trunk/src/ui/views/ime/input_method_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/views/ime/input_method.h
===================================================================
--- trunk/src/ui/views/ime/input_method.h (revision 220120)
+++ trunk/src/ui/views/ime/input_method.h (working copy)
@@ -51,6 +51,11 @@
// 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.
+ virtual void OnFocus() = 0;
+ virtual void OnBlur() = 0;
+
// Called when the focused window receives native IME messages that are not
// translated into other predefined event callbacks. Currently this method is
// used only for IME functionalities specific to Windows.
« no previous file with comments | « trunk/src/ui/views/controls/tree/tree_view.cc ('k') | trunk/src/ui/views/ime/input_method_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698