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

Unified Diff: ash/mus/shell_delegate_mus.h

Issue 2335833002: mash: Port ash_sysui app list presenter to mojo:ash. (Closed)
Patch Set: Reorder ShellDelegateMus members. 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
« no previous file with comments | « ash/mus/manifest.json ('k') | ash/mus/shell_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shell_delegate_mus.h
diff --git a/ash/mus/shell_delegate_mus.h b/ash/mus/shell_delegate_mus.h
index eb8854e72bf949e20695a6664b522c4e99f86694..d9a19ecd8a885d16f9a6170f7be06fb8d34a3d1f 100644
--- a/ash/mus/shell_delegate_mus.h
+++ b/ash/mus/shell_delegate_mus.h
@@ -8,12 +8,9 @@
#include <memory>
#include "ash/common/shell_delegate.h"
+#include "ash/mus/app_list_presenter_mus.h"
#include "base/macros.h"
-namespace app_list {
-class AppListPresenter;
-}
-
namespace shell {
class Connector;
}
@@ -22,9 +19,7 @@ namespace ash {
class ShellDelegateMus : public ShellDelegate {
public:
- ShellDelegateMus(
- std::unique_ptr<app_list::AppListPresenter> app_list_presenter,
- shell::Connector* connector);
+ explicit ShellDelegateMus(shell::Connector* connector);
~ShellDelegateMus() override;
bool IsFirstRunAfterBoot() const override;
@@ -54,8 +49,8 @@ class ShellDelegateMus : public ShellDelegate {
gfx::Image GetDeprecatedAcceleratorImage() const override;
private:
- std::unique_ptr<app_list::AppListPresenter> app_list_presenter_;
shell::Connector* connector_;
+ AppListPresenterMus app_list_presenter_;
DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
};
« no previous file with comments | « ash/mus/manifest.json ('k') | ash/mus/shell_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698