| Index: ui/keyboard/keyboard_controller_unittest.cc
|
| diff --git a/ui/keyboard/keyboard_controller_unittest.cc b/ui/keyboard/keyboard_controller_unittest.cc
|
| index 116e43e9ad633b30a747c3c632c32af8fa72d5fa..57680b94d5b5a4ee5f1ba82ecb9b7eb5f1645fef 100644
|
| --- a/ui/keyboard/keyboard_controller_unittest.cc
|
| +++ b/ui/keyboard/keyboard_controller_unittest.cc
|
| @@ -274,7 +274,6 @@ TEST_F(KeyboardControllerTest, KeyboardSize) {
|
| ASSERT_EQ(gfx::Rect(), initial_bounds);
|
| VerifyKeyboardWindowSize(container, keyboard);
|
|
|
| - gfx::Rect new_bounds(0, 0, 50, 50);
|
|
|
| // In FULL_WIDTH mode, attempt to change window width or move window up from
|
| // the bottom are ignored. Changing window height is supported.
|
| @@ -283,6 +282,10 @@ TEST_F(KeyboardControllerTest, KeyboardSize) {
|
| screen_bounds.width(),
|
| 50);
|
|
|
| + // The x position of new bounds may not be 0 if shelf is on the left side of
|
| + // screen. In FULL_WIDTH mode, the virtual keyboard should always align with
|
| + // the left edge of screen. See http://crbug.com/510595.
|
| + gfx::Rect new_bounds(10, 0, 50, 50);
|
| keyboard->SetBounds(new_bounds);
|
| ASSERT_EQ(expected_bounds, container->bounds());
|
| VerifyKeyboardWindowSize(container, keyboard);
|
|
|