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