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

Unified Diff: chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h

Issue 1087713002: [Reland] [Extensions] Make extension message bubble factory platform-abstract (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finnur's 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/ui/toolbar/toolbar_actions_bar_delegate.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h b/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
index 9a24e6dc3faf6cd7f733779be25cd725d2ea9405..af71316d6313b8a21aaab3842abd0d5a2100e078 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
+++ b/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
@@ -5,11 +5,16 @@
#ifndef CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_DELEGATE_H_
#define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_DELEGATE_H_
+#include "base/memory/scoped_ptr.h"
#include "ui/gfx/animation/tween.h"
#include "ui/gfx/geometry/size.h"
class ToolbarActionViewController;
+namespace extensions {
+class ExtensionMessageBubbleController;
+}
+
// The delegate class (which, in production, represents the view) of the
// ToolbarActionsBar.
class ToolbarActionsBarDelegate {
@@ -59,6 +64,10 @@ class ToolbarActionsBarDelegate {
// action wants to run has changed.
virtual void OnOverflowedActionWantsToRunChanged(
bool overflowed_action_wants_to_run) = 0;
+
+ // Displays the bubble for the passed ExtensionMessageBubbleController.
+ virtual void ShowExtensionMessageBubble(
+ scoped_ptr<extensions::ExtensionMessageBubbleController> controller) = 0;
};
#endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_DELEGATE_H_
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_actions_bar.cc ('k') | chrome/browser/ui/views/extensions/extension_message_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698