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/scoped_transform_overview_window.h" | 5 #include "ash/wm/overview/scoped_transform_overview_window.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/wm/common/window_state.h" | 10 #include "ash/common/wm/window_state.h" |
11 #include "ash/wm/common/wm_window.h" | 11 #include "ash/common/wm/wm_window.h" |
12 #include "ash/wm/overview/scoped_overview_animation_settings.h" | 12 #include "ash/wm/overview/scoped_overview_animation_settings.h" |
13 #include "ash/wm/overview/scoped_overview_animation_settings_factory.h" | 13 #include "ash/wm/overview/scoped_overview_animation_settings_factory.h" |
14 #include "ash/wm/overview/window_selector_item.h" | 14 #include "ash/wm/overview/window_selector_item.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
17 #include "ui/gfx/transform_util.h" | 17 #include "ui/gfx/transform_util.h" |
18 | 18 |
19 using WmWindows = std::vector<ash::wm::WmWindow*>; | 19 using WmWindows = std::vector<ash::wm::WmWindow*>; |
20 | 20 |
21 namespace ash { | 21 namespace ash { |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 } | 310 } |
311 | 311 |
312 void ScopedTransformOverviewWindow::PrepareForOverview() { | 312 void ScopedTransformOverviewWindow::PrepareForOverview() { |
313 DCHECK(!overview_started_); | 313 DCHECK(!overview_started_); |
314 overview_started_ = true; | 314 overview_started_ = true; |
315 window_->GetWindowState()->set_ignored_by_shelf(true); | 315 window_->GetWindowState()->set_ignored_by_shelf(true); |
316 ShowWindowIfMinimized(); | 316 ShowWindowIfMinimized(); |
317 } | 317 } |
318 | 318 |
319 } // namespace ash | 319 } // namespace ash |
OLD | NEW |