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

Unified Diff: chrome/browser/ui/ash/system_tray_controller_mus.h

Issue 2351893002: mash: Fix system tray clock 12/24 hour time setting (Closed)
Patch Set: review comments Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/system_tray_controller_mus.h
diff --git a/chrome/browser/ui/ash/system_tray_controller_mus.h b/chrome/browser/ui/ash/system_tray_controller_mus.h
new file mode 100644
index 0000000000000000000000000000000000000000..b194f7c4f3fd265edf139fd67d2b6e1cfbd2c02f
--- /dev/null
+++ b/chrome/browser/ui/ash/system_tray_controller_mus.h
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CONTROLLER_MUS_H_
+#define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CONTROLLER_MUS_H_
+
+#include "ash/public/interfaces/system_tray.mojom.h"
+#include "base/macros.h"
+#include "chrome/browser/chromeos/system/system_clock_observer.h"
+
+// Controls chrome's interaction with the ash system tray menu.
+class SystemTrayControllerMus : public chromeos::system::SystemClockObserver {
+ public:
+ SystemTrayControllerMus();
+ ~SystemTrayControllerMus() override;
+
+ private:
+ // chromeos::system::SystemClockObserver:
+ void OnSystemClockChanged(chromeos::system::SystemClock* clock) override;
+
+ ash::mojom::SystemTrayPtr system_tray_;
+
+ DISALLOW_COPY_AND_ASSIGN(SystemTrayControllerMus);
+};
+
+#endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CONTROLLER_MUS_H_

Powered by Google App Engine
This is Rietveld 408576698