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

Unified Diff: ash/wm/system_modal_container_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
« no previous file with comments | « ash/wm/lock_layout_manager_unittest.cc ('k') | ash/wm/virtual_keyboard_container_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_modal_container_layout_manager_unittest.cc
diff --git a/ash/wm/system_modal_container_layout_manager_unittest.cc b/ash/wm/system_modal_container_layout_manager_unittest.cc
index 1f74726968bf8a0cd436f0f443839556d7b2f819..6229587b890fb91196e300c6748ee4793d82a518 100644
--- a/ash/wm/system_modal_container_layout_manager_unittest.cc
+++ b/ash/wm/system_modal_container_layout_manager_unittest.cc
@@ -182,8 +182,8 @@ class SystemModalContainerLayoutManagerTest : public AshTestBase {
keyboard->ShowKeyboard(true);
if (keyboard->proxy()->GetKeyboardWindow()->bounds().height() == 0) {
keyboard->proxy()->GetKeyboardWindow()->SetBounds(
- keyboard::KeyboardBoundsFromWindowBounds(
- keyboard->GetContainerWindow()->bounds(), 100));
+ keyboard::FullWidthKeyboardBoundsFromRootBounds(
+ Shell::GetPrimaryRootWindow()->bounds(), 100));
}
} else {
keyboard->HideKeyboard(keyboard::KeyboardController::HIDE_REASON_MANUAL);
« no previous file with comments | « ash/wm/lock_layout_manager_unittest.cc ('k') | ash/wm/virtual_keyboard_container_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698