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

Unified Diff: ash/mus/shell_delegate_mus.h

Issue 2633293005: Converts mash to use Shell (Closed)
Patch Set: feedback 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
« no previous file with comments | « ash/mus/root_window_controller.cc ('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 fd88232f1ef8c63f9236d9e984536d27cd03c48c..643b91f36aa8c82a700374e69f86fd5f538b78bd 100644
--- a/ash/mus/shell_delegate_mus.h
+++ b/ash/mus/shell_delegate_mus.h
@@ -18,7 +18,9 @@ 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_for_test);
~ShellDelegateMus() override;
// ShellDelegate:
@@ -50,7 +52,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_for_test_;
DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
};
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/mus/shell_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698