OLD | NEW |
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_VIEW_H_ | 5 #ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ |
6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ | 6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ |
7 | 7 |
8 #include "ash/desktop_background/desktop_background_resources.h" | |
9 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
10 #include "ui/views/context_menu_controller.h" | 9 #include "ui/views/context_menu_controller.h" |
11 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
12 #include "ui/views/widget/widget_delegate.h" | 11 #include "ui/views/widget/widget_delegate.h" |
13 | 12 |
14 namespace ash { | 13 namespace ash { |
15 namespace internal { | 14 namespace internal { |
16 | 15 |
17 class DesktopBackgroundView : public views::WidgetDelegateView, | 16 class DesktopBackgroundView : public views::WidgetDelegateView, |
18 public views::ContextMenuController { | 17 public views::ContextMenuController { |
(...skipping 10 matching lines...) Expand all Loading... |
29 virtual void ShowContextMenuForView(views::View* source, | 28 virtual void ShowContextMenuForView(views::View* source, |
30 const gfx::Point& point) OVERRIDE; | 29 const gfx::Point& point) OVERRIDE; |
31 | 30 |
32 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundView); | 31 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundView); |
33 }; | 32 }; |
34 | 33 |
35 } // namespace internal | 34 } // namespace internal |
36 } // namespace ash | 35 } // namespace ash |
37 | 36 |
38 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ | 37 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ |
OLD | NEW |