Home | History | Annotate | Download | only in extensions

Lines Matching defs:icons

38 const char kIconsDirName[] = "icons";
111 // Add the icons.
112 DictionaryValue* icons = new DictionaryValue();
113 root->Set(keys::kIcons, icons);
114 for (size_t i = 0; i < web_app.icons.size(); ++i) {
115 std::string size = StringPrintf("%i", web_app.icons[i].width);
118 icons->SetString(size, icon_path);
147 LOG(ERROR) << "Could not create icons directory.";
150 for (size_t i = 0; i < web_app.icons.size(); ++i) {
152 StringPrintf("%i.png", web_app.icons[i].width));
154 if (!gfx::PNGCodec::EncodeBGRASkBitmap(web_app.icons[i].data,