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

Unified Diff: chrome/browser/ui/toolbar/app_menu_icon_controller.h

Issue 2374803002: Remove a bunch of pre-MD toolbar code and assets. (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/toolbar/app_menu_icon_controller.h
diff --git a/chrome/browser/ui/toolbar/app_menu_icon_controller.h b/chrome/browser/ui/toolbar/app_menu_icon_controller.h
index 05f9de6ef8fdb74c8e855288a837d6a688c14c29..81f6a759101430fa9b28754b8eec2eb7c134425d 100644
--- a/chrome/browser/ui/toolbar/app_menu_icon_controller.h
+++ b/chrome/browser/ui/toolbar/app_menu_icon_controller.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_UI_TOOLBAR_APP_MENU_ICON_CONTROLLER_H_
#include "base/macros.h"
-#include "chrome/browser/ui/toolbar/app_menu_icon_painter.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -32,6 +31,12 @@ class AppMenuIconController :
GLOBAL_ERROR,
INCOMPATIBILITY_WARNING,
};
+ enum class Severity {
+ NONE,
+ LOW,
+ MEDIUM,
+ HIGH,
+ };
// Delegate interface for receiving icon update notifications.
class Delegate {
@@ -40,7 +45,7 @@ class AppMenuIconController :
// well as specifying whether it should |animate|. The |type| parameter
// specifies the type of change (i.e. the source of the notification).
virtual void UpdateSeverity(IconType type,
- AppMenuIconPainter::Severity severity,
+ Severity severity,
bool animate) = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698