blob: 0a56159c31c600b8faf39efd7b743129b1dbd2f8 [file] [log] [blame]
// Copyright (c) 2012 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_HOVER_CLOSE_BUTTON_H_
#define CHROME_BROWSER_UI_COCOA_HOVER_CLOSE_BUTTON_H_
#import <Cocoa/Cocoa.h>
#import "ui/base/cocoa/hover_button.h"
@class GTMKeyValueAnimation;
// The standard close button for our Mac UI which is the "x" that changes to a
// dark circle with the "x" when you hover over it. Used to close tabs.
@interface HoverCloseButton : HoverButton<NSAnimationDelegate> {
@private
GTMKeyValueAnimation* fadeOutAnimation_;
HoverState previousState_;
}
@end
// A version of HoverCloseButton with the "x" icon changed to match the WebUI
// look.
@interface WebUIHoverCloseButton : HoverCloseButton
@end
#endif // CHROME_BROWSER_UI_COCOA_HOVER_CLOSE_BUTTON_H_