diff options
author | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 17:54:18 +0000 |
---|---|---|
committer | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 17:54:18 +0000 |
commit | 6516fff5269f704fb79872cbfbf6e43d622015ad (patch) | |
tree | b3142e970c6693aaa52d062b0f8747a407649264 /chrome/common/extensions/extension.h | |
parent | 78ecf43dbd649aca57273c388538da9c7bcb8d2a (diff) | |
download | chromium_src-6516fff5269f704fb79872cbfbf6e43d622015ad.zip chromium_src-6516fff5269f704fb79872cbfbf6e43d622015ad.tar.gz chromium_src-6516fff5269f704fb79872cbfbf6e43d622015ad.tar.bz2 |
Tweak install and dangerous download dialogs for apps.
BUG=45155
TEST=Run chrome with the --enable-apps flag.Install an app - the confirmation
dialog should say "..this App..." instead of "...this Extension...". Install an
extension - it should stil say "Extension".
Review URL: http://codereview.chromium.org/2730002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49553 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension.h')
-rw-r--r-- | chrome/common/extensions/extension.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h index 67eee26..62bcfc7 100644 --- a/chrome/common/extensions/extension.h +++ b/chrome/common/extensions/extension.h @@ -329,6 +329,9 @@ class Extension { const std::string omnibox_keyword() const { return omnibox_keyword_; } + // Is this extension an App? + bool IsApp() const; + bool web_content_enabled() const { return web_content_enabled_; } const ExtensionExtent& web_extent() const { return web_extent_; } |