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

Unified Diff: ash/mus/shell_delegate_mus.h

Issue 2633293005: Converts mash to use Shell (Closed)
Patch Set: cleanup Created 3 years, 11 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/shell_delegate_mus.h
diff --git a/ash/mus/shell_delegate_mus.h b/ash/mus/shell_delegate_mus.h
index fd88232f1ef8c63f9236d9e984536d27cd03c48c..9d280dea762e31946f3fb8e59e3ab7d486c6ba41 100644
--- a/ash/mus/shell_delegate_mus.h
+++ b/ash/mus/shell_delegate_mus.h
@@ -18,7 +18,8 @@ namespace ash {
class ShellDelegateMus : public ShellDelegate {
public:
- explicit ShellDelegateMus(service_manager::Connector* connector);
+ ShellDelegateMus(service_manager::Connector* connector,
+ std::unique_ptr<SystemTrayDelegate> system_tray_delegate);
~ShellDelegateMus() override;
// ShellDelegate:
@@ -50,7 +51,9 @@ class ShellDelegateMus : public ShellDelegate {
void UpdateTouchscreenStatusFromPrefs() override;
private:
+ // |connector_| may be null in tests.
service_manager::Connector* connector_;
+ std::unique_ptr<SystemTrayDelegate> system_tray_delegate_;
James Cook 2017/01/18 01:00:24 Is this only for testing? system_tray_delegate_for
sky 2017/01/18 04:00:07 Yes. Renamed.
DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
};

Powered by Google App Engine
This is Rietveld 408576698