/external/chromium_org/ui/gfx/ |
icon_util_unittest.cc | 81 for (size_t i = 0; i < IconUtil::kNumIconDimensions; ++i) { 82 if (IconUtil::kIconDimensions[i] > max_icon_size) 97 ASSERT_GE(icon_data.length(), sizeof(IconUtil::ICONDIR)); 103 const IconUtil::ICONDIR* icon_dir = 104 reinterpret_cast<const IconUtil::ICONDIR*>(icon_data.data()); 106 ASSERT_GE(IconUtil::kNumIconDimensions, icon_dir->idCount); 108 sizeof(IconUtil::ICONDIR) + 109 icon_dir->idCount * sizeof(IconUtil::ICONDIRENTRY)); 110 const IconUtil::ICONDIRENTRY* png_entry = NULL; 112 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 | 61 scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON(
|
jumplist_win.cc | 77 if (!IconUtil::CreateIconFileFromImageFamily(image_family, path))
|
/external/chromium_org/content/common/cursors/ |
webcursor_aurawin.cc | 22 IconUtil::CreateCursorFromDIB(
|
/external/chromium_org/chrome/browser/ui/views/ |
elevation_icon_setter.cc | 45 icon.reset(IconUtil::CreateSkBitmapFromHICON(
|
tab_icon_view.cc | 41 IconUtil::CreateSkBitmapFromHICON(app_icon, gfx::Size(16, 16)));
|
/external/chromium_org/chrome/browser/ui/views/status_icons/ |
status_icon_win.cc | 100 icon_.Set(IconUtil::CreateHICONFromSkBitmap(*image.bitmap())); 131 balloon_icon_.Set(IconUtil::CreateHICONFromSkBitmap(*icon.bitmap()));
|
/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/frame/ |
taskbar_decorator_win.cc | 62 icon.Set(IconUtil::CreateHICONFromSkBitmap(offscreen_bitmap));
|
glass_browser_frame_view.cc | 549 frame_icon = IconUtil::CreateHICONFromSkBitmap(*icon.bitmap());
|
/external/chromium_org/chrome/browser/web_applications/ |
web_app.cc | 59 const int* kDesiredSizes = IconUtil::kIconDimensions; 60 const size_t kNumDesiredSizes = IconUtil::kNumIconDimensions;
|
web_app_win.cc | 59 if (!IconUtil::CreateIconFileFromImageFamily(image, icon_file))
|
/external/chromium_org/chrome/browser/profiles/ |
profile_shortcut_manager_win.cc | 185 GetAppIconForSize(IconUtil::kLargeIconSize)); 204 if (!IconUtil::CreateIconFileFromImageFamily(badged_bitmaps, icon_path)) { [all...] |
/external/chromium_org/chrome/browser/ui/views/panels/ |
panel_view.cc | 181 scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON(app_icon)); [all...] |
/external/chromium_org/ui/views/win/ |
hwnd_message_handler.cc | 843 HICON windows_icon = IconUtil::CreateHICONFromSkBitmap( 854 HICON windows_icon = IconUtil::CreateHICONFromSkBitmap(*app_icon.bitmap()); [all...] |