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

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

Issue 12648004: Audio indicator: Mac UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebas Created 7 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tabs/tab_audio_indicator_view_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 // A view that draws an audio indicator on top of a favicon.
20 @interface TabAudioIndicatorViewMac : NSView {
21 @private
22 scoped_ptr<TabAudioIndicator> tabAudioIndicator_;
23 scoped_ptr<TabAudioIndicatorDelegateMac> delegate_;
24 scoped_nsobject<NSImage> backgroundImage_;
25 }
26
27 - (void)setIsPlayingAudio:(BOOL)isPlayingAudio;
28
29 - (void)setBackgroundImage:(NSImage*)backgroundImage;
30
31 - (BOOL)isAnimating;
32
33 @end
34
35 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tabs/tab_audio_indicator_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698