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

Unified Diff: ui/keyboard/keyboard_controller.cc

Issue 495923002: Fix stale keyboard bounds on login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: proper test Created 6 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 | « ash/wm/lock_window_state.cc ('k') | ui/keyboard/keyboard_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller.cc
diff --git a/ui/keyboard/keyboard_controller.cc b/ui/keyboard/keyboard_controller.cc
index f74ff7a612e1b63b927472462f1de31f6665b55f..029a5a43d4b1b6d68eec05dd36221290907ce83c 100644
--- a/ui/keyboard/keyboard_controller.cc
+++ b/ui/keyboard/keyboard_controller.cc
@@ -305,6 +305,8 @@ void KeyboardController::NotifyKeyboardBoundsChanging(
} else {
ResetWindowInsets();
}
+ } else {
+ current_keyboard_bounds_ = gfx::Rect();
}
}
« no previous file with comments | « ash/wm/lock_window_state.cc ('k') | ui/keyboard/keyboard_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698