/external/chromium_org/ui/gfx/ |
D | favicon_size.cc | 9 const int kFaviconSize = 16; variable 12 if (*width > kFaviconSize || *height > kFaviconSize) { in CalculateFaviconTargetSize() 16 *height = kFaviconSize; in CalculateFaviconTargetSize() 18 if (*width > kFaviconSize) { in CalculateFaviconTargetSize() 19 *width = kFaviconSize; in CalculateFaviconTargetSize()
|
D | favicon_size.h | 13 GFX_EXPORT extern const int kFaviconSize;
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_icon_manager.cc | 68 gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize), in LoadIcon() 85 DCHECK_EQ(gfx::kFaviconSize + padding_.width(), result->width()); in GetIcon() 86 DCHECK_EQ(gfx::kFaviconSize + padding_.height(), result->height()); in GetIcon() 120 if (result.width() != gfx::kFaviconSize || in ApplyTransforms() 121 result.height() != gfx::kFaviconSize) { in ApplyTransforms() 124 gfx::kFaviconSize, gfx::kFaviconSize); in ApplyTransforms()
|
D | context_menu_matcher.cc | 315 DCHECK(icon.width() == gfx::kFaviconSize); in SetExtensionIcon() 316 DCHECK(icon.height() == gfx::kFaviconSize); in SetExtensionIcon()
|
D | extension_web_ui.cc | 423 int pixel_size = static_cast<int>(gfx::kFaviconSize * scale); in GetFaviconForURL()
|
/external/chromium_org/chrome/utility/importer/ |
D | favicon_reencode.cc | 21 gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize), in ReencodeFavicon() 26 if (decoded.width() != gfx::kFaviconSize || in ReencodeFavicon() 27 decoded.height() != gfx::kFaviconSize) { in ReencodeFavicon()
|
/external/chromium_org/chrome/common/favicon/ |
D | favicon_url_parser.cc | 40 parsed->size_in_dip = gfx::kFaviconSize; in ParseFaviconPath() 74 if (parsed->size_in_dip != (gfx::kFaviconSize * 4) && in ParseFaviconPath() 75 parsed->size_in_dip != (gfx::kFaviconSize * 2)) { in ParseFaviconPath() 77 parsed->size_in_dip = gfx::kFaviconSize; in ParseFaviconPath() 88 if (parsed->size_in_dip != gfx::kFaviconSize && in ParseFaviconPath()
|
/external/chromium_org/chrome/browser/ui/views/ |
D | tab_icon_view.cc | 121 if (src_w <= gfx::kFaviconSize && src_h <= gfx::kFaviconSize) { in PaintIcon() 122 scalable_w = scalable_h = gfx::kFaviconSize; in PaintIcon() 159 return gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize); in GetPreferredSize()
|
/external/chromium_org/chrome/browser/favicon/ |
D | favicon_service.cc | 101 base::Unretained(this), callback, gfx::kFaviconSize); in GetFaviconImage() 108 GetPixelSizesForFaviconScales(gfx::kFaviconSize), in GetFaviconImage() 165 GetPixelSizesForFaviconScales(gfx::kFaviconSize), in GetFaviconImageForPageURL() 169 gfx::kFaviconSize), in GetFaviconImageForPageURL()
|
D | favicon_handler_unittest.cc | 54 FillBitmap(gfx::kFaviconSize, gfx::kFaviconSize, &data->data()); in SetFaviconRawBitmapResult() 59 bitmap_result.pixel_size = gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize); in SetFaviconRawBitmapResult() 384 int original_size = (*i > 0) ? *i : gfx::kFaviconSize; in InvokeCallback() 588 EXPECT_EQ(gfx::kFaviconSize, driver.GetActiveFaviconImage().Width()); in TEST_F() 670 EXPECT_EQ(gfx::kFaviconSize, driver.GetActiveFaviconImage().Width()); in TEST_F() 695 bitmap_result.pixel_size = gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize); in TEST_F() 741 EXPECT_EQ(gfx::kFaviconSize, driver.GetActiveFaviconImage().Width()); in TEST_F() 1082 EXPECT_EQ(gfx::kFaviconSize, driver1.GetActiveFaviconImage().Width()); in TEST_F()
|
D | favicon_handler.h | 243 return icon_types_ == favicon_base::FAVICON ? gfx::kFaviconSize : 0; in preferred_icon_size()
|
D | favicon_handler.cc | 41 return gfx::ImageSkia::GetMaxSupportedScale() * gfx::kFaviconSize; in GetMaximalIconSize()
|
/external/chromium_org/content/renderer/ |
D | image_loading_helper.cc | 184 ImageDecoder decoder(gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize)); in ImageFromDataUrl()
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | zoom_bubble_view.cc | 187 int icon_size = gfx::kFaviconSize; in SetExtensionInfo() 196 !icons.Get(gfx::kFaviconSize, ExtensionIconSet::MATCH_EXACTLY).empty(); in SetExtensionInfo()
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
D | favicon_webui_handler.cc | 116 gfx::kFaviconSize, in HandleGetFaviconDominantColor()
|
/external/chromium_org/components/search_engines/ |
D | template_url_parser.cc | 401 image_is_valid_for_favicon_ = (width == gfx::kFaviconSize) && in ParseImage() 402 (height == gfx::kFaviconSize) && in ParseImage()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | favicon_source.cc | 30 : size_in_dip(gfx::kFaviconSize), device_scale_factor(1.0f) { in IconRequest()
|
D | chrome_web_ui_controller_factory.cc | 627 static_cast<int>(gfx::kFaviconSize * scale + 0.5f); in GetFaviconForURL()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab.cc | 607 kLeftPadding + gfx::kFaviconSize + kRightPadding); in GetMinimumSelectedSize() 752 favicon_bounds_.set_size(gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize)); in Layout() 753 favicon_bounds_.set_y(lb.y() + (lb.height() - gfx::kFaviconSize + 1) / 2); in Layout() 1419 const int width_per_icon = gfx::kFaviconSize; in IconCapacity()
|
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
D | extension_icon_source.cc | 226 gfx::kFaviconSize, in LoadFaviconImage()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | bookmark_change_processor.cc | 867 gfx::Size pixel_size(gfx::kFaviconSize, gfx::kFaviconSize); in ApplyBookmarkFavicon()
|
/external/chromium_org/chrome/browser/bookmarks/ |
D | bookmark_html_writer.cc | 465 gfx::kFaviconSize, in FetchNextFavicon()
|
/external/chromium_org/chrome/browser/android/ |
D | tab_android.cc | 667 int target_size_dip = device_scale_factor * gfx::kFaviconSize; in GetFavicon()
|
/external/chromium_org/chrome/browser/android/provider/ |
D | chrome_browser_provider.cc | 678 int desired_size_in_pixel = std::ceil(gfx::kFaviconSize * max_scale); in Run()
|