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

Unified Diff: ui/views/controls/textfield/native_textfield_views.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: Address reviewer feedback. Created 6 years, 11 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/controls/textfield/native_textfield_views.h
diff --git a/ui/views/controls/textfield/native_textfield_views.h b/ui/views/controls/textfield/native_textfield_views.h
index af22492c4aa2caa85877a78a7745ede92671900b..eb2c65b1ea0c0de0e7eaecd8b701325ec9ee20dc 100644
--- a/ui/views/controls/textfield/native_textfield_views.h
+++ b/ui/views/controls/textfield/native_textfield_views.h
@@ -146,6 +146,9 @@ class VIEWS_EXPORT NativeTextfieldViews : public View,
void UpdateHorizontalMargins();
void UpdateVerticalMargins();
+ // Displays a virtual keyboard or alternate input view if enabled.
+ void ShowImeIfNeeded() const;
sadrul 2014/01/10 19:53:21 I don't think this should be a const method
kevers 2014/01/13 16:59:10 Removed const.
+
// Returns whether or not an IME is composing text.
bool IsIMEComposing() const;

Powered by Google App Engine
This is Rietveld 408576698