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

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

Issue 2373863002: mustash: Connect ash system tray "show settings" items to chrome over mojo (Closed)
Patch Set: review comments 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
« no previous file with comments | « ash/public/interfaces/system_tray.mojom ('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 10 matching lines...) Expand all
21 static SystemTrayClient* Get(); 21 static SystemTrayClient* Get();
22 22
23 private: 23 private:
24 // Connects or reconnects the |system_tray_| interface. 24 // Connects or reconnects the |system_tray_| interface.
25 void ConnectToSystemTray(); 25 void ConnectToSystemTray();
26 26
27 // Handles errors on the |system_tray_| interface connection. 27 // Handles errors on the |system_tray_| interface connection.
28 void OnClientConnectionError(); 28 void OnClientConnectionError();
29 29
30 // ash::mojom::SystemTrayClient: 30 // ash::mojom::SystemTrayClient:
31 void ShowSettings() override;
31 void ShowDateSettings() override; 32 void ShowDateSettings() override;
33 void ShowDisplaySettings() override;
34 void ShowChromeSlow() override;
35 void ShowIMESettings() override;
36 void ShowHelp() override;
37 void ShowAccessibilityHelp() override;
38 void ShowAccessibilitySettings() override;
39 void ShowPaletteHelp() override;
40 void ShowPaletteSettings() override;
41 void ShowPublicAccountInfo() override;
42 void ShowProxySettings() override;
32 43
33 // chromeos::system::SystemClockObserver: 44 // chromeos::system::SystemClockObserver:
34 void OnSystemClockChanged(chromeos::system::SystemClock* clock) override; 45 void OnSystemClockChanged(chromeos::system::SystemClock* clock) override;
35 46
36 // System tray mojo service in ash. 47 // System tray mojo service in ash.
37 ash::mojom::SystemTrayPtr system_tray_; 48 ash::mojom::SystemTrayPtr system_tray_;
38 49
39 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient); 50 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient);
40 }; 51 };
41 52
42 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ 53 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_
OLDNEW
« no previous file with comments | « ash/public/interfaces/system_tray.mojom ('k') | chrome/browser/ui/ash/system_tray_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698