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

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

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/transparent_activate_window_button.h ('k') | ash/wm/overview/window_grid.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 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 #ifndef ASH_WM_OVERVIEW_WINDOW_GRID_H_ 5 #ifndef ASH_WM_OVERVIEW_WINDOW_GRID_H_
6 #define ASH_WM_OVERVIEW_WINDOW_GRID_H_ 6 #define ASH_WM_OVERVIEW_WINDOW_GRID_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/wm/overview/window_selector.h" 10 #include "ash/wm/overview/window_selector.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 bool is_selecting() const { return selection_widget_ != NULL; } 86 bool is_selecting() const { return selection_widget_ != NULL; }
87 87
88 // Returns the root window in which the grid displays the windows. 88 // Returns the root window in which the grid displays the windows.
89 const aura::Window* root_window() const { return root_window_; } 89 const aura::Window* root_window() const { return root_window_; }
90 90
91 const std::vector<WindowSelectorItem*>& window_list() const { 91 const std::vector<WindowSelectorItem*>& window_list() const {
92 return window_list_.get(); 92 return window_list_.get();
93 } 93 }
94 94
95 // aura::WindowObserver: 95 // aura::WindowObserver:
96 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 96 virtual void OnWindowDestroying(aura::Window* window) override;
97 // TODO(flackr): Handle window bounds changed in WindowSelectorItem. 97 // TODO(flackr): Handle window bounds changed in WindowSelectorItem.
98 virtual void OnWindowBoundsChanged(aura::Window* window, 98 virtual void OnWindowBoundsChanged(aura::Window* window,
99 const gfx::Rect& old_bounds, 99 const gfx::Rect& old_bounds,
100 const gfx::Rect& new_bounds) OVERRIDE; 100 const gfx::Rect& new_bounds) override;
101 101
102 private: 102 private:
103 friend class WindowSelectorTest; 103 friend class WindowSelectorTest;
104 104
105 // Internal function to initialize the selection widget. 105 // Internal function to initialize the selection widget.
106 void InitSelectionWidget(WindowSelector::Direction direction); 106 void InitSelectionWidget(WindowSelector::Direction direction);
107 107
108 // Moves the selection widget to the specified |direction|. 108 // Moves the selection widget to the specified |direction|.
109 void MoveSelectionWidget(WindowSelector::Direction direction, 109 void MoveSelectionWidget(WindowSelector::Direction direction,
110 bool recreate_selection_widget, 110 bool recreate_selection_widget,
(...skipping 26 matching lines...) Expand all
137 137
138 // Number of columns in the grid. 138 // Number of columns in the grid.
139 size_t num_columns_; 139 size_t num_columns_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(WindowGrid); 141 DISALLOW_COPY_AND_ASSIGN(WindowGrid);
142 }; 142 };
143 143
144 } // namespace ash 144 } // namespace ash
145 145
146 #endif // ASH_WM_OVERVIEW_WINDOW_GRID_H_ 146 #endif // ASH_WM_OVERVIEW_WINDOW_GRID_H_
OLDNEW
« no previous file with comments | « ash/wm/overview/transparent_activate_window_button.h ('k') | ash/wm/overview/window_grid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698