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

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

Issue 665903003: Magnifier needs to follow the focus of the textfield. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test cases. Created 6 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
« no previous file with comments | « ui/base/ime/input_method_base.cc ('k') | ui/base/ime/input_method_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_chromeos.h
diff --git a/ui/base/ime/input_method_chromeos.h b/ui/base/ime/input_method_chromeos.h
index a09cd3d794ace667751f8412058649daa11d24ca..81c95169ece09a21ec2f88d51ac84fb64da8a2d7 100644
--- a/ui/base/ime/input_method_chromeos.h
+++ b/ui/base/ime/input_method_chromeos.h
@@ -116,6 +116,10 @@ class UI_BASE_EXPORT InputMethodChromeOS
// considered as an input field.
bool IsInputFieldFocused();
Jun Mukai 2014/10/22 22:22:54 It is really weird to have IsInputFieldFocused and
jennyz 2014/10/22 22:29:00 Yes, it does sound weird. The only reason I didn't
Shu Chen 2014/10/23 08:03:57 Looks like it is only used in ui/base/ime/input_me
jennyz 2014/10/23 18:10:11 Done.
jennyz 2014/10/23 18:10:11 Done.
+ // Returns true if an text input field is focused. This includes the password
+ // field.
+ bool IsTextInputFieldFocused();
+
// All pending key events. Note: we do not own these object, we just save
// pointers to these object so that we can abandon them when necessary.
// They will be deleted in ProcessKeyEventDone().
« no previous file with comments | « ui/base/ime/input_method_base.cc ('k') | ui/base/ime/input_method_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698