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

Unified Diff: ash/wm/lock_layout_manager_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: format Created 5 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
Index: ash/wm/lock_layout_manager_unittest.cc
diff --git a/ash/wm/lock_layout_manager_unittest.cc b/ash/wm/lock_layout_manager_unittest.cc
index fc097fb303cd6181a44f1c5df2ee5575147bf35d..96ce1a84fcb3c7a4e74f90514743c05397a567fa 100644
--- a/ash/wm/lock_layout_manager_unittest.cc
+++ b/ash/wm/lock_layout_manager_unittest.cc
@@ -93,8 +93,8 @@ class LockLayoutManagerTest : public AshTestBase {
keyboard->ShowKeyboard(true);
if (keyboard->proxy()->GetKeyboardWindow()->bounds().height() == 0) {
keyboard->proxy()->GetKeyboardWindow()->SetBounds(
- keyboard::KeyboardBoundsFromWindowBounds(
- keyboard->GetContainerWindow()->bounds(),
+ keyboard::FullWidthKeyboardBoundsFromRootBounds(
+ Shell::GetPrimaryRootWindow()->bounds(),
kVirtualKeyboardHeight));
}
} else {
« no previous file with comments | « ash/wm/always_on_top_controller_unittest.cc ('k') | ash/wm/system_modal_container_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698