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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/tabs/tab_audio_indicator_view_mac.h
diff --git a/chrome/browser/ui/cocoa/tabs/tab_audio_indicator_view_mac.h b/chrome/browser/ui/cocoa/tabs/tab_audio_indicator_view_mac.h
new file mode 100644
index 0000000000000000000000000000000000000000..c519433e264a903c3ecd804017c2085e23c5e3fc
--- /dev/null
+++ b/chrome/browser/ui/cocoa/tabs/tab_audio_indicator_view_mac.h
@@ -0,0 +1,35 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_H_
+#define CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_H_
+
+#import <Cocoa/Cocoa.h>
+
+#include "base/memory/scoped_nsobject.h"
+#include "base/memory/scoped_ptr.h"
+
+namespace content {
+class WebContents;
+}
+class TabAudioIndicator;
+class TabAudioIndicatorDelegateMac;
+
+// A view that draws an audio indicator on top of a favicon.
+@interface TabAudioIndicatorViewMac : NSView {
+ @private
+ scoped_ptr<TabAudioIndicator> tabAudioIndicator_;
+ scoped_ptr<TabAudioIndicatorDelegateMac> delegate_;
+ scoped_nsobject<NSImage> backgroundImage_;
+}
+
+- (void)setIsPlayingAudio:(BOOL)isPlayingAudio;
+
+- (void)setBackgroundImage:(NSImage*)backgroundImage;
+
+- (BOOL)isAnimating;
+
+@end
+
+#endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_H_
« 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