OLD | NEW |
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 CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ |
6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ | 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ |
7 | 7 |
8 #include "ash/public/interfaces/system_tray.mojom.h" | 8 #include "ash/public/interfaces/system_tray.mojom.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "chrome/browser/chromeos/system/system_clock_observer.h" | 10 #include "chrome/browser/chromeos/system/system_clock_observer.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 void ShowAccessibilitySettings() override; | 56 void ShowAccessibilitySettings() override; |
57 void ShowPaletteHelp() override; | 57 void ShowPaletteHelp() override; |
58 void ShowPaletteSettings() override; | 58 void ShowPaletteSettings() override; |
59 void ShowPublicAccountInfo() override; | 59 void ShowPublicAccountInfo() override; |
60 void ShowNetworkConfigure(const std::string& network_id) override; | 60 void ShowNetworkConfigure(const std::string& network_id) override; |
61 void ShowNetworkCreate(const std::string& type) override; | 61 void ShowNetworkCreate(const std::string& type) override; |
62 void ShowThirdPartyVpnCreate(const std::string& extension_id) override; | 62 void ShowThirdPartyVpnCreate(const std::string& extension_id) override; |
63 void ShowNetworkSettings(const std::string& network_id) override; | 63 void ShowNetworkSettings(const std::string& network_id) override; |
64 void ShowProxySettings() override; | 64 void ShowProxySettings() override; |
65 void SignOut() override; | 65 void SignOut() override; |
66 void RequestRestartForUpdate() override; | 66 void RequestRestartForUpdate(bool always_reboot) override; |
67 | 67 |
68 private: | 68 private: |
69 // chromeos::system::SystemClockObserver: | 69 // chromeos::system::SystemClockObserver: |
70 void OnSystemClockChanged(chromeos::system::SystemClock* clock) override; | 70 void OnSystemClockChanged(chromeos::system::SystemClock* clock) override; |
71 | 71 |
72 // System tray mojo service in ash. | 72 // System tray mojo service in ash. |
73 ash::mojom::SystemTrayPtr system_tray_; | 73 ash::mojom::SystemTrayPtr system_tray_; |
74 | 74 |
75 // Binds this object to the client interface. | 75 // Binds this object to the client interface. |
76 mojo::Binding<ash::mojom::SystemTrayClient> binding_; | 76 mojo::Binding<ash::mojom::SystemTrayClient> binding_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient); | 78 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient); |
79 }; | 79 }; |
80 | 80 |
81 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ | 81 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ |
OLD | NEW |