Home | History | Annotate | Download | only in extensions

Lines Matching defs:icons

41 const char kIconsDirName[] = "icons";
122 // Add the icons.
123 DictionaryValue* icons = new DictionaryValue();
124 root->Set(keys::kIcons, icons);
125 for (size_t i = 0; i < web_app.icons.size(); ++i) {
126 std::string size = base::StringPrintf("%i", web_app.icons[i].width);
129 icons->SetString(size, icon_path);
157 LOG(ERROR) << "Could not create icons directory.";
160 for (size_t i = 0; i < web_app.icons.size(); ++i) {
162 if (web_app.icons[i].data.config() == SkBitmap::kNo_Config)
166 base::StringPrintf("%i.png", web_app.icons[i].width));
168 if (!gfx::PNGCodec::EncodeBGRASkBitmap(web_app.icons[i].data,