| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CONTROLLER_MUS_H_ | |
| 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CONTROLLER_MUS_H_ | |
| 7 | |
| 8 #include "ash/public/interfaces/system_tray.mojom.h" | |
| 9 #include "base/macros.h" | |
| 10 #include "chrome/browser/chromeos/system/system_clock_observer.h" | |
| 11 | |
| 12 // Controls chrome's interaction with the ash system tray menu. | |
| 13 class SystemTrayControllerMus : public chromeos::system::SystemClockObserver { | |
| 14 public: | |
| 15 SystemTrayControllerMus(); | |
| 16 ~SystemTrayControllerMus() override; | |
| 17 | |
| 18 private: | |
| 19 // chromeos::system::SystemClockObserver: | |
| 20 void OnSystemClockChanged(chromeos::system::SystemClock* clock) override; | |
| 21 | |
| 22 ash::mojom::SystemTrayPtr system_tray_; | |
| 23 | |
| 24 DISALLOW_COPY_AND_ASSIGN(SystemTrayControllerMus); | |
| 25 }; | |
| 26 | |
| 27 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CONTROLLER_MUS_H_ | |
| OLD | NEW |