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

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: review comments, add rotation lock 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
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a886d28a92a236c709ff52932c7216454e835852 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()
@@ -234,4 +236,14 @@ VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
return nullptr;
}
+std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateDisplayTrayItem(
+ SystemTray* tray) {
+ return nullptr;
+}
+
+std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
+ SystemTray* tray) {
+ return nullptr;
+}
+
} // namespace ash
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698