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_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ |
6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ | 6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/shelf/shelf_types.h" | 9 #include "ash/shelf/shelf_types.h" |
10 #include "ash/wm/gestures/shelf_gesture_handler.h" | 10 #include "ash/wm/gestures/shelf_gesture_handler.h" |
| 11 #include "base/macros.h" |
11 #include "ui/gfx/image/image_skia.h" | 12 #include "ui/gfx/image/image_skia.h" |
12 #include "ui/views/accessible_pane_view.h" | 13 #include "ui/views/accessible_pane_view.h" |
13 #include "ui/views/widget/widget_delegate.h" | 14 #include "ui/views/widget/widget_delegate.h" |
14 | 15 |
15 namespace ash { | 16 namespace ash { |
16 class FocusCycler; | 17 class FocusCycler; |
17 | 18 |
18 class ASH_EXPORT StatusAreaWidgetDelegate : public views::AccessiblePaneView, | 19 class ASH_EXPORT StatusAreaWidgetDelegate : public views::AccessiblePaneView, |
19 public views::WidgetDelegate { | 20 public views::WidgetDelegate { |
20 public: | 21 public: |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 ShelfAlignment alignment_; | 59 ShelfAlignment alignment_; |
59 | 60 |
60 ShelfGestureHandler gesture_handler_; | 61 ShelfGestureHandler gesture_handler_; |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidgetDelegate); | 63 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidgetDelegate); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace ash | 66 } // namespace ash |
66 | 67 |
67 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ | 68 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ |
OLD | NEW |