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

Unified Diff: ash/common/system/tray/system_tray_delegate.cc

Issue 2148943002: mash: Create system tray display and rotation lock items via delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/common/system/tray/system_tray_delegate.cc
diff --git a/ash/common/system/tray/system_tray_delegate.cc b/ash/common/system/tray/system_tray_delegate.cc
index ee83a0f4d4ae45a914b8dec42fc256a893f48ca7..5234f9761f7a3ff5087e77dec652f9bdafbed838 100644
--- a/ash/common/system/tray/system_tray_delegate.cc
+++ b/ash/common/system/tray/system_tray_delegate.cc
@@ -4,6 +4,8 @@
#include "ash/common/system/tray/system_tray_delegate.h"
+#include "ash/common/system/tray/system_tray_item.h"
+
namespace ash {
NetworkIconInfo::NetworkIconInfo()
@@ -102,6 +104,11 @@ void SystemTrayDelegate::ShowSetTimeDialog() {}
void SystemTrayDelegate::ShowNetworkSettingsForGuid(const std::string& guid) {}
+std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateDisplayTrayItem(
+ SystemTray* tray) {
+ return nullptr;
msw 2016/07/13 18:51:49 nit: NOTIMPLEMENTED? (seems like others omit, so m
James Cook 2016/07/13 21:30:46 I kept it the same since none of the other ones us
+}
+
void SystemTrayDelegate::ShowDisplaySettings() {}
void SystemTrayDelegate::ShowPowerSettings() {}

Powered by Google App Engine
This is Rietveld 408576698