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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 2952723002: Add keepalive for on screen keyboard (Closed)
Patch Set: Keep OSK on-screen when moving focus to omnibox Created 3 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1b41d557b8285a46101c3d36a2b9bbfa7e375f50..b6046e435089b9ba7d15230004f206767019408d 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -1712,7 +1712,8 @@ void RenderWidgetHostViewAura::FocusedNodeChanged(
bool editable,
const gfx::Rect& node_bounds_in_screen) {
#if defined(OS_WIN)
- if (!editable && virtual_keyboard_requested_) {
+ if (!editable && virtual_keyboard_requested_ &&
+ !node_bounds_in_screen.IsEmpty()) {
virtual_keyboard_requested_ = false;
RenderViewHost* rvh = RenderViewHost::From(host_);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698