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

Unified Diff: ash/wm/always_on_top_controller_unittest.cc

Issue 1008453002: Allow javascript change the virtual keyboard window size and position freely in FLOATING mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 9 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
Index: ash/wm/always_on_top_controller_unittest.cc
diff --git a/ash/wm/always_on_top_controller_unittest.cc b/ash/wm/always_on_top_controller_unittest.cc
index 535ed5ff2a6f14744a127e946a14b36368415e08..2051622a3065c4b7ea5b85c7789583f267147752 100644
--- a/ash/wm/always_on_top_controller_unittest.cc
+++ b/ash/wm/always_on_top_controller_unittest.cc
@@ -80,7 +80,7 @@ TEST_F(VirtualKeyboardAlwaysOnTopControllerTest, NotifyKeyboardBoundsChanged) {
keyboard_window->set_owned_by_parent(false);
const int kKeyboardHeight = 200;
gfx::Rect keyboard_bounds = keyboard::KeyboardBoundsFromWindowBounds(
- keyboard_container->bounds(), kKeyboardHeight);
+ root_window->bounds(), kKeyboardHeight);
keyboard_window->SetBounds(keyboard_bounds);
keyboard_window->Show();
keyboard_controller->NotifyKeyboardBoundsChanging(keyboard_bounds);

Powered by Google App Engine
This is Rietveld 408576698