OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/wm/overview/window_selector_panels.h" | 5 #include "ash/wm/overview/window_selector_panels.h" |
6 | 6 |
7 #include "ash/screen_ash.h" | |
8 #include "ash/shell.h" | 7 #include "ash/shell.h" |
9 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
10 #include "ash/wm/overview/scoped_transform_overview_window.h" | 9 #include "ash/wm/overview/scoped_transform_overview_window.h" |
11 #include "ash/wm/panels/panel_layout_manager.h" | 10 #include "ash/wm/panels/panel_layout_manager.h" |
12 #include "ui/aura/client/screen_position_client.h" | 11 #include "ui/aura/client/screen_position_client.h" |
13 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
14 #include "ui/compositor/layer.h" | 13 #include "ui/compositor/layer.h" |
15 #include "ui/compositor/layer_animation_observer.h" | 14 #include "ui/compositor/layer_animation_observer.h" |
16 #include "ui/compositor/layer_animation_sequence.h" | 15 #include "ui/compositor/layer_animation_sequence.h" |
17 #include "ui/views/widget/widget.h" | 16 #include "ui/views/widget/widget.h" |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 transform.Translate(bounding_rect.x() - bounds.x(), | 172 transform.Translate(bounding_rect.x() - bounds.x(), |
174 bounding_rect.y() - bounds.y()); | 173 bounding_rect.y() - bounds.y()); |
175 transform.PreconcatTransform(bounding_transform); | 174 transform.PreconcatTransform(bounding_transform); |
176 transform.Translate(bounds.x() - bounding_rect.x(), | 175 transform.Translate(bounds.x() - bounding_rect.x(), |
177 bounds.y() - bounding_rect.y()); | 176 bounds.y() - bounding_rect.y()); |
178 (*iter)->SetTransform(root_window, transform, animate); | 177 (*iter)->SetTransform(root_window, transform, animate); |
179 } | 178 } |
180 } | 179 } |
181 | 180 |
182 } // namespace ash | 181 } // namespace ash |
OLD | NEW |