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

Unified Diff: ash/sysui/sysui_application.h

Issue 1984433002: Hook up Chrome's wallpaper picker for mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add explicit WallpaperLayout enum conversion functions. Created 4 years, 7 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
« no previous file with comments | « ash/sysui/shell_delegate_mus.cc ('k') | ash/sysui/sysui_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/sysui_application.h
diff --git a/ash/sysui/sysui_application.h b/ash/sysui/sysui_application.h
index 6b746e93f97c0ceea288b6ff18d3849c8f721a7a..0b32a167abddb5f106a65729f1fbf11dddd97555 100644
--- a/ash/sysui/sysui_application.h
+++ b/ash/sysui/sysui_application.h
@@ -7,6 +7,7 @@
#include <memory>
+#include "ash/sysui/public/interfaces/wallpaper.mojom.h"
#include "base/macros.h"
#include "mash/shelf/public/interfaces/shelf.mojom.h"
#include "mojo/public/cpp/bindings/binding_set.h"
@@ -20,7 +21,8 @@ class AshInit;
class SysUIApplication
: public shell::ShellClient,
- public shell::InterfaceFactory<mash::shelf::mojom::ShelfController> {
+ public shell::InterfaceFactory<mash::shelf::mojom::ShelfController>,
+ public shell::InterfaceFactory<mojom::WallpaperController> {
public:
SysUIApplication();
~SysUIApplication() override;
@@ -34,14 +36,18 @@ class SysUIApplication
// InterfaceFactory<mash::shelf::mojom::ShelfController>:
void Create(shell::Connection* connection,
- mojo::InterfaceRequest<mash::shelf::mojom::ShelfController>
- request) override;
+ mash::shelf::mojom::ShelfControllerRequest request) override;
+
+ // InterfaceFactory<mojom::WallpaperController>:
+ void Create(shell::Connection* connection,
+ mojom::WallpaperControllerRequest request) override;
mojo::TracingImpl tracing_;
std::unique_ptr<AshInit> ash_init_;
mojo::BindingSet<mash::shelf::mojom::ShelfController>
shelf_controller_bindings_;
+ mojo::BindingSet<mojom::WallpaperController> wallpaper_controller_bindings_;
DISALLOW_COPY_AND_ASSIGN(SysUIApplication);
};
« no previous file with comments | « ash/sysui/shell_delegate_mus.cc ('k') | ash/sysui/sysui_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698