blob: 6e5eb1ca9a02e0adc2b3e31bc48e6bbf12660edd [file] [log] [blame]
// Copyright (c) 2013 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_TOOLBAR_APP_TOOLBAR_BUTTON_CELL_H_
#define CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_CELL_H_
#import <Cocoa/Cocoa.h>
#include "base/memory/scoped_ptr.h"
#import "chrome/browser/ui/cocoa/clickhold_button_cell.h"
#include "chrome/browser/ui/toolbar/app_menu_icon_painter.h"
class AppMenuIconPainterDelegateMac;
// Cell for the app toolbar button. This is used to draw the app menu icon
// and paint severity levels.
@interface AppToolbarButtonCell : ClickHoldButtonCell {
@private
scoped_ptr<AppMenuIconPainter> iconPainter_;
scoped_ptr<AppMenuIconPainterDelegateMac> delegate_;
}
- (void)setSeverity:(AppMenuIconPainter::Severity)severity
shouldAnimate:(BOOL)shouldAnimate;
@end
#endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_CELL_H_