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

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

Issue 1394473004: Fix favicon crash animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: Remove unnecessary conditional Created 5 years, 2 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 | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9b4b66ea83b3bb104b492299090038e7ef4c89ec..fc0937e08f546fa1cb29fadcc138f2cd7a558fc9 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -276,14 +276,9 @@ class Tab : public gfx::AnimationDelegate,
// animation.
void SetFaviconHidingOffset(int offset);
- void DisplayCrashedFavicon();
- void ResetCrashedFavicon();
-
- void StopCrashAnimation();
- void StartCrashAnimation();
-
- // Returns true if the crash animation is currently running.
- bool IsPerformingCrashAnimation() const;
+ void set_should_display_crashed_favicon() {
+ should_display_crashed_favicon_ = true;
+ }
// Recalculates the correct |button_color_| and resets the title, media
// indicator, and close button colors if necessary. This should be called any
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698