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

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: Fix ash_unittests 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
« no previous file with comments | « ui/base/ime/input_method_base_unittest.cc ('k') | ui/base/ime/mock_input_method.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8e4355d35575fcce2de5c6fa68afb9831fd0d55b..d3432c9782dd1b5b280f28bc9e4d62e41ecb5ef7 100644
--- a/ui/base/ime/input_method_observer.h
+++ b/ui/base/ime/input_method_observer.h
@@ -39,6 +39,10 @@ class UI_BASE_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
+ // or alternate input view (e.g. handwriting palette). Used in ChromeOS.
+ virtual void OnShowImeIfNeeded() = 0;
};
} // namespace ui
« no previous file with comments | « ui/base/ime/input_method_base_unittest.cc ('k') | ui/base/ime/mock_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698