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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.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: Created 6 years 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: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 6a9a42080067950e1e3922c3ca1b6b2b9ae9ef28..d1c32bc90d3fca70e136d02a8d7004c26c1a9018 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -881,6 +881,8 @@ void RenderWidgetHostViewAura::OnTextInputStateChanged(
if (GetInputMethod())
GetInputMethod()->ShowImeIfNeeded();
}
+ if (!GetInputMethod()->SupportsOnScreenKeyboard())
+ OnKeyboardBoundsUnchanged();
}
void RenderWidgetHostViewAura::ImeCancelComposition() {
@@ -1678,6 +1680,10 @@ bool RenderWidgetHostViewAura::IsEditingCommandEnabled(int command_id) {
void RenderWidgetHostViewAura::ExecuteEditingCommand(int command_id) {
}
+void RenderWidgetHostViewAura::OnKeyboardBoundsUnchanged() {
+ host_->Send(new ViewMsg_FocusChangeComplete(host_->GetRoutingID()));
+}
+
////////////////////////////////////////////////////////////////////////////////
// RenderWidgetHostViewAura, gfx::DisplayObserver implementation:

Powered by Google App Engine
This is Rietveld 408576698