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 d932e1dc219d264017a12d47d3b7ef9596bd826c..e56ff0c552acdc21a3f6d502c009cedfd90045ec 100644 |
--- a/chrome/browser/extensions/extension_message_bubble_controller.h |
+++ b/chrome/browser/extensions/extension_message_bubble_controller.h |
@@ -59,6 +59,10 @@ class ExtensionMessageBubbleController { |
// Whether to show a list of extensions in the bubble. |
virtual bool ShouldShowExtensionList() const = 0; |
+ // Returns true if the set of affected extensions should be highlighted in |
+ // the toolbar. |
+ virtual bool ShouldHighlightExtensions() const = 0; |
+ |
// In some cases, we want the delegate only to handle a single extension |
// and this sets which extension. |
virtual void RestrictToSingleExtension(const std::string& extension_id); |
@@ -101,6 +105,9 @@ class ExtensionMessageBubbleController { |
// Whether to close the bubble when it loses focus. |
virtual bool CloseOnDeactivate(); |
+ // Highlights the affected extensions if appropriate. |
+ void HighlightExtensionsIfNecessary(); |
+ |
// Sets up the callbacks and shows the bubble. |
virtual void Show(ExtensionMessageBubble* bubble); |