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

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

Issue 1078543002: [Extensions] Make extension message bubble factory platform-abstract (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_bar.h b/chrome/browser/ui/toolbar/toolbar_actions_bar.h
index 3a6798fc29a10a08f7d57583cb485b201263c7ec..5733d5e4271c84dcbf3c28aec577b033a6c200ac 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_bar.h
+++ b/chrome/browser/ui/toolbar/toolbar_actions_bar.h
@@ -198,6 +198,9 @@ class ToolbarActionsBar : public extensions::ExtensionToolbarModel::Observer,
// Sets |overflowed_action_wants_to_run_| to the proper value.
void SetOverflowedActionWantsToRun();
+ // Shows an extension message bubble, if any should be shown.
+ void MaybeShowExtensionBubble();
+
bool in_overflow_mode() const { return main_bar_ != nullptr; }
// The delegate for this object (in a real build, this is the view).
@@ -247,6 +250,10 @@ class ToolbarActionsBar : public extensions::ExtensionToolbarModel::Observer,
// True if an action in the overflow menu wants to run.
bool overflowed_action_wants_to_run_;
+ // True if we have checked to see if there is an extension bubble to display,
+ // and done so if one exists.
Finnur 2015/04/10 11:24:21 nit: This comment is very confusing. Especially th
Devlin 2015/04/10 15:55:20 Done.
+ bool checked_extension_bubble_;
+
DISALLOW_COPY_AND_ASSIGN(ToolbarActionsBar);
};

Powered by Google App Engine
This is Rietveld 408576698