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

Side by Side Diff: ash/wm/overview/window_selector.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/window_grid.cc ('k') | ash/wm/overview/window_selector.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 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_
6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 WindowSelectorDelegate* delegate); 70 WindowSelectorDelegate* delegate);
71 virtual ~WindowSelector(); 71 virtual ~WindowSelector();
72 72
73 // Cancels window selection. 73 // Cancels window selection.
74 void CancelSelection(); 74 void CancelSelection();
75 75
76 // Called when the last window selector item from a grid is deleted. 76 // Called when the last window selector item from a grid is deleted.
77 void OnGridEmpty(WindowGrid* grid); 77 void OnGridEmpty(WindowGrid* grid);
78 78
79 // gfx::DisplayObserver: 79 // gfx::DisplayObserver:
80 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; 80 virtual void OnDisplayAdded(const gfx::Display& display) override;
81 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; 81 virtual void OnDisplayRemoved(const gfx::Display& display) override;
82 virtual void OnDisplayMetricsChanged(const gfx::Display& display, 82 virtual void OnDisplayMetricsChanged(const gfx::Display& display,
83 uint32_t metrics) OVERRIDE; 83 uint32_t metrics) override;
84 84
85 // aura::WindowObserver: 85 // aura::WindowObserver:
86 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; 86 virtual void OnWindowAdded(aura::Window* new_window) override;
87 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 87 virtual void OnWindowDestroying(aura::Window* window) override;
88 88
89 // aura::client::ActivationChangeObserver: 89 // aura::client::ActivationChangeObserver:
90 virtual void OnWindowActivated(aura::Window* gained_active, 90 virtual void OnWindowActivated(aura::Window* gained_active,
91 aura::Window* lost_active) OVERRIDE; 91 aura::Window* lost_active) override;
92 virtual void OnAttemptToReactivateWindow( 92 virtual void OnAttemptToReactivateWindow(
93 aura::Window* request_active, 93 aura::Window* request_active,
94 aura::Window* actual_active) OVERRIDE; 94 aura::Window* actual_active) override;
95 95
96 // views::TextfieldController: 96 // views::TextfieldController:
97 virtual void ContentsChanged(views::Textfield* sender, 97 virtual void ContentsChanged(views::Textfield* sender,
98 const base::string16& new_contents) OVERRIDE; 98 const base::string16& new_contents) override;
99 virtual bool HandleKeyEvent(views::Textfield* sender, 99 virtual bool HandleKeyEvent(views::Textfield* sender,
100 const ui::KeyEvent& key_event) OVERRIDE; 100 const ui::KeyEvent& key_event) override;
101 101
102 private: 102 private:
103 friend class WindowSelectorTest; 103 friend class WindowSelectorTest;
104 104
105 // Begins positioning windows such that all windows are visible on the screen. 105 // Begins positioning windows such that all windows are visible on the screen.
106 void StartOverview(); 106 void StartOverview();
107 107
108 // Position all of the windows in the overview. 108 // Position all of the windows in the overview.
109 void PositionWindows(bool animate); 109 void PositionWindows(bool animate);
110 110
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // The number of times the text filtering textfield has been cleared of text 169 // The number of times the text filtering textfield has been cleared of text
170 // during this overview mode session. 170 // during this overview mode session.
171 size_t num_times_textfield_cleared_; 171 size_t num_times_textfield_cleared_;
172 172
173 DISALLOW_COPY_AND_ASSIGN(WindowSelector); 173 DISALLOW_COPY_AND_ASSIGN(WindowSelector);
174 }; 174 };
175 175
176 } // namespace ash 176 } // namespace ash
177 177
178 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ 178 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_
OLDNEW
« no previous file with comments | « ash/wm/overview/window_grid.cc ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698