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

Unified Diff: ash/mus/shell_delegate_mus.cc

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: rebase again Created 4 years, 2 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/shell_delegate_mus.h ('k') | ash/mus/system_tray_delegate_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shell_delegate_mus.cc
diff --git a/ash/mus/shell_delegate_mus.cc b/ash/mus/shell_delegate_mus.cc
index 4a6b1047d0c6f307ca95e52fe5a235a14460d651..aa14e7f7f995874b6dc5889256f25ffc27d9c940 100644
--- a/ash/mus/shell_delegate_mus.cc
+++ b/ash/mus/shell_delegate_mus.cc
@@ -115,6 +115,10 @@ ShellDelegateMus::ShellDelegateMus(shell::Connector* connector)
ShellDelegateMus::~ShellDelegateMus() {}
+::shell::Connector* ShellDelegateMus::GetShellConnector() const {
+ return connector_;
+}
+
bool ShellDelegateMus::IsFirstRunAfterBoot() const {
NOTIMPLEMENTED();
return false;
@@ -176,7 +180,7 @@ ShelfDelegate* ShellDelegateMus::CreateShelfDelegate(ShelfModel* model) {
SystemTrayDelegate* ShellDelegateMus::CreateSystemTrayDelegate() {
#if defined(OS_CHROMEOS)
- return new SystemTrayDelegateMus(connector_);
+ return new SystemTrayDelegateMus();
#else
// Windows and Linux do not support the services required for most system tray
// items. Use the same stub delegate as ash_shell_with_content.
« no previous file with comments | « ash/mus/shell_delegate_mus.h ('k') | ash/mus/system_tray_delegate_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698