OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_MEDIA_INDICATOR_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_MEDIA_INDICATOR_BUTTON_COCOA_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TABS_MEDIA_INDICATOR_BUTTON_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_MEDIA_INDICATOR_BUTTON_COCOA_H_ |
7 | 7 |
8 #import "base/mac/scoped_nsobject.h" | 8 #import "base/mac/scoped_nsobject.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/ui/tabs/tab_utils.h" | 10 #include "chrome/browser/ui/tabs/tab_utils.h" |
11 #import "ui/base/cocoa/hover_button.h" | 11 #import "ui/base/cocoa/hover_button.h" |
12 | 12 |
13 namespace gfx { | 13 namespace gfx { |
14 class Animation; | 14 class Animation; |
15 class AnimationDelegate; | 15 class AnimationDelegate; |
16 } // namespace gfx | 16 } // namespace gfx |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // Register a message be sent to |target| whenever fade animations complete. A | 67 // Register a message be sent to |target| whenever fade animations complete. A |
68 // weak reference on |target| is held. | 68 // weak reference on |target| is held. |
69 - (void)setAnimationDoneTarget:(id)target withAction:(SEL)action; | 69 - (void)setAnimationDoneTarget:(id)target withAction:(SEL)action; |
70 | 70 |
71 // Request a message be sent to |target| whenever the enabled button has been | 71 // Request a message be sent to |target| whenever the enabled button has been |
72 // clicked. A weak reference on |target| is held. | 72 // clicked. A weak reference on |target| is held. |
73 - (void)setClickTarget:(id)target withAction:(SEL)action; | 73 - (void)setClickTarget:(id)target withAction:(SEL)action; |
74 | 74 |
75 @end | 75 @end |
76 | 76 |
77 #endif // CHROME_BROWSER_UI_COCOA_TABS_MEDIA_INDICATOR_BUTTON_H_ | 77 #endif // CHROME_BROWSER_UI_COCOA_TABS_MEDIA_INDICATOR_BUTTON_COCOA_H_ |
OLD | NEW |