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

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

Issue 2770953003: Remove some pre-md code and assets. (Closed)
Patch Set: rebase Created 3 years, 9 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/chromeos/settings/tray_settings.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4c6405eb58a4c0adbbb785e7d99ed34ebb27bfce..ebab05b3cc8939ebfd1717588d18b4044ea21501 100644
--- a/ash/common/system/tray/system_tray.cc
+++ b/ash/common/system/tray/system_tray.cc
@@ -27,7 +27,6 @@
#include "ash/common/system/chromeos/screen_security/screen_capture_tray_item.h"
#include "ash/common/system/chromeos/screen_security/screen_share_tray_item.h"
#include "ash/common/system/chromeos/session/tray_session_length_limit.h"
-#include "ash/common/system/chromeos/settings/tray_settings.h"
#include "ash/common/system/chromeos/supervised/tray_supervised_user.h"
#include "ash/common/system/chromeos/tray_caps_lock.h"
#include "ash/common/system/chromeos/tray_tracing.h"
@@ -309,8 +308,6 @@ void SystemTray::CreateItems(SystemTrayDelegate* delegate) {
delegate->CreateRotationLockTrayItem(this);
if (tray_rotation_lock)
AddTrayItem(std::move(tray_rotation_lock));
- if (!use_md)
- AddTrayItem(base::MakeUnique<TraySettings>(this));
AddTrayItem(base::WrapUnique(tray_update_));
if (use_md) {
tray_tiles_ = new TrayTiles(this);
« no previous file with comments | « ash/common/system/chromeos/settings/tray_settings.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698