| Index: chrome/browser/protector/default_search_provider_change.cc
|
| diff --git a/chrome/browser/protector/default_search_provider_change.cc b/chrome/browser/protector/default_search_provider_change.cc
|
| index feb221021856491b05bd78ee474be17e58c85586..b3c047f4884d5e62fd481a65814a85967d85bb4a 100644
|
| --- a/chrome/browser/protector/default_search_provider_change.cc
|
| +++ b/chrome/browser/protector/default_search_provider_change.cc
|
| @@ -19,6 +19,7 @@
|
| #include "googleurl/src/gurl.h"
|
| #include "grit/chromium_strings.h"
|
| #include "grit/generated_resources.h"
|
| +#include "grit/theme_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| namespace protector {
|
| @@ -96,6 +97,9 @@ class DefaultSearchProviderChange : public BaseSettingChange,
|
| virtual void Discard() OVERRIDE;
|
| virtual void Timeout() OVERRIDE;
|
| virtual void OnBeforeRemoved() OVERRIDE;
|
| + virtual int GetBadgeIconID() const OVERRIDE;
|
| + virtual int GetMenuItemIconID() const OVERRIDE;
|
| + virtual int GetBubbleIconID() const OVERRIDE;
|
| virtual string16 GetBubbleTitle() const OVERRIDE;
|
| virtual string16 GetBubbleMessage() const OVERRIDE;
|
| virtual string16 GetApplyButtonText() const OVERRIDE;
|
| @@ -237,6 +241,18 @@ void DefaultSearchProviderChange::OnBeforeRemoved() {
|
| protector()->GetTemplateURLService()->RemoveObserver(this);
|
| }
|
|
|
| +int DefaultSearchProviderChange::GetBadgeIconID() const {
|
| + return IDR_SEARCH_ENGINE_CHANGE_BADGE;
|
| +}
|
| +
|
| +int DefaultSearchProviderChange::GetMenuItemIconID() const {
|
| + return IDR_SEARCH_ENGINE_CHANGE_MENU;
|
| +}
|
| +
|
| +int DefaultSearchProviderChange::GetBubbleIconID() const {
|
| + return IDR_SEARCH_ENGINE_CHANGE_ALERT;
|
| +}
|
| +
|
| string16 DefaultSearchProviderChange::GetBubbleTitle() const {
|
| return l10n_util::GetStringUTF16(IDS_SEARCH_ENGINE_CHANGE_TITLE);
|
| }
|
|
|