Home
last modified time | relevance | path

Searched refs:icon_path (Results 1 – 11 of 11) sorted by relevance

/external/chromium/base/
Dmime_util_xdg.cc188 FilePath icon_path; in GetIconPath() local
195 icon_path = GetIconPathUnderSubdir(icon_name, subdir_iter->first); in GetIconPath()
196 if (!icon_path.empty()) in GetIconPath()
197 return icon_path; in GetIconPath()
212 icon_path = path; in GetIconPath()
217 if (!icon_path.empty() || !inherits || inherits_ == "") in GetIconPath()
218 return icon_path; in GetIconPath()
245 FilePath icon_path; in GetIconPathUnderSubdir() local
251 icon_path = dir_iter->Append(subdir); in GetIconPathUnderSubdir()
252 icon_path = icon_path.Append(icon_name + (*icon_formats)[i]); in GetIconPathUnderSubdir()
[all …]
/external/chromium/chrome/browser/
Djumplist_win.cc248 FilePath* icon_path) {
263 *icon_path = path;
542 FilePath icon_path;
543 if (CreateIconFile(icon_bitmap, icon_dir_, &icon_path))
544 (*item)->SetIcon(icon_path.value(), 0, true);
557 FilePath icon_path;
558 if (CreateIconFile(icon_bitmap, icon_dir_, &icon_path))
559 (*item)->SetIcon(icon_path.value(), 0, true);
/external/chromium/chrome/browser/ui/views/location_bar/
Dpage_action_image_view.cc217 std::string icon_path = (icon_index < 0) ? in UpdateVisibility() local
220 if (!icon_path.empty()) { in UpdateVisibility()
221 PageActionMap::iterator iter = page_action_icons_.find(icon_path); in UpdateVisibility()
/external/chromium/chrome/browser/extensions/
Dconvert_web_app.cc116 std::string icon_path = StringPrintf("%s/%s.png", kIconsDirName, in ConvertWebAppToExtension() local
118 icons->SetString(size, icon_path); in ConvertWebAppToExtension()
/external/chromium/chrome/common/extensions/
Dfile_browser_handler.h47 const std::string icon_path() const { return default_icon_path_; } in icon_path() function
Dextension.cc1611 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()
[all …]
Dextension.h448 static void DecodeIconFromPath(const FilePath& icon_path,
Dextension_manifests_unittest.cc606 EXPECT_EQ(action->icon_path(), "icon.png"); in TEST_F()
/external/chromium/chrome/browser/cocoa/
Dauthorization_util.mm43 NSString* icon_path =
46 const char* icon_path_c = [icon_path fileSystemRepresentation];
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dpage_action_decoration.mm163 std::string icon_path = (icon_index < 0) ?
166 if (!icon_path.empty()) {
167 PageActionMap::iterator iter = page_action_icons_.find(icon_path);
/external/chromium/chrome/browser/ui/gtk/
Dlocation_bar_view_gtk.cc1518 std::string icon_path = (icon_index < 0) ? in UpdateVisibility() local
1521 if (!icon_path.empty()) { in UpdateVisibility()
1522 PixbufMap::iterator iter = pixbufs_.find(icon_path); in UpdateVisibility()