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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_projecting_image_view.mm

Issue 13867007: Tab audio indicator: Use animation container on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/ui/cocoa/tabs/tab_projecting_image_view.mm
diff --git a/chrome/browser/ui/cocoa/tabs/tab_projecting_image_view.mm b/chrome/browser/ui/cocoa/tabs/tab_projecting_image_view.mm
index b811fb18c9aa1bfc5faec584cb909a0d5ed6c0fd..1cfa8a4dc0360b1f846b3262164e99f0b5229269 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_projecting_image_view.mm
+++ b/chrome/browser/ui/cocoa/tabs/tab_projecting_image_view.mm
@@ -10,12 +10,14 @@
backgroundImage:(NSImage*)backgroundImage
projectorImage:(NSImage*)projectorImage
throbImage:(NSImage*)throbImage
- durationMS:(int)durationMS {
+ durationMS:(int)durationMS
+ animationContainer:(ui::AnimationContainer*)animationContainer {
if ((self = [super initWithFrame:rect
backgroundImage:backgroundImage
throbImage:throbImage
durationMS:durationMS
- throbPosition:kThrobPositionOverlay])) {
+ throbPosition:kThrobPositionOverlay
+ animationContainer:animationContainer])) {
projectorImage_.reset([projectorImage retain]);
}
return self;

Powered by Google App Engine
This is Rietveld 408576698