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

Side by Side Diff: chrome/browser/ui/ash/system_tray_client.h

Issue 2411223002: chromeos: Refactor system tray Wi-Fi connect dialog so it works with mash (Closed)
Patch Set: NON_EXPORTED_BASE Created 4 years, 2 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 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 16 matching lines...) Expand all
27 void ShowDisplaySettings() override; 27 void ShowDisplaySettings() override;
28 void ShowPowerSettings() override; 28 void ShowPowerSettings() override;
29 void ShowChromeSlow() override; 29 void ShowChromeSlow() override;
30 void ShowIMESettings() override; 30 void ShowIMESettings() override;
31 void ShowHelp() override; 31 void ShowHelp() override;
32 void ShowAccessibilityHelp() override; 32 void ShowAccessibilityHelp() override;
33 void ShowAccessibilitySettings() override; 33 void ShowAccessibilitySettings() override;
34 void ShowPaletteHelp() override; 34 void ShowPaletteHelp() override;
35 void ShowPaletteSettings() override; 35 void ShowPaletteSettings() override;
36 void ShowPublicAccountInfo() override; 36 void ShowPublicAccountInfo() override;
37 void ShowNetworkConfigure(const std::string& network_id) override;
37 void ShowNetworkSettings(const std::string& network_id) override; 38 void ShowNetworkSettings(const std::string& network_id) override;
38 void ShowProxySettings() override; 39 void ShowProxySettings() override;
39 40
40 private: 41 private:
41 // chromeos::system::SystemClockObserver: 42 // chromeos::system::SystemClockObserver:
42 void OnSystemClockChanged(chromeos::system::SystemClock* clock) override; 43 void OnSystemClockChanged(chromeos::system::SystemClock* clock) override;
43 44
44 // Connects or reconnects the |system_tray_| interface. 45 // Connects or reconnects the |system_tray_| interface.
45 void ConnectToSystemTray(); 46 void ConnectToSystemTray();
46 47
47 // Handles errors on the |system_tray_| interface connection. 48 // Handles errors on the |system_tray_| interface connection.
48 void OnClientConnectionError(); 49 void OnClientConnectionError();
49 50
50 // System tray mojo service in ash. 51 // System tray mojo service in ash.
51 ash::mojom::SystemTrayPtr system_tray_; 52 ash::mojom::SystemTrayPtr system_tray_;
52 53
53 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient); 54 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient);
54 }; 55 };
55 56
56 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ 57 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698