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

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

Issue 844763006: Change overview mode to so that docked panel windows are not grouped together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Polished after a self-review. Created 5 years, 11 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
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/screen_util.h" 10 #include "ash/screen_util.h"
11 #include "ash/shell_window_ids.h" 11 #include "ash/shell_window_ids.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_window_copy.h"
14 #include "ash/wm/overview/window_selector_item.h" 13 #include "ash/wm/overview/window_selector_item.h"
15 #include "ash/wm/window_state.h" 14 #include "ash/wm/window_state.h"
16 #include "ash/wm/window_util.h" 15 #include "ash/wm/window_util.h"
17 #include "base/macros.h" 16 #include "base/macros.h"
18 #include "ui/aura/client/aura_constants.h" 17 #include "ui/aura/client/aura_constants.h"
19 #include "ui/aura/client/screen_position_client.h" 18 #include "ui/aura/client/screen_position_client.h"
20 #include "ui/aura/window.h" 19 #include "ui/aura/window.h"
21 #include "ui/compositor/scoped_layer_animation_settings.h" 20 #include "ui/compositor/scoped_layer_animation_settings.h"
22 #include "ui/gfx/animation/tween.h" 21 #include "ui/gfx/animation/tween.h"
23 #include "ui/gfx/transform_util.h" 22 #include "ui/gfx/transform_util.h"
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } 311 }
313 312
314 void ScopedTransformOverviewWindow::PrepareForOverview() { 313 void ScopedTransformOverviewWindow::PrepareForOverview() {
315 DCHECK(!overview_started_); 314 DCHECK(!overview_started_);
316 overview_started_ = true; 315 overview_started_ = true;
317 wm::GetWindowState(window_)->set_ignored_by_shelf(true); 316 wm::GetWindowState(window_)->set_ignored_by_shelf(true);
318 RestoreWindow(); 317 RestoreWindow();
319 } 318 }
320 319
321 } // namespace ash 320 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698