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

Unified Diff: ash/mus/window_manager_application.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: ash/mus/window_manager_application.h
diff --git a/ash/mus/window_manager_application.h b/ash/mus/window_manager_application.h
index ee8ac405d2ef8baaf5a4a20d71ca1239c9d013b5..fee064479246edd4249fd420f8d1458204f48088 100644
--- a/ash/mus/window_manager_application.h
+++ b/ash/mus/window_manager_application.h
@@ -11,6 +11,7 @@
#include <set>
#include "ash/public/interfaces/shelf.mojom.h"
+#include "ash/public/interfaces/system_tray.mojom.h"
#include "ash/public/interfaces/wallpaper.mojom.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -53,8 +54,9 @@ class WindowManager;
// Hosts the window manager and the ash system user interface for mash.
class WindowManagerApplication
: public shell::Service,
- public shell::InterfaceFactory<ash::mojom::ShelfController>,
- public shell::InterfaceFactory<ash::mojom::WallpaperController>,
+ public shell::InterfaceFactory<mojom::ShelfController>,
+ public shell::InterfaceFactory<mojom::SystemTray>,
+ public shell::InterfaceFactory<mojom::WallpaperController>,
public shell::InterfaceFactory<ui::mojom::AcceleratorRegistrar>,
public mash::session::mojom::ScreenlockStateListener {
public:
@@ -80,13 +82,17 @@ class WindowManagerApplication
bool OnConnect(const shell::Identity& remote_identity,
shell::InterfaceRegistry* registry) override;
- // InterfaceFactory<ash::mojom::ShelfController>:
+ // InterfaceFactory<mojom::ShelfController>:
void Create(const shell::Identity& remote_identity,
- ash::mojom::ShelfControllerRequest request) override;
+ mojom::ShelfControllerRequest request) override;
- // InterfaceFactory<ash::mojom::WallpaperController>:
+ // InterfaceFactory<mojom::SystemTray>:
void Create(const shell::Identity& remote_identity,
- ash::mojom::WallpaperControllerRequest request) override;
+ mojom::SystemTrayRequest request) override;
+
+ // InterfaceFactory<mojom::WallpaperController>:
+ void Create(const shell::Identity& remote_identity,
+ mojom::WallpaperControllerRequest request) override;
// shell::InterfaceFactory<ui::mojom::AcceleratorRegistrar>:
void Create(const shell::Identity& remote_identity,
@@ -107,9 +113,9 @@ class WindowManagerApplication
// A blocking pool used by the WindowManager's shell; not used in tests.
scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
- mojo::BindingSet<ash::mojom::ShelfController> shelf_controller_bindings_;
- mojo::BindingSet<ash::mojom::WallpaperController>
- wallpaper_controller_bindings_;
+ mojo::BindingSet<mojom::ShelfController> shelf_controller_bindings_;
+ mojo::BindingSet<mojom::SystemTray> system_tray_bindings_;
+ mojo::BindingSet<mojom::WallpaperController> wallpaper_controller_bindings_;
std::set<AcceleratorRegistrarImpl*> accelerator_registrars_;

Powered by Google App Engine
This is Rietveld 408576698