| Index: chrome/browser/ui/cocoa/toolbar/app_toolbar_button.h
|
| diff --git a/chrome/browser/ui/cocoa/toolbar/app_toolbar_button.h b/chrome/browser/ui/cocoa/toolbar/app_toolbar_button.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a15bc2d5b9d82d02611e4dc81a78c3eb6902e3af
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/cocoa/toolbar/app_toolbar_button.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2016 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_H_
|
| +#define CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_H_
|
| +
|
| +#import <Cocoa/Cocoa.h>
|
| +
|
| +#include "base/memory/scoped_ptr.h"
|
| +#import "chrome/browser/ui/cocoa/menu_button.h"
|
| +#include "chrome/browser/ui/toolbar/app_menu_icon_painter.h"
|
| +
|
| +class AppMenuButtonIconPainterDelegateMac;
|
| +
|
| +// Button for the app toolbar button.
|
| +@interface AppToolbarButton : MenuButton {
|
| + @private
|
| + scoped_ptr<AppMenuButtonIconPainterDelegateMac> delegate_;
|
| + AppMenuIconPainter::Severity severity_;
|
| +}
|
| +
|
| +- (void)setSeverity:(AppMenuIconPainter::Severity)severity
|
| + shouldAnimate:(BOOL)shouldAnimate;
|
| +
|
| +@end
|
| +
|
| +#endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_H_
|
|
|