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

Unified Diff: chrome/browser/ui/views/tabs/tab.cc

Issue 2107603002: Makes the pinned tab title change indicator hide correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 6 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: chrome/browser/ui/views/tabs/tab.cc
diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc
index 3da5cd70530f9c9ca0cef8c232b9ef73d776a9ed..c7406404df139709833a4053ff33bb8f492659e7 100644
--- a/chrome/browser/ui/views/tabs/tab.cc
+++ b/chrome/browser/ui/views/tabs/tab.cc
@@ -571,6 +571,10 @@ bool Tab::IsActive() const {
}
void Tab::ActiveStateChanged() {
+ // The pinned tab title changed indicator is only shown for inactive tabs.
+ // When transitioning between active and inactive already reset the state
Evan Stade 2016/06/28 00:09:05 the "already" in this sentence is kinda throwing m
sky 2016/06/28 03:04:15 Should be always. Changed.
+ // to enforce that.
+ SetPinnedTabTitleChangedIndicatorVisible(false);
OnButtonColorMaybeChanged();
alert_indicator_button_->UpdateEnabledForMuteToggle();
Layout();

Powered by Google App Engine
This is Rietveld 408576698