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

Unified Diff: chrome/browser/extensions/settings_api_bubble_controller.cc

Issue 1137503006: [Extensions] Polish the suspicious extension bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/extensions/settings_api_bubble_controller.cc
diff --git a/chrome/browser/extensions/settings_api_bubble_controller.cc b/chrome/browser/extensions/settings_api_bubble_controller.cc
index f82a527cbfe318d425ee84a7ff3bac5a24751222..eecd0b5f5f4001f60c99c6418703ba9f8c34b1ad 100644
--- a/chrome/browser/extensions/settings_api_bubble_controller.cc
+++ b/chrome/browser/extensions/settings_api_bubble_controller.cc
@@ -45,7 +45,8 @@ class SettingsApiBubbleDelegate
ExtensionMessageBubbleController::BubbleAction user_action) override;
void PerformAction(const ExtensionIdList& list) override;
base::string16 GetTitle() const override;
- base::string16 GetMessageBody(bool anchored_to_browser_action) const override;
+ base::string16 GetMessageBody(bool anchored_to_browser_action,
+ bool for_single_extension) const override;
base::string16 GetOverflowText(
const base::string16& overflow_count) const override;
GURL GetLearnMoreUrl() const override;
@@ -148,7 +149,8 @@ base::string16 SettingsApiBubbleDelegate::GetTitle() const {
}
base::string16 SettingsApiBubbleDelegate::GetMessageBody(
- bool anchored_to_browser_action) const {
+ bool anchored_to_browser_action,
+ bool for_single_extension) const {
ExtensionRegistry* registry = ExtensionRegistry::Get(profile());
const Extension* extension =
registry->GetExtensionById(extension_id_, ExtensionRegistry::ENABLED);

Powered by Google App Engine
This is Rietveld 408576698