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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase 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/mus/network_connect_delegate_mus.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/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 // Chrome OS only. Other platforms use DefaultSystemTrayDelegate directly.
21 // 21 //
22 // TODO: Support all methods in SystemTrayDelegate. http://crbug.com/647412. 22 // TODO: Support all methods in SystemTrayDelegate. http://crbug.com/647412.
23 class SystemTrayDelegateMus : public DefaultSystemTrayDelegate { 23 class SystemTrayDelegateMus : public DefaultSystemTrayDelegate {
24 public: 24 public:
25 SystemTrayDelegateMus(); 25 SystemTrayDelegateMus();
26 ~SystemTrayDelegateMus() override; 26 ~SystemTrayDelegateMus() override;
27 27
28 private: 28 private:
29 // SystemTrayDelegate: 29 // SystemTrayDelegate:
30 NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; 30 NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override;
31 31
32 std::unique_ptr<NetworkingConfigDelegate> networking_config_delegate_; 32 std::unique_ptr<NetworkingConfigDelegate> networking_config_delegate_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateMus); 34 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateMus);
35 }; 35 };
36 36
37 } // namespace ash 37 } // namespace ash
38 38
39 #endif // ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ 39 #endif // ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_
OLDNEW
« no previous file with comments | « ash/mus/network_connect_delegate_mus.cc ('k') | ash/mus/system_tray_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698