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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/throbbing_image_view.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ 6 #define CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
(...skipping 15 matching lines...) Expand all
26 scoped_nsobject<NSImage> backgroundImage_; 26 scoped_nsobject<NSImage> backgroundImage_;
27 scoped_nsobject<NSImage> throbImage_; 27 scoped_nsobject<NSImage> throbImage_;
28 scoped_ptr<ui::ThrobAnimation> throbAnimation_; 28 scoped_ptr<ui::ThrobAnimation> throbAnimation_;
29 29
30 @private 30 @private
31 scoped_ptr<ThrobbingImageViewAnimationDelegate> delegate_; 31 scoped_ptr<ThrobbingImageViewAnimationDelegate> delegate_;
32 ThrobPosition throbPosition_; 32 ThrobPosition throbPosition_;
33 } 33 }
34 34
35 - (id)initWithFrame:(NSRect)rect 35 - (id)initWithFrame:(NSRect)rect
36 backgroundImage:(NSImage*)backgroundImage 36 backgroundImage:(NSImage*)backgroundImage
37 throbImage:(NSImage*)throbImage 37 throbImage:(NSImage*)throbImage
38 durationMS:(int)durationMS 38 durationMS:(int)durationMS
39 throbPosition:(ThrobPosition)throbPosition; 39 throbPosition:(ThrobPosition)throbPosition
40 animationContainer:(ui::AnimationContainer*)animationContainer;
41
40 @end 42 @end
41 43
42 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ 44 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm ('k') | chrome/browser/ui/cocoa/tabs/throbbing_image_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698