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

Unified Diff: chrome/browser/extensions/extension_message_bubble_controller.h

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/extension_message_bubble_controller.h
diff --git a/chrome/browser/extensions/extension_message_bubble_controller.h b/chrome/browser/extensions/extension_message_bubble_controller.h
index 5e3d8781490858580345c56c1630fc1968067d91..37b645a99adbc9151847c5d2c0d516a9572a21af 100644
--- a/chrome/browser/extensions/extension_message_bubble_controller.h
+++ b/chrome/browser/extensions/extension_message_bubble_controller.h
@@ -46,8 +46,11 @@ class ExtensionMessageBubbleController {
// icon, allowing the bubble to show a different message than when it is
// anchored against something else (e.g. show "This extension has..."
// instead of "An extension has...").
+ // |for_single_extension| is true if there is only one extension being
+ // referenced.
virtual base::string16 GetMessageBody(
- bool anchored_to_browser_action) const = 0;
+ bool anchored_to_browser_action,
+ bool for_single_extension) const = 0;
Finnur 2015/05/15 15:58:47 nit: I would have made this take an int extension_
Devlin 2015/05/15 16:12:41 Yeah, that's probably better. Done.
virtual base::string16 GetOverflowText(
const base::string16& overflow_count) const = 0;
virtual base::string16 GetLearnMoreLabel() const;

Powered by Google App Engine
This is Rietveld 408576698