| 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_COMMON_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ | 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ |
| 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ | 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "ash/common/shelf/shelf_background_animator_observer.h" | 11 #include "ash/common/shelf/shelf_background_animator_observer.h" |
| 12 #include "ash/common/system/tray/actionable_view.h" | 12 #include "ash/common/system/tray/actionable_view.h" |
| 13 #include "ash/public/cpp/shelf_types.h" | 13 #include "ash/public/cpp/shelf_types.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "ui/compositor/layer_animation_observer.h" | 15 #include "ui/compositor/layer_animation_observer.h" |
| 16 #include "ui/gfx/geometry/insets.h" | 16 #include "ui/gfx/geometry/insets.h" |
| 17 #include "ui/views/bubble/tray_bubble_view.h" | 17 #include "ui/views/bubble/tray_bubble_view.h" |
| 18 | 18 |
| 19 namespace ash { | 19 namespace ash { |
| 20 class ShelfLayoutManager; | |
| 21 class TrayEventFilter; | 20 class TrayEventFilter; |
| 22 class TrayBackground; | 21 class TrayBackground; |
| 23 class WmShelf; | 22 class WmShelf; |
| 24 | 23 |
| 25 // Base class for children of StatusAreaWidget: SystemTray, WebNotificationTray, | 24 // Base class for children of StatusAreaWidget: SystemTray, WebNotificationTray, |
| 26 // LogoutButtonTray, OverviewButtonTray. | 25 // LogoutButtonTray, OverviewButtonTray. |
| 27 // This class handles setting and animating the background when the Launcher | 26 // This class handles setting and animating the background when the Launcher |
| 28 // is shown/hidden. It also inherits from ActionableView so that the tray | 27 // is shown/hidden. It also inherits from ActionableView so that the tray |
| 29 // items can override PerformAction when clicked on. | 28 // items can override PerformAction when clicked on. |
| 30 class ASH_EXPORT TrayBackgroundView : public ActionableView, | 29 class ASH_EXPORT TrayBackgroundView : public ActionableView, |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 189 |
| 191 std::unique_ptr<TrayWidgetObserver> widget_observer_; | 190 std::unique_ptr<TrayWidgetObserver> widget_observer_; |
| 192 std::unique_ptr<TrayEventFilter> tray_event_filter_; | 191 std::unique_ptr<TrayEventFilter> tray_event_filter_; |
| 193 | 192 |
| 194 DISALLOW_COPY_AND_ASSIGN(TrayBackgroundView); | 193 DISALLOW_COPY_AND_ASSIGN(TrayBackgroundView); |
| 195 }; | 194 }; |
| 196 | 195 |
| 197 } // namespace ash | 196 } // namespace ash |
| 198 | 197 |
| 199 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ | 198 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ |
| OLD | NEW |