From 75fd678aa3f19dca21026f6edd43e661d24e499e Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Tue, 6 Sep 2011 18:05:14 +0000 Subject: 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 --- chrome/browser/ui/webui/ntp/app_launcher_handler.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/ui') 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); -- cgit v1.1