| Index: chrome/browser/extensions/extension_disabled_ui.cc
|
| diff --git a/chrome/browser/extensions/extension_disabled_ui.cc b/chrome/browser/extensions/extension_disabled_ui.cc
|
| index 9fe64e978a09458548206145f096f0cd1ecedf3d..bd3afaec7eaecede116b6fa84500661b98c12142 100644
|
| --- a/chrome/browser/extensions/extension_disabled_ui.cc
|
| +++ b/chrome/browser/extensions/extension_disabled_ui.cc
|
| @@ -31,6 +31,7 @@
|
| #include "content/public/browser/notification_source.h"
|
| #include "grit/chromium_strings.h"
|
| #include "grit/generated_resources.h"
|
| +#include "grit/theme_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| namespace {
|
| @@ -131,9 +132,11 @@ class ExtensionDisabledGlobalError : public GlobalError,
|
|
|
| // GlobalError implementation.
|
| virtual bool HasBadge() OVERRIDE;
|
| + virtual int GetBadgeResourceID() OVERRIDE;
|
| virtual bool HasMenuItem() OVERRIDE;
|
| virtual int MenuItemCommandID() OVERRIDE;
|
| virtual string16 MenuItemLabel() OVERRIDE;
|
| + virtual int MenuItemIconResourceID() OVERRIDE;
|
| virtual void ExecuteMenuItem(Browser* browser) OVERRIDE;
|
| virtual bool HasBubbleView() OVERRIDE;
|
| virtual string16 GetBubbleViewTitle() OVERRIDE;
|
| @@ -198,6 +201,10 @@ bool ExtensionDisabledGlobalError::HasBadge() {
|
| return true;
|
| }
|
|
|
| +int ExtensionDisabledGlobalError::GetBadgeResourceID() {
|
| + return IDR_UPDATE_BADGE;
|
| +}
|
| +
|
| bool ExtensionDisabledGlobalError::HasMenuItem() {
|
| return true;
|
| }
|
| @@ -206,6 +213,10 @@ int ExtensionDisabledGlobalError::MenuItemCommandID() {
|
| return menu_command_id_;
|
| }
|
|
|
| +int ExtensionDisabledGlobalError::MenuItemIconResourceID() {
|
| + return IDR_UPDATE_MENU;
|
| +}
|
| +
|
| string16 ExtensionDisabledGlobalError::MenuItemLabel() {
|
| return l10n_util::GetStringFUTF16(IDS_EXTENSION_DISABLED_ERROR_TITLE,
|
| UTF8ToUTF16(extension_->name()));
|
|
|