OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_H_ | |
6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_H_ | |
7 | |
8 #import <Cocoa/Cocoa.h> | |
9 | |
10 #include "base/memory/scoped_nsobject.h" | |
11 #include "base/memory/scoped_ptr.h" | |
12 | |
13 namespace content { | |
14 class WebContents; | |
15 } | |
16 class TabAudioIndicator; | |
17 class TabAudioIndicatorDelegateMac; | |
18 | |
19 @interface TabAudioIndicatorViewMac : NSView { | |
Nico
2013/03/11 02:52:56
Needs class-level comment ("// Drawn on top of fav
sail
2013/03/11 23:42:01
Done.
| |
20 @private | |
21 scoped_ptr<TabAudioIndicator> tabAudioIndicator_; | |
22 scoped_ptr<TabAudioIndicatorDelegateMac> delegate_; | |
23 scoped_nsobject<NSImage> backgroundImage_; | |
24 } | |
25 | |
26 - (void)setIsPlayingAudio:(BOOL)isPlayingAudio; | |
27 | |
28 - (void)setBackgroundImage:(NSImage*)backgroundImage; | |
29 | |
30 - (BOOL)isAnimating; | |
31 | |
32 @end | |
33 | |
34 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_H_ | |
OLD | NEW |