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

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: " 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
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..04bd0f29e4c25da154e716c16dbb95f59d3ce593
--- /dev/null
+++ b/chrome/browser/ui/cocoa/tabs/tab_audio_indicator_view_mac.h
@@ -0,0 +1,34 @@
+// 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;
+
+@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.
+ @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_

Powered by Google App Engine
This is Rietveld 408576698