Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(409)

Side by Side Diff: chrome/browser/ui/cocoa/toolbar/app_toolbar_button.h

Issue 2139573003: [Material][Mac] Change the "Low Severity" App Menu Icon Color to Green (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/toolbar/app_toolbar_button.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_H_
6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_H_ 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #import "chrome/browser/ui/cocoa/menu_button.h" 12 #import "chrome/browser/ui/cocoa/menu_button.h"
13 #include "chrome/browser/ui/toolbar/app_menu_icon_controller.h"
13 #include "chrome/browser/ui/toolbar/app_menu_icon_painter.h" 14 #include "chrome/browser/ui/toolbar/app_menu_icon_painter.h"
14 15
15 class AppMenuButtonIconPainterDelegateMac; 16 class AppMenuButtonIconPainterDelegateMac;
16 17
17 // Button for the app toolbar button. 18 // Button for the app toolbar button.
18 @interface AppToolbarButton : MenuButton { 19 @interface AppToolbarButton : MenuButton {
19 @private 20 @private
20 std::unique_ptr<AppMenuButtonIconPainterDelegateMac> delegate_; 21 std::unique_ptr<AppMenuButtonIconPainterDelegateMac> delegate_;
21 AppMenuIconPainter::Severity severity_; 22 AppMenuIconPainter::Severity severity_;
23 AppMenuIconController::IconType type_;
22 } 24 }
23 25
24 - (void)setSeverity:(AppMenuIconPainter::Severity)severity 26 - (void)setSeverity:(AppMenuIconPainter::Severity)severity
27 iconType:(AppMenuIconController::IconType)iconType
25 shouldAnimate:(BOOL)shouldAnimate; 28 shouldAnimate:(BOOL)shouldAnimate;
26 29
27 @end 30 @end
28 31
29 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_H_ 32 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_APP_TOOLBAR_BUTTON_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/toolbar/app_toolbar_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698