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

Side by Side Diff: ash/desktop_background/desktop_background_widget_controller.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 (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_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_ 5 #ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_
6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_ 6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
(...skipping 10 matching lines...) Expand all
21 // destroyed. Exported for tests. 21 // destroyed. Exported for tests.
22 class ASH_EXPORT DesktopBackgroundWidgetController 22 class ASH_EXPORT DesktopBackgroundWidgetController
23 : public views::WidgetObserver { 23 : public views::WidgetObserver {
24 public: 24 public:
25 // Create 25 // Create
26 explicit DesktopBackgroundWidgetController(views::Widget* widget); 26 explicit DesktopBackgroundWidgetController(views::Widget* widget);
27 27
28 virtual ~DesktopBackgroundWidgetController(); 28 virtual ~DesktopBackgroundWidgetController();
29 29
30 // Overridden from views::WidgetObserver. 30 // Overridden from views::WidgetObserver.
31 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; 31 virtual void OnWidgetDestroying(views::Widget* widget) override;
32 32
33 // Set bounds of component that draws background. 33 // Set bounds of component that draws background.
34 void SetBounds(gfx::Rect bounds); 34 void SetBounds(gfx::Rect bounds);
35 35
36 // Move component from |src_container| in |root_window| to |dest_container|. 36 // Move component from |src_container| in |root_window| to |dest_container|.
37 // It is required for lock screen, when we need to move background so that 37 // It is required for lock screen, when we need to move background so that
38 // it hides user's windows. Returns true if there was something to reparent. 38 // it hides user's windows. Returns true if there was something to reparent.
39 bool Reparent(aura::Window* root_window, 39 bool Reparent(aura::Window* root_window,
40 int src_container, 40 int src_container,
41 int dest_container); 41 int dest_container);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 private: 85 private:
86 scoped_ptr<DesktopBackgroundWidgetController> controller_; 86 scoped_ptr<DesktopBackgroundWidgetController> controller_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(AnimatingDesktopController); 88 DISALLOW_COPY_AND_ASSIGN(AnimatingDesktopController);
89 }; 89 };
90 90
91 } // namespace ash 91 } // namespace ash
92 92
93 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_ 93 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/desktop_background/desktop_background_view.cc ('k') | ash/desktop_background/desktop_background_widget_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698