| 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 "base/macros.h" |
| 8 #include "ui/events/event.h" | 9 #include "ui/events/event.h" |
| 9 #include "ui/gfx/image/image_skia.h" | 10 #include "ui/gfx/image/image_skia.h" |
| 10 #include "ui/views/context_menu_controller.h" | 11 #include "ui/views/context_menu_controller.h" |
| 11 #include "ui/views/view.h" | 12 #include "ui/views/view.h" |
| 12 | 13 |
| 13 namespace ash { | 14 namespace ash { |
| 14 | 15 |
| 15 class PreEventDispatchHandler; | 16 class PreEventDispatchHandler; |
| 16 | 17 |
| 17 class DesktopBackgroundView : public views::View, | 18 class DesktopBackgroundView : public views::View, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 const gfx::Point& point, | 33 const gfx::Point& point, |
| 33 ui::MenuSourceType source_type) override; | 34 ui::MenuSourceType source_type) override; |
| 34 scoped_ptr<PreEventDispatchHandler> pre_dispatch_handler_; | 35 scoped_ptr<PreEventDispatchHandler> pre_dispatch_handler_; |
| 35 | 36 |
| 36 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundView); | 37 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundView); |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 } // namespace ash | 40 } // namespace ash |
| 40 | 41 |
| 41 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ | 42 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_VIEW_H_ |
| OLD | NEW |