summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.h
diff options
context:
space:
mode:
authorcalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-04 11:08:50 +0000
committercalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-04 11:08:50 +0000
commit46601461e30a5ad8c4b789f9fc177e1dbfa30679 (patch)
tree77d06626ad1c782d87273f9f7033998dede01c6e /extensions/common/extension.h
parent831ee453dbaf7932311780e3df744c0db1af1afb (diff)
downloadchromium_src-46601461e30a5ad8c4b789f9fc177e1dbfa30679.zip
chromium_src-46601461e30a5ad8c4b789f9fc177e1dbfa30679.tar.gz
chromium_src-46601461e30a5ad8c4b789f9fc177e1dbfa30679.tar.bz2
Add bookmark app creation dialog.
This CL adds a dialog that is displayed when a user presses the "Create app from this website" button in the wrench menu. The dialog allows the user to customize the name of the bookmark app and set whether it opens as a tab or a window. The dialog currently appears below the toolbar. This CL also removes the old UI behavior of opening the app launcher or NTP after creating the app because the dialog needs focus. BUG=331997 Review URL: https://codereview.chromium.org/146453002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r--extensions/common/extension.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index ead3dd0..4ea11b4 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -133,8 +133,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// Chrome Web Store.
FROM_WEBSTORE = 1 << 3,
- // |FROM_BOOKMARK| indicates the extension was created using a mock App
- // created from a bookmark.
+ // |FROM_BOOKMARK| indicates the extension is a bookmark app which has been
+ // generated from a web page. Bookmark apps have no permissions or extent
+ // and launch the web page they are created from when run.
FROM_BOOKMARK = 1 << 4,
// |FOLLOW_SYMLINKS_ANYWHERE| means that resources can be symlinks to