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

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

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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/window_selector.h ('k') | ash/wm/overview/window_selector_controller.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/common/wm/overview/window_selector.h" 5 #include "ash/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>
11 #include <vector> 11 #include <vector>
12 12
13 #include "ash/common/accessibility_delegate.h" 13 #include "ash/accessibility_delegate.h"
14 #include "ash/common/accessibility_types.h" 14 #include "ash/accessibility_types.h"
15 #include "ash/common/metrics/user_metrics_action.h" 15 #include "ash/metrics/user_metrics_action.h"
16 #include "ash/common/shelf/wm_shelf.h"
17 #include "ash/common/wm/mru_window_tracker.h"
18 #include "ash/common/wm/overview/window_grid.h"
19 #include "ash/common/wm/overview/window_selector_delegate.h"
20 #include "ash/common/wm/overview/window_selector_item.h"
21 #include "ash/common/wm/panels/panel_layout_manager.h"
22 #include "ash/common/wm/switchable_windows.h"
23 #include "ash/common/wm/window_state.h"
24 #include "ash/common/wm/wm_screen_util.h"
25 #include "ash/common/wm_shell.h"
26 #include "ash/common/wm_window.h"
27 #include "ash/public/cpp/shell_window_ids.h" 16 #include "ash/public/cpp/shell_window_ids.h"
28 #include "ash/root_window_controller.h" 17 #include "ash/root_window_controller.h"
18 #include "ash/shelf/wm_shelf.h"
19 #include "ash/wm/mru_window_tracker.h"
20 #include "ash/wm/overview/window_grid.h"
21 #include "ash/wm/overview/window_selector_delegate.h"
22 #include "ash/wm/overview/window_selector_item.h"
23 #include "ash/wm/panels/panel_layout_manager.h"
24 #include "ash/wm/switchable_windows.h"
25 #include "ash/wm/window_state.h"
26 #include "ash/wm/wm_screen_util.h"
27 #include "ash/wm_shell.h"
28 #include "ash/wm_window.h"
29 #include "base/auto_reset.h" 29 #include "base/auto_reset.h"
30 #include "base/command_line.h" 30 #include "base/command_line.h"
31 #include "base/metrics/histogram_macros.h" 31 #include "base/metrics/histogram_macros.h"
32 #include "third_party/skia/include/core/SkPath.h" 32 #include "third_party/skia/include/core/SkPath.h"
33 #include "ui/base/resource/resource_bundle.h" 33 #include "ui/base/resource/resource_bundle.h"
34 #include "ui/compositor/scoped_layer_animation_settings.h" 34 #include "ui/compositor/scoped_layer_animation_settings.h"
35 #include "ui/display/screen.h" 35 #include "ui/display/screen.h"
36 #include "ui/events/event.h" 36 #include "ui/events/event.h"
37 #include "ui/gfx/canvas.h" 37 #include "ui/gfx/canvas.h"
38 #include "ui/gfx/paint_vector_icon.h" 38 #include "ui/gfx/paint_vector_icon.h"
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 for (size_t i = 0; i <= grid_list_.size() && 676 for (size_t i = 0; i <= grid_list_.size() &&
677 grid_list_[selected_grid_index_]->Move(direction, animate); 677 grid_list_[selected_grid_index_]->Move(direction, animate);
678 i++) { 678 i++) {
679 selected_grid_index_ = 679 selected_grid_index_ =
680 (selected_grid_index_ + display_direction + grid_list_.size()) % 680 (selected_grid_index_ + display_direction + grid_list_.size()) %
681 grid_list_.size(); 681 grid_list_.size();
682 } 682 }
683 } 683 }
684 684
685 } // namespace ash 685 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector.h ('k') | ash/wm/overview/window_selector_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698