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: |