Index: ui/aura_shell/desktop_layout_manager.cc |
=================================================================== |
--- ui/aura_shell/desktop_layout_manager.cc (revision 101829) |
+++ ui/aura_shell/desktop_layout_manager.cc (working copy) |
@@ -27,9 +27,12 @@ |
// DesktopLayoutManager, aura::LayoutManager implementation: |
void DesktopLayoutManager::OnWindowResized() { |
- background_widget_->SetBounds( |
- gfx::Rect(owner_->bounds().width(), owner_->bounds().height())); |
+ gfx::Rect fullscreen_bounds = |
+ gfx::Rect(owner_->bounds().width(), owner_->bounds().height()); |
+ toplevel_window_container_->SetBounds(fullscreen_bounds, 0); |
+ background_widget_->SetBounds(fullscreen_bounds); |
+ |
gfx::Rect launcher_bounds = launcher_widget_->GetWindowScreenBounds(); |
launcher_widget_->SetBounds( |
gfx::Rect(owner_->bounds().width() / 2 - launcher_bounds.width() / 2, |