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

Side by Side Diff: ash/wm/overview/window_selector_window.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
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_WINDOW_H_ 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_WINDOW_H_
6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_WINDOW_H_ 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_WINDOW_H_
7 7
8 #include "ash/wm/overview/scoped_transform_overview_window.h" 8 #include "ash/wm/overview/scoped_transform_overview_window.h"
9 #include "ash/wm/overview/window_selector_item.h" 9 #include "ash/wm/overview/window_selector_item.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 10 matching lines...) Expand all
21 namespace ash { 21 namespace ash {
22 22
23 // This implements a window overview item with a single window which can be 23 // This implements a window overview item with a single window which can be
24 // selected. 24 // selected.
25 class WindowSelectorWindow : public WindowSelectorItem { 25 class WindowSelectorWindow : public WindowSelectorItem {
26 public: 26 public:
27 explicit WindowSelectorWindow(aura::Window* window); 27 explicit WindowSelectorWindow(aura::Window* window);
28 virtual ~WindowSelectorWindow(); 28 virtual ~WindowSelectorWindow();
29 29
30 // WindowSelectorItem: 30 // WindowSelectorItem:
31 virtual aura::Window* GetRootWindow() OVERRIDE; 31 virtual aura::Window* GetRootWindow() override;
32 virtual bool HasSelectableWindow(const aura::Window* window) OVERRIDE; 32 virtual bool HasSelectableWindow(const aura::Window* window) override;
33 virtual bool Contains(const aura::Window* target) OVERRIDE; 33 virtual bool Contains(const aura::Window* target) override;
34 virtual void RestoreWindowOnExit(aura::Window* window) OVERRIDE; 34 virtual void RestoreWindowOnExit(aura::Window* window) override;
35 virtual aura::Window* SelectionWindow() OVERRIDE; 35 virtual aura::Window* SelectionWindow() override;
36 virtual void RemoveWindow(const aura::Window* window) OVERRIDE; 36 virtual void RemoveWindow(const aura::Window* window) override;
37 virtual bool empty() const OVERRIDE; 37 virtual bool empty() const override;
38 virtual void PrepareForOverview() OVERRIDE; 38 virtual void PrepareForOverview() override;
39 virtual void SetItemBounds(aura::Window* root_window, 39 virtual void SetItemBounds(aura::Window* root_window,
40 const gfx::Rect& target_bounds, 40 const gfx::Rect& target_bounds,
41 bool animate) OVERRIDE; 41 bool animate) override;
42 virtual void SetOpacity(float opacity) OVERRIDE; 42 virtual void SetOpacity(float opacity) override;
43 43
44 private: 44 private:
45 // The window with a scoped transform represented by this selector item. 45 // The window with a scoped transform represented by this selector item.
46 ScopedTransformOverviewWindow transform_window_; 46 ScopedTransformOverviewWindow transform_window_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(WindowSelectorWindow); 48 DISALLOW_COPY_AND_ASSIGN(WindowSelectorWindow);
49 }; 49 };
50 50
51 } // namespace ash 51 } // namespace ash
52 52
53 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_WINDOW_H_ 53 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_WINDOW_H_
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | ash/wm/panels/attached_panel_window_targeter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698