Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / toolbar / wrench_toolbar_button_cell.h
blob26f3615ca90f6f63105ac28ed15351f42bb1e284
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_WRENCH_TOOLBAR_BUTTON_CELL_H_
6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_WRENCH_TOOLBAR_BUTTON_CELL_H_
8 #import <Cocoa/Cocoa.h>
10 #include "base/memory/scoped_ptr.h"
11 #import "chrome/browser/ui/cocoa/clickhold_button_cell.h"
12 #include "chrome/browser/ui/toolbar/wrench_icon_painter.h"
14 class WrenchIconPainterDelegateMac;
16 // Cell for the wrench toolbar button. This is used to draw the wrench icon
17 // and paint severity levels.
18 @interface WrenchToolbarButtonCell : ClickHoldButtonCell {
19 @private
20 scoped_ptr<WrenchIconPainter> wrenchIconPainter_;
21 scoped_ptr<WrenchIconPainterDelegateMac> delegate_;
24 - (void)setSeverity:(WrenchIconPainter::Severity)severity
25 shouldAnimate:(BOOL)shouldAnimate;
27 @end
29 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_WRENCH_TOOLBAR_BUTTON_CELL_H_