| 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_MEDIA_SECURITY_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_MEDIA_SECURITY_MULTI_PROFILE_MEDIA_TRAY_ITEM_
H_ |
| 6 #define ASH_SYSTEM_CHROMEOS_MEDIA_SECURITY_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_MEDIA_SECURITY_MULTI_PROFILE_MEDIA_TRAY_ITEM_
H_ |
| 7 | 7 |
| 8 #include "ash/common/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" | |
| 11 #include "ui/views/view.h" | |
| 12 | 10 |
| 13 namespace ash { | 11 namespace ash { |
| 12 |
| 14 namespace tray { | 13 namespace tray { |
| 15 class MultiProfileMediaTrayView; | 14 class MultiProfileMediaTrayView; |
| 16 } | 15 } |
| 17 | 16 |
| 18 // The tray item for media recording. | 17 // The tray item for media recording. |
| 19 class ASH_EXPORT MultiProfileMediaTrayItem : public SystemTrayItem { | 18 class ASH_EXPORT MultiProfileMediaTrayItem : public SystemTrayItem { |
| 20 public: | 19 public: |
| 21 explicit MultiProfileMediaTrayItem(SystemTray* system_tray); | 20 explicit MultiProfileMediaTrayItem(SystemTray* system_tray); |
| 22 ~MultiProfileMediaTrayItem() override; | 21 ~MultiProfileMediaTrayItem() override; |
| 23 | 22 |
| 24 // SystemTrayItem: | 23 // SystemTrayItem: |
| 25 views::View* CreateTrayView(LoginStatus status) override; | 24 views::View* CreateTrayView(LoginStatus status) override; |
| 26 void DestroyTrayView() override; | 25 void DestroyTrayView() override; |
| 27 | 26 |
| 28 private: | 27 private: |
| 29 tray::MultiProfileMediaTrayView* tray_view_; | 28 tray::MultiProfileMediaTrayView* tray_view_; |
| 30 | 29 |
| 31 DISALLOW_COPY_AND_ASSIGN(MultiProfileMediaTrayItem); | 30 DISALLOW_COPY_AND_ASSIGN(MultiProfileMediaTrayItem); |
| 32 }; | 31 }; |
| 33 | 32 |
| 34 } // namespace ash | 33 } // namespace ash |
| 35 | 34 |
| 36 #endif // ASH_SYSTEM_CHROMEOS_MEDIA_SECURITY_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_ | 35 #endif // ASH_COMMON_SYSTEM_CHROMEOS_MEDIA_SECURITY_MULTI_PROFILE_MEDIA_TRAY_IT
EM_H_ |
| OLD | NEW |