Lines Matching defs:web_app
87 const WebApplicationInfo& web_app,
105 root->SetString(keys::kPublicKey, GenerateKey(web_app.app_url));
106 root->SetString(keys::kName, base::UTF16ToUTF8(web_app.title));
108 root->SetString(keys::kDescription, base::UTF16ToUTF8(web_app.description));
109 root->SetString(keys::kLaunchWebURL, web_app.app_url.spec());
114 for (size_t i = 0; i < web_app.icons.size(); ++i) {
115 std::string size = base::StringPrintf("%i", web_app.icons[i].width);
135 for (size_t i = 0; i < web_app.icons.size(); ++i) {
137 if (web_app.icons[i].data.colorType() == kUnknown_SkColorType)
141 base::StringPrintf("%i.png", web_app.icons[i].width));
143 if (!gfx::PNGCodec::EncodeBGRASkBitmap(web_app.icons[i].data,