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

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

Issue 2144783002: mash: Move MultiProfileMediaTrayItem to ash/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 4 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_SYSTEM_CHROMEOS_MEDIA_SECURITY_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_
6 #define ASH_SYSTEM_CHROMEOS_MEDIA_SECURITY_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_
7
8 #include "ash/common/system/tray/system_tray_item.h"
9 #include "base/macros.h"
10 #include "ui/message_center/notification_delegate.h"
11 #include "ui/views/view.h"
12
13 namespace ash {
14 namespace tray {
15 class MultiProfileMediaTrayView;
16 }
17
18 // The tray item for media recording.
19 class ASH_EXPORT MultiProfileMediaTrayItem : public SystemTrayItem {
20 public:
21 explicit MultiProfileMediaTrayItem(SystemTray* system_tray);
22 ~MultiProfileMediaTrayItem() override;
23
24 // SystemTrayItem:
25 views::View* CreateTrayView(LoginStatus status) override;
26 void DestroyTrayView() override;
27
28 private:
29 tray::MultiProfileMediaTrayView* tray_view_;
30
31 DISALLOW_COPY_AND_ASSIGN(MultiProfileMediaTrayItem);
32 };
33
34 } // namespace ash
35
36 #endif // ASH_SYSTEM_CHROMEOS_MEDIA_SECURITY_MULTI_PROFILE_MEDIA_TRAY_ITEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698