| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_ | 5 #ifndef ASH_SYSTEM_CHROMEOS_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_ |
| 6 #define ASH_SYSTEM_CHROMEOS_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_ | 6 #define ASH_SYSTEM_CHROMEOS_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_ |
| 7 | 7 |
| 8 #include "ash/system/tray/system_tray_item.h" | 8 #include "ash/common/system/tray/system_tray_item.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "ui/message_center/notification_delegate.h" | 10 #include "ui/message_center/notification_delegate.h" |
| 11 #include "ui/views/view.h" | 11 #include "ui/views/view.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 namespace tray { | 14 namespace tray { |
| 15 class MultiProfileMediaTrayView; | 15 class MultiProfileMediaTrayView; |
| 16 } | 16 } |
| 17 | 17 |
| 18 // The tray item for media recording. | 18 // The tray item for media recording. |
| 19 class ASH_EXPORT MultiProfileMediaTrayItem : public SystemTrayItem { | 19 class ASH_EXPORT MultiProfileMediaTrayItem : public SystemTrayItem { |
| 20 public: | 20 public: |
| 21 explicit MultiProfileMediaTrayItem(SystemTray* system_tray); | 21 explicit MultiProfileMediaTrayItem(SystemTray* system_tray); |
| 22 ~MultiProfileMediaTrayItem() override; | 22 ~MultiProfileMediaTrayItem() override; |
| 23 | 23 |
| 24 // SystemTrayItem: | 24 // SystemTrayItem: |
| 25 views::View* CreateTrayView(LoginStatus status) override; | 25 views::View* CreateTrayView(LoginStatus status) override; |
| 26 void DestroyTrayView() override; | 26 void DestroyTrayView() override; |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 tray::MultiProfileMediaTrayView* tray_view_; | 29 tray::MultiProfileMediaTrayView* tray_view_; |
| 30 | 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(MultiProfileMediaTrayItem); | 31 DISALLOW_COPY_AND_ASSIGN(MultiProfileMediaTrayItem); |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 } // namespace ash | 34 } // namespace ash |
| 35 | 35 |
| 36 #endif // ASH_SYSTEM_CHROMEOS_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_ | 36 #endif // ASH_SYSTEM_CHROMEOS_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_ |
| OLD | NEW |