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

Side by Side Diff: ash/wm/root_window_layout_manager.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/resize_shadow_controller.h ('k') | ash/wm/screen_dimmer.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ROOT_WINDOW_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_ROOT_WINDOW_LAYOUT_MANAGER_H_
6 #define ASH_WM_ROOT_WINDOW_LAYOUT_MANAGER_H_ 6 #define ASH_WM_ROOT_WINDOW_LAYOUT_MANAGER_H_
7 7
8 #include "ash/shell_window_ids.h" 8 #include "ash/shell_window_ids.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 16 matching lines...) Expand all
27 namespace ash { 27 namespace ash {
28 28
29 // A layout manager for the root window. 29 // A layout manager for the root window.
30 // Resizes all of its immediate children to fill the bounds of the root window. 30 // Resizes all of its immediate children to fill the bounds of the root window.
31 class RootWindowLayoutManager : public aura::LayoutManager { 31 class RootWindowLayoutManager : public aura::LayoutManager {
32 public: 32 public:
33 explicit RootWindowLayoutManager(aura::Window* owner); 33 explicit RootWindowLayoutManager(aura::Window* owner);
34 virtual ~RootWindowLayoutManager(); 34 virtual ~RootWindowLayoutManager();
35 35
36 // Overridden from aura::LayoutManager: 36 // Overridden from aura::LayoutManager:
37 virtual void OnWindowResized() OVERRIDE; 37 virtual void OnWindowResized() override;
38 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; 38 virtual void OnWindowAddedToLayout(aura::Window* child) override;
39 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; 39 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) override;
40 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE; 40 virtual void OnWindowRemovedFromLayout(aura::Window* child) override;
41 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 41 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
42 bool visible) OVERRIDE; 42 bool visible) override;
43 virtual void SetChildBounds(aura::Window* child, 43 virtual void SetChildBounds(aura::Window* child,
44 const gfx::Rect& requested_bounds) OVERRIDE; 44 const gfx::Rect& requested_bounds) override;
45 45
46 private: 46 private:
47 aura::Window* owner_; 47 aura::Window* owner_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(RootWindowLayoutManager); 49 DISALLOW_COPY_AND_ASSIGN(RootWindowLayoutManager);
50 }; 50 };
51 51
52 } // namespace ash 52 } // namespace ash
53 53
54 #endif // ASH_WM_ROOT_WINDOW_LAYOUT_MANAGER_H_ 54 #endif // ASH_WM_ROOT_WINDOW_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/resize_shadow_controller.h ('k') | ash/wm/screen_dimmer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698