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

Side by Side Diff: ash/common/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
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/system/chromeos/media_security/multi_profile_media_tray_item.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/system/chromeos/media_security/multi_profile_media_tray_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698