Lines Matching refs:icon_path
1611 FilePath icon_path = extension->GetIconResource( in DecodeIcon() local
1613 DecodeIconFromPath(icon_path, icon_size, result); in DecodeIcon()
1617 void Extension::DecodeIconFromPath(const FilePath& icon_path, in DecodeIconFromPath() argument
1620 if (icon_path.empty()) in DecodeIconFromPath()
1624 if (!file_util::ReadFileToString(icon_path, &file_contents)) { in DecodeIconFromPath()
1625 LOG(ERROR) << "Could not read icon file: " << icon_path.LossyDisplayName(); in DecodeIconFromPath()
1637 << icon_path.LossyDisplayName(); in DecodeIconFromPath()
1822 std::string icon_path; in InitFromValue() local
1823 if (!icons_value->GetString(key, &icon_path)) { in InitFromValue()
1829 if (!icon_path.empty() && icon_path[0] == '/') in InitFromValue()
1830 icon_path = icon_path.substr(1); in InitFromValue()
1832 if (icon_path.empty()) { in InitFromValue()
1838 icons_.Add(kIconSizes[i], icon_path); in InitFromValue()