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

Unified Diff: chrome/browser/ui/views/message_center/web_notification_tray.cc

Issue 256763005: Disable tray override feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/message_center/web_notification_tray.cc
diff --git a/chrome/browser/ui/views/message_center/web_notification_tray.cc b/chrome/browser/ui/views/message_center/web_notification_tray.cc
index ace33fd21480b477e11bcc2a666b59dbf42b37df..ced0fea66786202c3fe0b54bc1b4beccb012fede 100644
--- a/chrome/browser/ui/views/message_center/web_notification_tray.cc
+++ b/chrome/browser/ui/views/message_center/web_notification_tray.cc
@@ -351,12 +351,6 @@ void WebNotificationTray::CreateStatusIcon(const gfx::ImageSkia& image,
status_icon_->AddObserver(this);
AddQuietModeMenu(status_icon_);
-#if defined(OS_WIN)
- if (did_force_tray_visible_.get() && !did_force_tray_visible_->GetValue()) {
- EnforceStatusIconVisible();
- did_force_tray_visible_->SetValue(true);
- }
-#endif
}
void WebNotificationTray::DestroyStatusIcon() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698