/external/chromium_org/ui/gfx/ |
icon_util_unittest.cc | 80 for (size_t i = 0; i < IconUtil::kNumIconDimensions; ++i) { 81 if (IconUtil::kIconDimensions[i] > max_icon_size) 96 ASSERT_GE(icon_data.length(), sizeof(IconUtil::ICONDIR)); 102 const IconUtil::ICONDIR* icon_dir = 103 reinterpret_cast<const IconUtil::ICONDIR*>(icon_data.data()); 105 ASSERT_GE(IconUtil::kNumIconDimensions, icon_dir->idCount); 107 sizeof(IconUtil::ICONDIR) + 108 icon_dir->idCount * sizeof(IconUtil::ICONDIRENTRY)); 109 const IconUtil::ICONDIRENTRY* png_entry = NULL; 111 const IconUtil::ICONDIRENTRY* entry = &icon_dir->idEntries[i] [all...] |
icon_util.cc | 51 for (size_t i = 0; i < IconUtil::kNumIconDimensions; ++i) { 52 int dimension = IconUtil::kIconDimensions[i]; 63 if (dimension > IconUtil::kMediumIconSize && 64 best->Width() <= IconUtil::kMediumIconSize && 65 best->Height() <= IconUtil::kMediumIconSize) { 113 DCHECK_LE(image.Width(), IconUtil::kLargeIconSize); 115 DCHECK_LE(image.Height(), IconUtil::kLargeIconSize); 128 if (image.Width() == IconUtil::kLargeIconSize && 129 image.Height() == IconUtil::kLargeIconSize) { 146 const int IconUtil::kIconDimensions[] = [all...] |
icon_util.h | 31 // The IconUtil class contains helper functions for manipulating Windows icons. 35 // shows an example usage of IconUtil::CreateHICONFromSkBitmap(): 46 // HICON icon = IconUtil::CreateHICONFromSkBitmap(bitmap); 60 class GFX_EXPORT IconUtil { 256 // only 32bpp are handled by the IconUtil class, the 270 DISALLOW_IMPLICIT_CONSTRUCTORS(IconUtil);
|
/external/chromium_org/chrome/browser/ |
app_icon_win.cc | 38 return IconUtil::CreateSkBitmapFromIconResource(
|
icon_loader_win.cc | 54 scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON(
|
jumplist_win.cc | 243 if (!IconUtil::CreateIconFileFromImageFamily(image_family, path))
|
/external/chromium_org/webkit/common/cursors/ |
webcursor_aurawin.cc | 20 IconUtil::CreateCursorFromDIB(
|
webcursor_win.cc | 132 IconUtil::CreateCursorFromDIB(
|
/external/chromium/chrome/browser/ |
icon_loader_win.cc | 46 IconUtil::CreateSkBitmapFromHICON(file_info.hIcon, icon_size)));
|
jumplist_win.cc | 258 if (!IconUtil::CreateIconFileFromSkBitmap(bitmap, path))
|
aeropeek_manager.cc | [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
taskbar_decorator_win.cc | 80 icon.Set(IconUtil::CreateHICONFromSkBitmap(
|
glass_browser_frame_view.cc | 535 frame_icon = IconUtil::CreateHICONFromSkBitmap(*icon.bitmap());
|
/external/chromium/chrome/browser/ui/views/status_icons/ |
status_icon_win.cc | 40 icon_.Set(IconUtil::CreateHICONFromSkBitmap(image));
|
/external/chromium/chrome/browser/ui/views/ |
tab_icon_view.cc | 40 IconUtil::CreateSkBitmapFromHICON(app_icon, gfx::Size(16, 16));
|
/external/chromium_org/chrome/browser/task_manager/ |
browser_process_resource_provider.cc | 42 scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON(icon));
|
/external/chromium_org/chrome/browser/ui/views/status_icons/ |
status_icon_win.cc | 95 icon_.Set(IconUtil::CreateHICONFromSkBitmap(*image.bitmap())); 131 balloon_icon_.Set(IconUtil::CreateHICONFromSkBitmap(*icon.bitmap()));
|
/external/chromium_org/chrome/browser/ui/views/ |
tab_icon_view.cc | 41 IconUtil::CreateSkBitmapFromHICON(app_icon, gfx::Size(16, 16)));
|
/external/chromium_org/chrome/browser/ui/web_applications/ |
web_app_ui.cc | 65 const int* kDesiredSizes = IconUtil::kIconDimensions; 66 const size_t kNumDesiredSizes = IconUtil::kNumIconDimensions;
|
/external/chromium/chrome/browser/ui/views/infobars/ |
infobar_view.cc | 139 text_button->SetIcon(*IconUtil::CreateSkBitmapFromHICON(icon_info.hIcon,
|
/external/chromium/chrome/browser/web_applications/ |
web_app.cc | 112 if (!IconUtil::CreateIconFileFromSkBitmap(image, icon_file))
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
infobar_view.cc | 175 scoped_ptr<SkBitmap> icon(IconUtil::CreateSkBitmapFromHICON(
|
/external/chromium_org/chrome/browser/profiles/ |
profile_shortcut_manager_win.cc | 200 GetAppIconForSize(IconUtil::kLargeIconSize)); 219 if (!IconUtil::CreateIconFileFromImageFamily(badged_bitmaps, icon_path)) { [all...] |
/external/chromium/chrome/browser/ui/views/frame/ |
glass_browser_frame_view.cc | 577 frame_icon = IconUtil::CreateHICONFromSkBitmap(icon);
|
/external/chromium_org/chrome/browser/web_applications/ |
web_app_win.cc | 60 if (!IconUtil::CreateIconFileFromImageFamily(image, icon_file))
|