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

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

Issue 802473003: Fix references to ui/gfx headers in a*/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_grid.h" 5 #include "ash/wm/overview/window_grid.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "ash/ash_switches.h" 12 #include "ash/ash_switches.h"
13 #include "ash/screen_util.h" 13 #include "ash/screen_util.h"
14 #include "ash/shell.h" 14 #include "ash/shell.h"
15 #include "ash/shell_window_ids.h" 15 #include "ash/shell_window_ids.h"
16 #include "ash/wm/overview/scoped_transform_overview_window.h" 16 #include "ash/wm/overview/scoped_transform_overview_window.h"
17 #include "ash/wm/overview/window_selector.h" 17 #include "ash/wm/overview/window_selector.h"
18 #include "ash/wm/overview/window_selector_item.h" 18 #include "ash/wm/overview/window_selector_item.h"
19 #include "ash/wm/window_state.h" 19 #include "ash/wm/window_state.h"
20 #include "base/command_line.h" 20 #include "base/command_line.h"
21 #include "base/i18n/string_search.h" 21 #include "base/i18n/string_search.h"
22 #include "base/memory/scoped_vector.h" 22 #include "base/memory/scoped_vector.h"
23 #include "third_party/skia/include/core/SkColor.h" 23 #include "third_party/skia/include/core/SkColor.h"
24 #include "ui/aura/window.h" 24 #include "ui/aura/window.h"
25 #include "ui/compositor/layer_animation_observer.h" 25 #include "ui/compositor/layer_animation_observer.h"
26 #include "ui/compositor/scoped_layer_animation_settings.h" 26 #include "ui/compositor/scoped_layer_animation_settings.h"
27 #include "ui/gfx/animation/tween.h" 27 #include "ui/gfx/animation/tween.h"
28 #include "ui/gfx/vector2d.h" 28 #include "ui/gfx/geometry/vector2d.h"
29 #include "ui/views/background.h" 29 #include "ui/views/background.h"
30 #include "ui/views/view.h" 30 #include "ui/views/view.h"
31 #include "ui/views/widget/widget.h" 31 #include "ui/views/widget/widget.h"
32 #include "ui/wm/core/window_animations.h" 32 #include "ui/wm/core/window_animations.h"
33 33
34 namespace ash { 34 namespace ash {
35 namespace { 35 namespace {
36 36
37 typedef std::vector<aura::Window*> Windows; 37 typedef std::vector<aura::Window*> Windows;
38 38
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 ui::LayerAnimator::IMMEDIATELY_ANIMATE_TO_NEW_TARGET); 498 ui::LayerAnimator::IMMEDIATELY_ANIMATE_TO_NEW_TARGET);
499 selection_widget_->SetBounds(SelectedWindow()->target_bounds()); 499 selection_widget_->SetBounds(SelectedWindow()->target_bounds());
500 selection_widget_->SetOpacity(kWindowOverviewSelectorOpacity); 500 selection_widget_->SetOpacity(kWindowOverviewSelectorOpacity);
501 return; 501 return;
502 } 502 }
503 selection_widget_->SetBounds(SelectedWindow()->target_bounds()); 503 selection_widget_->SetBounds(SelectedWindow()->target_bounds());
504 selection_widget_->SetOpacity(kWindowOverviewSelectorOpacity); 504 selection_widget_->SetOpacity(kWindowOverviewSelectorOpacity);
505 } 505 }
506 506
507 } // namespace ash 507 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/overview/scoped_transform_overview_window.h ('k') | ash/wm/overview/window_selector_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698