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

Side by Side Diff: ash/mus/system_tray_delegate_mus.h

Issue 2741403004: mash: Update LoginStatus with session state updates (Closed)
Patch Set: Created 3 years, 9 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/common/wm_shell.cc ('k') | ash/mus/system_tray_delegate_mus.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ 5 #ifndef ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_
6 #define ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ 6 #define ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/common/system/tray/default_system_tray_delegate.h" 10 #include "ash/common/system/tray/default_system_tray_delegate.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 class NetworkingConfigDelegate; 15 class NetworkingConfigDelegate;
16 16
17 // Handles the settings displayed in the system tray menu. For the classic ash 17 // Handles the settings displayed in the system tray menu. For the classic ash
18 // version see SystemTrayDelegateChromeOS. 18 // version see SystemTrayDelegateChromeOS.
19 // 19 //
20 // Chrome OS only. Other platforms use DefaultSystemTrayDelegate directly. 20 // TODO: Replace with SystemTrayController. http://crbug.com/647412.
21 //
22 // TODO: Support all methods in SystemTrayDelegate. http://crbug.com/647412.
23 class SystemTrayDelegateMus : public DefaultSystemTrayDelegate { 21 class SystemTrayDelegateMus : public DefaultSystemTrayDelegate {
24 public: 22 public:
25 SystemTrayDelegateMus(); 23 SystemTrayDelegateMus();
26 ~SystemTrayDelegateMus() override; 24 ~SystemTrayDelegateMus() override;
27 25
28 private: 26 private:
29 // SystemTrayDelegate: 27 // SystemTrayDelegate:
28 LoginStatus GetUserLoginStatus() const override;
30 NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; 29 NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override;
31 30
32 std::unique_ptr<NetworkingConfigDelegate> networking_config_delegate_; 31 std::unique_ptr<NetworkingConfigDelegate> networking_config_delegate_;
33 32
34 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateMus); 33 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateMus);
35 }; 34 };
36 35
37 } // namespace ash 36 } // namespace ash
38 37
39 #endif // ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ 38 #endif // ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_
OLDNEW
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/mus/system_tray_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698