OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/ui/cocoa/hover_button.h" | 5 #include "chrome/browser/ui/cocoa/hover_button.h" |
6 | 6 |
7 #include "base/mac/cocoa_protocols.h" | |
8 | 7 |
9 @class GTMKeyValueAnimation; | 8 @class GTMKeyValueAnimation; |
10 | 9 |
11 // The standard close button for our Mac UI which is the "x" that changes to a | 10 // The standard close button for our Mac UI which is the "x" that changes to a |
12 // dark circle with the "x" when you hover over it. At this time it is used by | 11 // dark circle with the "x" when you hover over it. At this time it is used by |
13 // the download bar, info bar and tabs. | 12 // the download bar, info bar and tabs. |
14 @interface HoverCloseButton : HoverButton<NSAnimationDelegate> { | 13 @interface HoverCloseButton : HoverButton<NSAnimationDelegate> { |
15 @private | 14 @private |
16 GTMKeyValueAnimation* fadeOutAnimation_; | 15 GTMKeyValueAnimation* fadeOutAnimation_; |
17 HoverState previousState_; | 16 HoverState previousState_; |
18 } | 17 } |
19 | 18 |
20 @end | 19 @end |
OLD | NEW |