OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_DESKTOP_DESKTOP_BACKGROUND_H_ | 5 #ifndef UI_VIEWS_DESKTOP_DESKTOP_BACKGROUND_H_ |
6 #define VIEWS_DESKTOP_DESKTOP_BACKGROUND_H_ | 6 #define UI_VIEWS_DESKTOP_DESKTOP_BACKGROUND_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "views/background.h" | 9 #include "views/background.h" |
10 | 10 |
11 namespace views { | 11 namespace views { |
12 namespace desktop { | 12 namespace desktop { |
13 | 13 |
14 class DesktopBackground : public Background { | 14 class DesktopBackground : public Background { |
15 public: | 15 public: |
16 DesktopBackground(); | 16 DesktopBackground(); |
17 virtual ~DesktopBackground(); | 17 virtual ~DesktopBackground(); |
18 | 18 |
19 private: | 19 private: |
20 // Overridden from Background: | 20 // Overridden from Background: |
21 virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE; | 21 virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE; |
22 | 22 |
23 DISALLOW_COPY_AND_ASSIGN(DesktopBackground); | 23 DISALLOW_COPY_AND_ASSIGN(DesktopBackground); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace desktop | 26 } // namespace desktop |
27 } // namespace views | 27 } // namespace views |
28 | 28 |
29 #endif // VIEWS_DESKTOP_DESKTOP_BACKGROUND_H_ | 29 #endif // UI_VIEWS_DESKTOP_DESKTOP_BACKGROUND_H_ |
OLD | NEW |