| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // Shows an update icon for an Adobe Flash update and forces a device reboot | 49 // Shows an update icon for an Adobe Flash update and forces a device reboot |
| 50 // when the update is applied. | 50 // when the update is applied. |
| 51 void SetFlashUpdateAvailable(); | 51 void SetFlashUpdateAvailable(); |
| 52 | 52 |
| 53 // Wrappers around ash::mojom::SystemTray interface: | 53 // Wrappers around ash::mojom::SystemTray interface: |
| 54 void SetPrimaryTrayEnabled(bool enabled); | 54 void SetPrimaryTrayEnabled(bool enabled); |
| 55 void SetPrimaryTrayVisible(bool visible); | 55 void SetPrimaryTrayVisible(bool visible); |
| 56 | 56 |
| 57 // ash::mojom::SystemTrayClient: | 57 // ash::mojom::SystemTrayClient: |
| 58 void ShowSettings() override; | 58 void ShowSettings() override; |
| 59 void ShowBluetoothSettings() override; |
| 60 void ShowBluetoothPairingDialog(const std::string& address, |
| 61 const base::string16& name_for_display, |
| 62 bool paired, |
| 63 bool connected) override; |
| 59 void ShowDateSettings() override; | 64 void ShowDateSettings() override; |
| 60 void ShowSetTimeDialog() override; | 65 void ShowSetTimeDialog() override; |
| 61 void ShowDisplaySettings() override; | 66 void ShowDisplaySettings() override; |
| 62 void ShowPowerSettings() override; | 67 void ShowPowerSettings() override; |
| 63 void ShowChromeSlow() override; | 68 void ShowChromeSlow() override; |
| 64 void ShowIMESettings() override; | 69 void ShowIMESettings() override; |
| 65 void ShowHelp() override; | 70 void ShowHelp() override; |
| 66 void ShowAccessibilityHelp() override; | 71 void ShowAccessibilityHelp() override; |
| 67 void ShowAccessibilitySettings() override; | 72 void ShowAccessibilitySettings() override; |
| 68 void ShowPaletteHelp() override; | 73 void ShowPaletteHelp() override; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 96 | 101 |
| 97 // Whether an Adobe Flash component update is available. | 102 // Whether an Adobe Flash component update is available. |
| 98 bool flash_update_available_ = false; | 103 bool flash_update_available_ = false; |
| 99 | 104 |
| 100 content::NotificationRegistrar registrar_; | 105 content::NotificationRegistrar registrar_; |
| 101 | 106 |
| 102 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient); | 107 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient); |
| 103 }; | 108 }; |
| 104 | 109 |
| 105 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ | 110 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ |
| OLD | NEW |