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

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

Issue 2217713002: Remove the system menu display settings row (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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.cc
diff --git a/ash/common/system/tray/system_tray.cc b/ash/common/system/tray/system_tray.cc
index 979e3a197bf51a66dbd25c7795bd57f0adfe2872..b183d77053878950b884ce0271e9c39726f70b41 100644
--- a/ash/common/system/tray/system_tray.cc
+++ b/ash/common/system/tray/system_tray.cc
@@ -197,10 +197,6 @@ void SystemTray::CreateItems(SystemTrayDelegate* delegate) {
AddTrayItem(tray_cast_);
// TODO(jamescook): Remove this when mus has support for display management
James Cook 2016/08/05 17:00:24 Delete this comment.
yiyix 2016/08/13 05:28:50 Done.
// and we have a DisplayManager equivalent. See http://crbug.com/548429
- std::unique_ptr<SystemTrayItem> tray_display =
- delegate->CreateDisplayTrayItem(this);
- if (tray_display)
- AddTrayItem(tray_display.release());
screen_capture_tray_item_ = new ScreenCaptureTrayItem(this);
AddTrayItem(screen_capture_tray_item_);
screen_share_tray_item_ = new ScreenShareTrayItem(this);

Powered by Google App Engine
This is Rietveld 408576698