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

Side by Side Diff: ash/common/system/chromeos/enterprise/tray_enterprise.h

Issue 2108403004: mash: Move several chromeos system tray items to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@audio
Patch Set: Rebase 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ENTERPRISE_TRAY_ENTERPRISE_H 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H_
6 #define ASH_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H 6 #define ASH_COMMON_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H_
7 7
8 #include "ash/common/system/chromeos/enterprise/enterprise_domain_observer.h" 8 #include "ash/common/system/chromeos/enterprise/enterprise_domain_observer.h"
9 #include "ash/common/system/tray/system_tray_item.h" 9 #include "ash/common/system/tray/system_tray_item.h"
10 #include "ash/common/system/tray/view_click_listener.h" 10 #include "ash/common/system/tray/view_click_listener.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 12
13 namespace views {
14 class View;
15 }
16
17 namespace ash { 13 namespace ash {
18 class LabelTrayView; 14 class LabelTrayView;
19 class SystemTray; 15 class SystemTray;
20 16
21 class TrayEnterprise : public SystemTrayItem, 17 class TrayEnterprise : public SystemTrayItem,
22 public ViewClickListener, 18 public ViewClickListener,
23 public EnterpriseDomainObserver { 19 public EnterpriseDomainObserver {
24 public: 20 public:
25 explicit TrayEnterprise(SystemTray* system_tray); 21 explicit TrayEnterprise(SystemTray* system_tray);
26 ~TrayEnterprise() override; 22 ~TrayEnterprise() override;
(...skipping 13 matching lines...) Expand all
40 void OnViewClicked(views::View* sender) override; 36 void OnViewClicked(views::View* sender) override;
41 37
42 private: 38 private:
43 LabelTrayView* tray_view_; 39 LabelTrayView* tray_view_;
44 40
45 DISALLOW_COPY_AND_ASSIGN(TrayEnterprise); 41 DISALLOW_COPY_AND_ASSIGN(TrayEnterprise);
46 }; 42 };
47 43
48 } // namespace ash 44 } // namespace ash
49 45
50 #endif // ASH_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H 46 #endif // ASH_COMMON_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H_
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/bluetooth/tray_bluetooth.cc ('k') | ash/common/system/chromeos/enterprise/tray_enterprise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698