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

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

Issue 288923004: Add an extension override bubble and warning box for proxy extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 6 years, 6 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 e2a64fd82575e83639a9cdc159c91c447557b186..e3f522dce54cdb7a9fd66386a171a522d84f5e5c 100644
--- a/chrome/browser/extensions/extension_message_bubble_controller.h
+++ b/chrome/browser/extensions/extension_message_bubble_controller.h
@@ -42,7 +42,13 @@ class ExtensionMessageBubbleController {
// Text for various UI labels shown in the bubble.
virtual base::string16 GetTitle() const = 0;
- virtual base::string16 GetMessageBody() const = 0;
+ // Fetches the message to show in the body. |anchored_to_browser_action|
+ // will be true if the bubble is anchored against a specific extension
+ // 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...").
+ virtual base::string16 GetMessageBody(
+ bool anchored_to_browser_action) const = 0;
virtual base::string16 GetOverflowText(
const base::string16& overflow_count) const = 0;
virtual base::string16 GetLearnMoreLabel() const = 0;

Powered by Google App Engine
This is Rietveld 408576698