blob: 0d6441502af04f84280b7c25122522647001b2cc [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.
#import <Cocoa/Cocoa.h>
#include "third_party/skia/include/core/SkColor.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 : HoverButtonCocoa<NSAnimationDelegate> {
GTMKeyValueAnimation* fadeOutAnimation_;
CloseButtonHoverState previousState_;
// The color of the icon in its idle (not-hovering) state.
@property(nonatomic) SkColor iconColor;
// A version of HoverCloseButton with the "x" icon changed to match the WebUI
// look.
@interface WebUIHoverCloseButton : HoverCloseButton