Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(623)

Side by Side Diff: ash/system/tray/media_security/multi_profile_media_tray_item.h

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "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(user::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_
OLDNEW
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | ash/system/tray/media_security/multi_profile_media_tray_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698