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

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

Issue 1653113002: Fix favicon disappearing on pinned tabs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pkasting comments Created 4 years, 11 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.h
diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h
index de401db075d63b3c2b9e3aafc1b0536b5e210419..67be96c27d37a08a91ac3c439dbb1ccc67127d93 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -82,6 +82,9 @@ class Tab : public gfx::AnimationDelegate,
// changed.
void ActiveStateChanged();
+ // Called when the media indicator has changed states.
+ void MediaStateChanged();
+
// Returns true if the tab is selected.
bool IsSelected() const;
@@ -173,6 +176,7 @@ class Tab : public gfx::AnimationDelegate,
static float GetInverseDiagonalSlope();
private:
+ friend class MediaIndicatorButtonTest;
friend class TabTest;
friend class TabStripTest;
FRIEND_TEST_ALL_PREFIXES(TabStripTest, TabHitTestMaskWhenStacked);
« no previous file with comments | « chrome/browser/ui/views/tabs/media_indicator_button_unittest.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698