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

Unified Diff: chrome/browser/chromeos/chrome_interface_factory.h

Issue 1984433002: Hook up Chrome's wallpaper picker for mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp builds; address Sadrul's comment. 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
Index: chrome/browser/chromeos/chrome_interface_factory.h
diff --git a/chrome/browser/chromeos/chrome_interface_factory.h b/chrome/browser/chromeos/chrome_interface_factory.h
index a56e6172e784c7000db0a2b6ac85a06fade42e44..f0326cba206e37fa57215527d60018f76791a259 100644
--- a/chrome/browser/chromeos/chrome_interface_factory.h
+++ b/chrome/browser/chromeos/chrome_interface_factory.h
@@ -7,6 +7,7 @@
#include "content/public/common/mojo_shell_connection.h"
#include "mash/public/interfaces/launchable.mojom.h"
+#include "mash/public/interfaces/wallpaper.mojom.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/shell/public/cpp/interface_factory.h"
#include "ui/app_list/presenter/app_list_presenter.mojom.h"
@@ -14,6 +15,7 @@
class AppListPresenterService;
class ChromeLaunchable;
+class ChromeWallpaperHelper;
class KeyboardUIService;
namespace chromeos {
@@ -22,6 +24,7 @@ namespace chromeos {
class ChromeInterfaceFactory
: public content::MojoShellConnection::Listener,
public shell::InterfaceFactory<mash::mojom::Launchable>,
+ public shell::InterfaceFactory<mash::mojom::WallpaperHelper>,
public shell::InterfaceFactory<app_list::mojom::AppListPresenter>,
public shell::InterfaceFactory<keyboard::mojom::Keyboard> {
James Cook 2016/05/19 22:30:00 optional: While you're here, maybe move Keyboard u
msw 2016/05/20 19:53:05 Done.
public:
@@ -41,6 +44,10 @@ class ChromeInterfaceFactory
void Create(shell::Connection* connection,
mash::mojom::LaunchableRequest request) override;
+ // mojo::InterfaceFactory<mash::mojom::WallpaperHelper>
+ void Create(shell::Connection* connection,
+ mash::mojom::WallpaperHelperRequest request) override;
+
// mojo::InterfaceFactory<app_list::AppListPresenter>:
void Create(shell::Connection* connection,
mojo::InterfaceRequest<app_list::mojom::AppListPresenter> request)
@@ -49,6 +56,7 @@ class ChromeInterfaceFactory
std::unique_ptr<KeyboardUIService> keyboard_ui_service_;
mojo::BindingSet<keyboard::mojom::Keyboard> keyboard_bindings_;
std::unique_ptr<ChromeLaunchable> launchable_;
+ std::unique_ptr<ChromeWallpaperHelper> wallpaper_helper_;
std::unique_ptr<AppListPresenterService> app_list_presenter_service_;
mojo::BindingSet<app_list::mojom::AppListPresenter>
app_list_presenter_bindings_;

Powered by Google App Engine
This is Rietveld 408576698