diff options
author | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 22:12:49 +0000 |
---|---|---|
committer | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 22:12:49 +0000 |
commit | cbe224d9ac80770b08f36035505358c397431e4b (patch) | |
tree | ec40d89290fd2deb5764c04d0d881880e3cab1c3 /chrome/common | |
parent | 52e3f6aeeb805db5051f33f9fdf79671dbe839bc (diff) | |
download | chromium_src-cbe224d9ac80770b08f36035505358c397431e4b.zip chromium_src-cbe224d9ac80770b08f36035505358c397431e4b.tar.gz chromium_src-cbe224d9ac80770b08f36035505358c397431e4b.tar.bz2 |
Add a flag that lets the webstore show a different UI on app install.
When people install apps, they seem to get confused about how to launch them.
We want to experiment with a different UI after install, that instead of
immediately transitioning to the New Tab Page, instead shows a bubble pointing
at the New Tab button on the tabstrip with a "show me" link which will open a
new tab and animate the app icon showing up there.
This CL has the views implementation - OSX and GTK implementations will come in
a separate CL.
BUG=89687
TEST=Requires webstore changes to fully test (the CL includes an automated
browser test)
Review URL: http://codereview.chromium.org/7529011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95514 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 3 | ||||
-rw-r--r-- | chrome/common/extensions/api/extension_api.json | 5 |
3 files changed, 10 insertions, 1 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 5f6ec9e..afaf93a 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -70,6 +70,9 @@ const char kAppsGalleryURL[] = "apps-gallery-url"; // The update url used by gallery/webstore extensions. const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url"; +// Whether to always use the new app install bubble when installing an app. +const char kAppsNewInstallBubble[] = "apps-new-install-bubble"; + // Disable throbber for extension apps. const char kAppsNoThrob[] = "apps-no-throb"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 7879e04..fca7bb5 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -32,12 +32,13 @@ extern const char kAllowWebSocketProxy[]; extern const char kAllowWebUICompositing[]; extern const char kAllowWebUIOobe[]; extern const char kAlwaysAuthorizePlugins[]; -extern const char kApp[]; extern const char kAppId[]; +extern const char kApp[]; extern const char kAppsCheckoutURL[]; extern const char kAppsGalleryReturnTokens[]; extern const char kAppsGalleryURL[]; extern const char kAppsGalleryUpdateURL[]; +extern const char kAppsNewInstallBubble[]; extern const char kAppsNoThrob[]; extern const char kAuthNegotiateDelegateWhitelist[]; extern const char kAuthSchemes[]; diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index ada7737..0341101 100644 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -6559,6 +6559,11 @@ "type": "string", "optional": true, "description": "The name of the locale used for generating localizedName. This should be the name of one of the directories in the _locales folder of the extension, or the default_locale setting from the manifest." + }, + "appInstallBubble": { + "type": "boolean", + "optional": true, + "description": "A flag to change the UI we show when an app is installed - a value of true means to show a bubble pointing at the new tab button (instead of the default behavior of opening the new tab page and animating the app icon)." } } }, |