Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/
Dicon_loader_win.cc36 ICONINFO icon_info = { 0 }; in ReadIcon() local
39 BOOL r = ::GetIconInfo(file_info.hIcon, &icon_info); in ReadIcon()
41 r = ::GetObject(icon_info.hbmMask, sizeof(bitmap_info), &bitmap_info); in ReadIcon()
/external/chromium_org/chrome/renderer/
Dweb_apps.cc83 WebApplicationInfo::IconInfo icon_info; in AddInstallIcon() local
90 icon_info.width = icon_sizes[0].width(); in AddInstallIcon()
91 icon_info.height = icon_sizes[0].height(); in AddInstallIcon()
93 icon_info.url = url; in AddInstallIcon()
94 icons->push_back(icon_info); in AddInstallIcon()
/external/chromium_org/ui/gfx/
Dicon_util.cc218 ICONINFO icon_info; in CreateHICONFromSkBitmap() local
219 icon_info.fIcon = TRUE; in CreateHICONFromSkBitmap()
220 icon_info.xHotspot = 0; in CreateHICONFromSkBitmap()
221 icon_info.yHotspot = 0; in CreateHICONFromSkBitmap()
222 icon_info.hbmMask = mono_bitmap; in CreateHICONFromSkBitmap()
223 icon_info.hbmColor = dib; in CreateHICONFromSkBitmap()
224 HICON icon = ::CreateIconIndirect(&icon_info); in CreateHICONFromSkBitmap()
234 ScopedICONINFO icon_info; in CreateSkBitmapFromHICON() local
235 if (!::GetIconInfo(icon, &icon_info)) in CreateSkBitmapFromHICON()
237 if (!icon_info.fIcon) in CreateSkBitmapFromHICON()
[all …]
Dicon_util_unittest.cc312 ICONINFO icon_info; in TEST_F() local
313 ASSERT_TRUE(::GetIconInfo(icon, &icon_info)); in TEST_F()
314 EXPECT_TRUE(icon_info.fIcon); in TEST_F()
328 icon_info.hbmColor, in TEST_F()
/external/chromium/chrome/common/
Dweb_apps.cc81 WebApplicationInfo::IconInfo icon_info; in AddInstallIcon() local
82 icon_info.width = icon_sizes[0].width(); in AddInstallIcon()
83 icon_info.height = icon_sizes[0].height(); in AddInstallIcon()
84 icon_info.url = url; in AddInstallIcon()
85 icons->push_back(icon_info); in AddInstallIcon()
/external/chromium_org/chrome/browser/extensions/
Dtab_helper.cc353 WebApplicationInfo::IconInfo icon_info; in CreateHostedApp() local
354 icon_info.data = bitmap; in CreateHostedApp()
355 icon_info.width = icon_info.data.width(); in CreateHostedApp()
356 icon_info.height = icon_info.data.height(); in CreateHostedApp()
357 web_app_info.icons.push_back(icon_info); in CreateHostedApp()
/external/chromium/chrome/browser/extensions/
Dextension_management_api.cc83 DictionaryValue* icon_info = new DictionaryValue(); in CreateExtensionInfo() local
87 icon_info->SetInteger(kSizeKey, icon_iter->first); in CreateExtensionInfo()
88 icon_info->SetString(kUrlKey, url.spec()); in CreateExtensionInfo()
89 icon_list->Append(icon_info); in CreateExtensionInfo()
/external/chromium_org/chrome/browser/ui/views/infobars/
Dinfobar_view.cc165 SHSTOCKICONINFO icon_info = { sizeof(SHSTOCKICONINFO) }; in CreateLabelButton() local
174 &icon_info))) { in CreateLabelButton()
176 icon_info.hIcon, gfx::Size(GetSystemMetrics(SM_CXSMICON), in CreateLabelButton()
182 DestroyIcon(icon_info.hIcon); in CreateLabelButton()
/external/chromium/chrome/browser/ui/views/infobars/
Dinfobar_view.cc130 SHSTOCKICONINFO icon_info = { sizeof SHSTOCKICONINFO }; in CreateTextButton() local
138 (*func)(SIID_SHIELD, SHGSI_ICON | SHGSI_SMALLICON, &icon_info); in CreateTextButton()
139 text_button->SetIcon(*IconUtil::CreateSkBitmapFromHICON(icon_info.hIcon, in CreateTextButton()
/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_api.cc153 management::IconInfo* icon_info = new management::IconInfo(); in CreateExtensionInfo() local
154 icon_info->size = icon_iter->first; in CreateExtensionInfo()
156 &extension, icon_info->size, ExtensionIconSet::MATCH_EXACTLY, false, in CreateExtensionInfo()
158 icon_info->url = url.spec(); in CreateExtensionInfo()
159 info->icons->push_back(make_linked_ptr<management::IconInfo>(icon_info)); in CreateExtensionInfo()
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dgtk2_ui.cc497 ScopedGtkIconInfo icon_info( in GetIconForContentType() local
501 if (!icon_info) in GetIconForContentType()
503 ScopedGdkPixbuf pixbuf(gtk_icon_info_load_icon(icon_info.get(), NULL)); in GetIconForContentType()
/external/chromium/chrome/browser/task_manager/
Dtask_manager_resource_providers.cc1491 ICONINFO icon_info = {0}; in TaskManagerBrowserProcessResource() local
1494 GetIconInfo(icon, &icon_info); in TaskManagerBrowserProcessResource()
1495 GetObject(icon_info.hbmMask, sizeof(bitmap_info), &bitmap_info); in TaskManagerBrowserProcessResource()