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

Unified Diff: ui/keyboard/keyboard_layout_manager.cc

Issue 2830513002: Fix wrong viewport size on virtual keyboard IME change (Closed)
Patch Set: Created 3 years, 8 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: ui/keyboard/keyboard_layout_manager.cc
diff --git a/ui/keyboard/keyboard_layout_manager.cc b/ui/keyboard/keyboard_layout_manager.cc
index 613800f58fb5cf8e187aeb6f0342f39908939729..178a86461a896ea33c9e236c2e82a9ee444918d6 100644
--- a/ui/keyboard/keyboard_layout_manager.cc
+++ b/ui/keyboard/keyboard_layout_manager.cc
@@ -99,7 +99,7 @@ void KeyboardLayoutManager::SetChildBounds(aura::Window* child,
// We need to send out this notification only if keyboard is visible since
// keyboard window is resized even if keyboard is hidden.
if (controller_->keyboard_visible())
- controller_->NotifyKeyboardBoundsChanging(requested_bounds);
+ controller_->NotifyKeyboardBoundsChanging(new_bounds);
} else if (controller_->keyboard_mode() == FLOATING) {
controller_->NotifyKeyboardBoundsChanging(gfx::Rect());
}
« 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