| Index: ui/aura/root_window_host_win.cc
|
| diff --git a/ui/aura/root_window_host_win.cc b/ui/aura/root_window_host_win.cc
|
| index 868173c8b93f941083c7f88eef450e593c911ee6..2e90ba4453234d23fd087ab3345ed5299925af4e 100644
|
| --- a/ui/aura/root_window_host_win.cc
|
| +++ b/ui/aura/root_window_host_win.cc
|
| @@ -186,8 +186,8 @@ void RootWindowHostWin::SetBounds(const gfx::Rect& bounds) {
|
| RECT window_rect;
|
| window_rect.left = bounds.x();
|
| window_rect.top = bounds.y();
|
| - window_rect.right = bounds.width();
|
| - window_rect.bottom = bounds.height();
|
| + window_rect.right = bounds.right() ;
|
| + window_rect.bottom = bounds.bottom();
|
| AdjustWindowRectEx(&window_rect,
|
| GetWindowLong(hwnd(), GWL_STYLE),
|
| FALSE,
|
| @@ -262,6 +262,10 @@ void RootWindowHostWin::MoveCursorTo(const gfx::Point& location) {
|
| SetCursorPos(pt.x, pt.y);
|
| }
|
|
|
| +void RootWindowHostWin::SetFocusWhenShown(bool focus_when_shown) {
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| void RootWindowHostWin::PostNativeEvent(const base::NativeEvent& native_event) {
|
| ::PostMessage(
|
| hwnd(), native_event.message, native_event.wParam, native_event.lParam);
|
|
|