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

Unified Diff: ash/mus/shell_delegate_mus.h

Issue 2688353005: Fix shelf alignment and auto-hide initialization. (Closed)
Patch Set: Fix mash_unittests by installing a TestShellDelegate. Created 3 years, 10 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 643b91f36aa8c82a700374e69f86fd5f538b78bd..922a23fbf28ab840bbbd07482b2bac779b4f5ec6 100644
--- a/ash/mus/shell_delegate_mus.h
+++ b/ash/mus/shell_delegate_mus.h
@@ -18,9 +18,7 @@ namespace ash {
class ShellDelegateMus : public ShellDelegate {
public:
- ShellDelegateMus(
- service_manager::Connector* connector,
- std::unique_ptr<SystemTrayDelegate> system_tray_delegate_for_test);
+ explicit ShellDelegateMus(service_manager::Connector* connector);
~ShellDelegateMus() override;
// ShellDelegate:
@@ -54,7 +52,6 @@ class ShellDelegateMus : public ShellDelegate {
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);
};

Powered by Google App Engine
This is Rietveld 408576698