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

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

Issue 1078543002: [Extensions] Make extension message bubble factory platform-abstract (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-Upload Created 5 years, 8 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 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);
« no previous file with comments | « chrome/browser/extensions/extension_message_bubble.h ('k') | chrome/browser/extensions/extension_message_bubble_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698