| Index: ui/keyboard/keyboard_layout_manager.cc
|
| diff --git a/ui/keyboard/keyboard_layout_manager.cc b/ui/keyboard/keyboard_layout_manager.cc
|
| index 6eee390dabf8734f7682f3839cb272cebf239809..60c7303fda393ba1ed7bba89d44fdb45f87aab8f 100644
|
| --- a/ui/keyboard/keyboard_layout_manager.cc
|
| +++ b/ui/keyboard/keyboard_layout_manager.cc
|
| @@ -49,6 +49,10 @@ void KeyboardLayoutManager::SetChildBounds(aura::Window* child,
|
| const gfx::Rect& window_bounds =
|
| controller_->GetContainerWindow()->GetRootWindow()->bounds();
|
| new_bounds.set_y(window_bounds.height() - new_bounds.height());
|
| + // If shelf is positioned on the left side of screen, x is not 0. In
|
| + // FULL_WIDTH mode, the virtual keyboard should always align with the left
|
| + // edge of the screen. So manually set x to 0 here.
|
| + new_bounds.set_x(0);
|
| new_bounds.set_width(window_bounds.width());
|
| }
|
| // Keyboard bounds should only be reset when it actually changes. Otherwise
|
|
|