Home
last modified time | relevance | path

Searched refs:icon_info (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/extensions/
Dbookmark_app_helper.cc106 WebApplicationInfo::IconInfo icon_info; in OnIconsLoaded() local
107 icon_info.data = *it->ToSkBitmap(); in OnIconsLoaded()
108 icon_info.width = icon_info.data.width(); in OnIconsLoaded()
109 icon_info.height = icon_info.data.height(); in OnIconsLoaded()
110 web_app_info.icons.push_back(icon_info); in OnIconsLoaded()
316 WebApplicationInfo::IconInfo icon_info; in OnIconsDownloaded() local
317 icon_info.data = resized_bitmaps_it->second; in OnIconsDownloaded()
318 icon_info.width = icon_info.data.width(); in OnIconsDownloaded()
319 icon_info.height = icon_info.data.height(); in OnIconsDownloaded()
320 web_app_info_.icons.push_back(icon_info); in OnIconsDownloaded()
Dextension_action_storage_manager.cc141 const extension_misc::IconRepresentationInfo& icon_info = in SetDefaultsFromValue() local
143 if (icon_value->GetString(icon_info.size_string, &str_value) && in SetDefaultsFromValue()
146 float scale = ui::GetScaleForScaleFactor(icon_info.scale); in SetDefaultsFromValue()
176 const extension_misc::IconRepresentationInfo& icon_info = in DefaultsToValue() local
178 float scale = ui::GetScaleForScaleFactor(icon_info.scale); in DefaultsToValue()
180 icon_value->SetString(icon_info.size_string, in DefaultsToValue()
Dbookmark_app_helper_unittest.cc90 WebApplicationInfo::IconInfo icon_info; in CreateIconInfoWithBitmap() local
91 icon_info.width = size; in CreateIconInfoWithBitmap()
92 icon_info.height = size; in CreateIconInfoWithBitmap()
93 icon_info.data = CreateSquareBitmapWithColor(size, color); in CreateIconInfoWithBitmap()
94 return icon_info; in CreateIconInfoWithBitmap()
/external/chromium_org/chrome/browser/ui/views/
Delevation_icon_setter.cc31 SHSTOCKICONINFO icon_info = { sizeof(SHSTOCKICONINFO) }; in GetElevationIcon() local
42 if (FAILED((*func)(SIID_SHIELD, SHGSI_ICON | SHGSI_SMALLICON, &icon_info))) in GetElevationIcon()
46 icon_info.hIcon, in GetElevationIcon()
48 DestroyIcon(icon_info.hIcon); in GetElevationIcon()
/external/chromium_org/chrome/browser/apps/drive/
Ddrive_app_converter.cc164 WebApplicationInfo::IconInfo icon_info; in OnIconFetchComplete() local
165 icon_info.url = fetcher->icon_url(); in OnIconFetchComplete()
166 icon_info.data = icon; in OnIconFetchComplete()
167 icon_info.width = icon.width(); in OnIconFetchComplete()
168 icon_info.height = icon.height(); in OnIconFetchComplete()
169 web_app_.icons.push_back(icon_info); in OnIconFetchComplete()
/external/chromium_org/ui/gfx/
Dicon_util.cc223 ICONINFO icon_info; in CreateHICONFromSkBitmap() local
224 icon_info.fIcon = TRUE; in CreateHICONFromSkBitmap()
225 icon_info.xHotspot = 0; in CreateHICONFromSkBitmap()
226 icon_info.yHotspot = 0; in CreateHICONFromSkBitmap()
227 icon_info.hbmMask = mono_bitmap; in CreateHICONFromSkBitmap()
228 icon_info.hbmColor = dib; in CreateHICONFromSkBitmap()
229 HICON icon = ::CreateIconIndirect(&icon_info); in CreateHICONFromSkBitmap()
239 ScopedICONINFO icon_info; in CreateSkBitmapFromHICON() local
240 if (!::GetIconInfo(icon, &icon_info)) in CreateSkBitmapFromHICON()
242 if (!icon_info.fIcon) in CreateSkBitmapFromHICON()
[all …]
Dicon_util_unittest.cc309 ICONINFO icon_info; in TEST_F() local
310 ASSERT_TRUE(::GetIconInfo(icon, &icon_info)); in TEST_F()
311 EXPECT_TRUE(icon_info.fIcon); in TEST_F()
325 icon_info.hbmColor, in TEST_F()
/external/chromium_org/chrome/renderer/
Dweb_apps.cc82 WebApplicationInfo::IconInfo icon_info; in AddInstallIcon() local
89 icon_info.width = icon_sizes[0].width(); in AddInstallIcon()
90 icon_info.height = icon_sizes[0].height(); in AddInstallIcon()
92 icon_info.url = url; in AddInstallIcon()
93 icons->push_back(icon_info); in AddInstallIcon()
/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_api.cc178 management::IconInfo* icon_info = new management::IconInfo(); in CreateExtensionInfo() local
179 icon_info->size = icon_iter->first; in CreateExtensionInfo()
181 &extension, icon_info->size, ExtensionIconSet::MATCH_EXACTLY, false, in CreateExtensionInfo()
183 icon_info->url = url.spec(); in CreateExtensionInfo()
184 info->icons->push_back(make_linked_ptr<management::IconInfo>(icon_info)); in CreateExtensionInfo()
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dgtk2_ui.cc603 ScopedGtkIconInfo icon_info( in GetIconForContentType() local
607 if (!icon_info) in GetIconForContentType()
609 ScopedGdkPixbuf pixbuf(gtk_icon_info_load_icon(icon_info.get(), NULL)); in GetIconForContentType()