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

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

Issue 2513673004: Reland: chromeos: Convert ash VPNDelegate interface to mojo (Closed)
Patch Set: fix manifest for reland Created 4 years 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 | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/system_tray_client.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 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void ShowChromeSlow() override; 52 void ShowChromeSlow() override;
53 void ShowIMESettings() override; 53 void ShowIMESettings() override;
54 void ShowHelp() override; 54 void ShowHelp() override;
55 void ShowAccessibilityHelp() override; 55 void ShowAccessibilityHelp() override;
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 ShowNetworkSettings(const std::string& network_id) override; 63 void ShowNetworkSettings(const std::string& network_id) override;
63 void ShowProxySettings() override; 64 void ShowProxySettings() override;
64 void SignOut() override; 65 void SignOut() override;
65 void RequestRestartForUpdate() override; 66 void RequestRestartForUpdate() override;
66 67
67 private: 68 private:
68 // chromeos::system::SystemClockObserver: 69 // chromeos::system::SystemClockObserver:
69 void OnSystemClockChanged(chromeos::system::SystemClock* clock) override; 70 void OnSystemClockChanged(chromeos::system::SystemClock* clock) override;
70 71
71 // Connects or reconnects the |system_tray_| interface. 72 // Connects or reconnects the |system_tray_| interface.
72 void ConnectToSystemTray(); 73 void ConnectToSystemTray();
73 74
74 // Handles errors on the |system_tray_| interface connection. 75 // Handles errors on the |system_tray_| interface connection.
75 void OnClientConnectionError(); 76 void OnClientConnectionError();
76 77
77 // System tray mojo service in ash. 78 // System tray mojo service in ash.
78 ash::mojom::SystemTrayPtr system_tray_; 79 ash::mojom::SystemTrayPtr system_tray_;
79 80
80 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient); 81 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient);
81 }; 82 };
82 83
83 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ 84 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/system_tray_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698