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

Side by Side Diff: ash/common/wm/overview/window_selector.cc

Issue 2286323004: Remove vector_icons.gypi (Closed)
Patch Set: Missing includes Created 4 years, 3 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 | « no previous file | ash/common/wm/overview/window_selector_item.cc » ('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/common/wm/overview/window_selector.h" 5 #include "ash/common/wm/overview/window_selector.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 23 matching lines...) Expand all
34 #include "base/metrics/histogram.h" 34 #include "base/metrics/histogram.h"
35 #include "third_party/skia/include/core/SkPaint.h" 35 #include "third_party/skia/include/core/SkPaint.h"
36 #include "third_party/skia/include/core/SkPath.h" 36 #include "third_party/skia/include/core/SkPath.h"
37 #include "ui/base/resource/resource_bundle.h" 37 #include "ui/base/resource/resource_bundle.h"
38 #include "ui/compositor/scoped_layer_animation_settings.h" 38 #include "ui/compositor/scoped_layer_animation_settings.h"
39 #include "ui/display/screen.h" 39 #include "ui/display/screen.h"
40 #include "ui/events/event.h" 40 #include "ui/events/event.h"
41 #include "ui/gfx/canvas.h" 41 #include "ui/gfx/canvas.h"
42 #include "ui/gfx/paint_vector_icon.h" 42 #include "ui/gfx/paint_vector_icon.h"
43 #include "ui/gfx/skia_util.h" 43 #include "ui/gfx/skia_util.h"
44 #include "ui/gfx/vector_icons.h" 44 #include "ui/gfx/vector_icons_public.h"
45 #include "ui/views/border.h" 45 #include "ui/views/border.h"
46 #include "ui/views/controls/image_view.h" 46 #include "ui/views/controls/image_view.h"
47 #include "ui/views/controls/textfield/textfield.h" 47 #include "ui/views/controls/textfield/textfield.h"
48 #include "ui/views/layout/box_layout.h" 48 #include "ui/views/layout/box_layout.h"
49 49
50 namespace ash { 50 namespace ash {
51 51
52 namespace { 52 namespace {
53 53
54 // The proportion of screen width that the text filter takes. 54 // The proportion of screen width that the text filter takes.
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 for (size_t i = 0; i <= grid_list_.size() && 719 for (size_t i = 0; i <= grid_list_.size() &&
720 grid_list_[selected_grid_index_]->Move(direction, animate); 720 grid_list_[selected_grid_index_]->Move(direction, animate);
721 i++) { 721 i++) {
722 selected_grid_index_ = 722 selected_grid_index_ =
723 (selected_grid_index_ + display_direction + grid_list_.size()) % 723 (selected_grid_index_ + display_direction + grid_list_.size()) %
724 grid_list_.size(); 724 grid_list_.size();
725 } 725 }
726 } 726 }
727 727
728 } // namespace ash 728 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | ash/common/wm/overview/window_selector_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698