Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Side by Side Diff: ash/wm/overview/scoped_transform_overview_window.cc

Issue 2030593002: Renames ash/wm/common into ash/common/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/wm/overview/DEPS ('k') | ash/wm/overview/window_grid.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ash/wm/overview/DEPS ('k') | ash/wm/overview/window_grid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698