summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_action.h
diff options
context:
space:
mode:
authorerikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 16:36:39 +0000
committererikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 16:36:39 +0000
commitad6ff1a4ac380756fb55da9a0dc7455f308fe1f9 (patch)
tree060efa56c070df860e16bc7ff3aef03ce1cd554a /chrome/common/extensions/extension_action.h
parent8ffc8520f1b7f469bcee1dfed2a8cfb9593941fe (diff)
downloadchromium_src-ad6ff1a4ac380756fb55da9a0dc7455f308fe1f9.zip
chromium_src-ad6ff1a4ac380756fb55da9a0dc7455f308fe1f9.tar.gz
chromium_src-ad6ff1a4ac380756fb55da9a0dc7455f308fe1f9.tar.bz2
Don't show popup browser actions in the wrench menu.
BUG=23834 TEST=none Review URL: http://codereview.chromium.org/257048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28119 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_action.h')
-rw-r--r--chrome/common/extensions/extension_action.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension_action.h b/chrome/common/extensions/extension_action.h
index 70ea093..13b1fe71 100644
--- a/chrome/common/extensions/extension_action.h
+++ b/chrome/common/extensions/extension_action.h
@@ -51,6 +51,8 @@ class ExtensionAction {
const int popup_height() const { return popup_height_; }
void set_popup_height(int height) { popup_height_ = height; }
+ bool is_popup() const { return !popup_url_.is_empty(); }
+
private:
static int next_command_id_;