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

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

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 5 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) 2013 The Chromium Authors. All rights reserved. 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 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_TAB_AUDIO_INDICATOR_VIEW_MAC_H_ 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_ 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_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/mac/scoped_nsobject.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 12
13 namespace content { 13 namespace content {
14 class WebContents; 14 class WebContents;
15 } 15 }
16 class TabAudioIndicator; 16 class TabAudioIndicator;
17 class TabAudioIndicatorDelegateMac; 17 class TabAudioIndicatorDelegateMac;
18 namespace ui { 18 namespace ui {
19 class AnimationContainer; 19 class AnimationContainer;
20 } 20 }
21 21
22 // A view that draws an audio indicator on top of a favicon. 22 // A view that draws an audio indicator on top of a favicon.
23 @interface TabAudioIndicatorViewMac : NSView { 23 @interface TabAudioIndicatorViewMac : NSView {
24 @private 24 @private
25 scoped_ptr<TabAudioIndicator> tabAudioIndicator_; 25 scoped_ptr<TabAudioIndicator> tabAudioIndicator_;
26 scoped_ptr<TabAudioIndicatorDelegateMac> delegate_; 26 scoped_ptr<TabAudioIndicatorDelegateMac> delegate_;
27 } 27 }
28 28
29 - (void)setIsPlayingAudio:(BOOL)isPlayingAudio; 29 - (void)setIsPlayingAudio:(BOOL)isPlayingAudio;
30 30
31 - (void)setBackgroundImage:(NSImage*)backgroundImage; 31 - (void)setBackgroundImage:(NSImage*)backgroundImage;
32 32
33 - (void)setAnimationContainer:(ui::AnimationContainer*)animationContainer; 33 - (void)setAnimationContainer:(ui::AnimationContainer*)animationContainer;
34 34
35 - (BOOL)isAnimating; 35 - (BOOL)isAnimating;
36 36
37 @end 37 @end
38 38
39 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_H_ 39 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_AUDIO_INDICATOR_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698