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

Side by Side Diff: ash/wm/overview/window_selector_item.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_selector_controller.h ('k') | ash/wm/overview/window_selector_panels.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 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_
6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/aura/window_observer.h" 10 #include "ui/aura/window_observer.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Sets if the item is dimmed in the overview. Changing the value will also 82 // Sets if the item is dimmed in the overview. Changing the value will also
83 // change the visibility of the transform windows. 83 // change the visibility of the transform windows.
84 virtual void SetDimmed(bool dimmed); 84 virtual void SetDimmed(bool dimmed);
85 bool dimmed() const { return dimmed_; } 85 bool dimmed() const { return dimmed_; }
86 86
87 const gfx::Rect& bounds() const { return bounds_; } 87 const gfx::Rect& bounds() const { return bounds_; }
88 const gfx::Rect& target_bounds() const { return target_bounds_; } 88 const gfx::Rect& target_bounds() const { return target_bounds_; }
89 89
90 // views::ButtonListener: 90 // views::ButtonListener:
91 virtual void ButtonPressed(views::Button* sender, 91 virtual void ButtonPressed(views::Button* sender,
92 const ui::Event& event) OVERRIDE; 92 const ui::Event& event) override;
93 93
94 // aura::WindowObserver: 94 // aura::WindowObserver:
95 virtual void OnWindowTitleChanged(aura::Window* window) OVERRIDE; 95 virtual void OnWindowTitleChanged(aura::Window* window) override;
96 96
97 protected: 97 protected:
98 // Sets the bounds of this selector's items to |target_bounds| in 98 // Sets the bounds of this selector's items to |target_bounds| in
99 // |root_window|. If |animate| the windows are animated from their current 99 // |root_window|. If |animate| the windows are animated from their current
100 // location. 100 // location.
101 virtual void SetItemBounds(aura::Window* root_window, 101 virtual void SetItemBounds(aura::Window* root_window,
102 const gfx::Rect& target_bounds, 102 const gfx::Rect& target_bounds,
103 bool animate) = 0; 103 bool animate) = 0;
104 104
105 // Sets the bounds used by the selector item's windows. 105 // Sets the bounds used by the selector item's windows.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // Transparent window on top of the real windows in the overview that 154 // Transparent window on top of the real windows in the overview that
155 // activates them on click or tap. 155 // activates them on click or tap.
156 scoped_ptr<TransparentActivateWindowButton> activate_window_button_; 156 scoped_ptr<TransparentActivateWindowButton> activate_window_button_;
157 157
158 DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem); 158 DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem);
159 }; 159 };
160 160
161 } // namespace ash 161 } // namespace ash
162 162
163 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ 163 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector_controller.h ('k') | ash/wm/overview/window_selector_panels.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698