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

Unified Diff: chrome/common/extensions/extension.h

Issue 10883008: Port the Extension Install Bubble changes to Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_installed_bubble.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.h
===================================================================
--- chrome/common/extensions/extension.h (revision 153650)
+++ chrome/common/extensions/extension.h (working copy)
@@ -613,6 +613,13 @@
ExtensionAction* script_badge() const { return script_badge_.get(); }
ExtensionAction* page_action() const { return page_action_.get(); }
ExtensionAction* browser_action() const { return browser_action_.get(); }
+ bool is_verbose_install_message() const {
+ return !omnibox_keyword().empty() ||
+ browser_action() ||
+ (page_action() &&
+ (page_action_command() ||
+ !page_action()->default_icon_path().empty()));
+ }
const FileBrowserHandlerList* file_browser_handlers() const {
return file_browser_handlers_.get();
}
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_installed_bubble.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698