OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ash/common/wallpaper/wallpaper_view.h" | 5 #include "ash/common/wallpaper/wallpaper_view.h" |
6 | 6 |
7 #include "ash/common/session/session_state_delegate.h" | 7 #include "ash/common/session/session_state_delegate.h" |
8 #include "ash/common/wallpaper/wallpaper_controller.h" | 8 #include "ash/common/wallpaper/wallpaper_controller.h" |
9 #include "ash/common/wallpaper/wallpaper_delegate.h" | 9 #include "ash/common/wallpaper/wallpaper_delegate.h" |
10 #include "ash/common/wallpaper/wallpaper_widget_controller.h" | 10 #include "ash/common/wallpaper/wallpaper_widget_controller.h" |
11 #include "ash/common/wm/overview/window_selector_controller.h" | |
12 #include "ash/common/wm_shell.h" | 11 #include "ash/common/wm_shell.h" |
13 #include "ash/common/wm_window.h" | 12 #include "ash/common/wm_window.h" |
14 #include "ash/root_window_controller.h" | 13 #include "ash/root_window_controller.h" |
| 14 #include "ash/wm/overview/window_selector_controller.h" |
15 #include "ui/display/display.h" | 15 #include "ui/display/display.h" |
16 #include "ui/display/manager/managed_display_info.h" | 16 #include "ui/display/manager/managed_display_info.h" |
17 #include "ui/display/screen.h" | 17 #include "ui/display/screen.h" |
18 #include "ui/gfx/canvas.h" | 18 #include "ui/gfx/canvas.h" |
19 #include "ui/gfx/geometry/safe_integer_conversions.h" | 19 #include "ui/gfx/geometry/safe_integer_conversions.h" |
20 #include "ui/gfx/geometry/size_conversions.h" | 20 #include "ui/gfx/geometry/size_conversions.h" |
21 #include "ui/gfx/transform.h" | 21 #include "ui/gfx/transform.h" |
22 #include "ui/views/widget/widget.h" | 22 #include "ui/views/widget/widget.h" |
23 | 23 |
24 namespace ash { | 24 namespace ash { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 // Disable animation if transition to login screen from an empty background. | 230 // Disable animation if transition to login screen from an empty background. |
231 wallpaper_window->SetVisibilityAnimationTransition(::wm::ANIMATE_NONE); | 231 wallpaper_window->SetVisibilityAnimationTransition(::wm::ANIMATE_NONE); |
232 } | 232 } |
233 | 233 |
234 WmWindow* container = root_window->GetChildByShellWindowId(container_id); | 234 WmWindow* container = root_window->GetChildByShellWindowId(container_id); |
235 wallpaper_widget->SetBounds(container->GetBounds()); | 235 wallpaper_widget->SetBounds(container->GetBounds()); |
236 return wallpaper_widget; | 236 return wallpaper_widget; |
237 } | 237 } |
238 | 238 |
239 } // namespace ash | 239 } // namespace ash |
OLD | NEW |