diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-06 18:05:14 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-06 18:05:14 +0000 |
commit | 75fd678aa3f19dca21026f6edd43e661d24e499e (patch) | |
tree | 922ce8bc4c5dd213e1dd50fdd0432d36fb411652 /chrome/browser/ui | |
parent | 78eefea776afcf1a271c3eeb302e199ef92a5438 (diff) | |
download | chromium_src-75fd678aa3f19dca21026f6edd43e661d24e499e.zip chromium_src-75fd678aa3f19dca21026f6edd43e661d24e499e.tar.gz chromium_src-75fd678aa3f19dca21026f6edd43e661d24e499e.tar.bz2 |
ntp4: app generation tweak
if there was no title and the URL was >45 chars then the app generation would fail.
Also, make the extent more specific (i.e. equal to the launch url), so for example you can install a google reader app (will not conflict with cloud print).
BUG=none
TEST=manual
Review URL: http://codereview.chromium.org/7739007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui')
-rw-r--r-- | chrome/browser/ui/webui/ntp/app_launcher_handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc index f63c6ce..9916ccd 100644 --- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc +++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc @@ -808,6 +808,7 @@ void AppLauncherHandler::OnFaviconForApp(FaviconService::Handle handle, web_app->is_bookmark_app = install_info->is_bookmark_app; web_app->title = install_info->title; web_app->app_url = install_info->app_url; + web_app->urls.push_back(install_info->app_url); WebApplicationInfo::IconInfo icon; web_app->icons.push_back(icon); |