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

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

Issue 826713002: [ChromeOS] Show autofill popup after keyboard (if any) is shown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable autofill popup waiting for keyboard when keyboard has been disabled. Created 5 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_chromeos.h ('k') | ui/base/ime/input_method_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_chromeos.cc
diff --git a/ui/base/ime/input_method_chromeos.cc b/ui/base/ime/input_method_chromeos.cc
index 8d9e2944d131f163c2d30e2d97907103abd5189d..159768ad1730ea46cae51e7d3c312a858648a2c2 100644
--- a/ui/base/ime/input_method_chromeos.cc
+++ b/ui/base/ime/input_method_chromeos.cc
@@ -37,6 +37,7 @@ InputMethodChromeOS::InputMethodChromeOS(
internal::InputMethodDelegate* delegate)
: composing_text_(false),
composition_changed_(false),
+ on_screen_keyboard_supported_(false),
current_keyevent_id_(0),
weak_ptr_factory_(this) {
SetDelegate(delegate);
@@ -284,6 +285,14 @@ void InputMethodChromeOS::OnDidChangeFocusedClient(
}
}
+void InputMethodChromeOS::SetSupportsOnScreenKeyboard(bool supported) {
+ on_screen_keyboard_supported_ = supported;
+}
+
+bool InputMethodChromeOS::SupportsOnScreenKeyboard() const {
+ return on_screen_keyboard_supported_;
+}
+
void InputMethodChromeOS::ConfirmCompositionText() {
TextInputClient* client = GetTextInputClient();
if (client && client->HasCompositionText())
« no previous file with comments | « ui/base/ime/input_method_chromeos.h ('k') | ui/base/ime/input_method_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698