Home
last modified time | relevance | path

Searched refs:kFaviconSize (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/ui/gfx/
Dfavicon_size.cc9 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()
Dfavicon_size.h13 GFX_EXPORT extern const int kFaviconSize;
/external/chromium_org/chrome/browser/extensions/
Dextension_icon_manager.cc68 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()
Dcontext_menu_matcher.cc315 DCHECK(icon.width() == gfx::kFaviconSize); in SetExtensionIcon()
316 DCHECK(icon.height() == gfx::kFaviconSize); in SetExtensionIcon()
Dextension_web_ui.cc423 int pixel_size = static_cast<int>(gfx::kFaviconSize * scale); in GetFaviconForURL()
/external/chromium_org/chrome/utility/importer/
Dfavicon_reencode.cc21 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/
Dfavicon_url_parser.cc40 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/
Dtab_icon_view.cc121 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/
Dfavicon_service.cc101 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()
Dfavicon_handler_unittest.cc54 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()
Dfavicon_handler.h243 return icon_types_ == favicon_base::FAVICON ? gfx::kFaviconSize : 0; in preferred_icon_size()
Dfavicon_handler.cc41 return gfx::ImageSkia::GetMaxSupportedScale() * gfx::kFaviconSize; in GetMaximalIconSize()
/external/chromium_org/content/renderer/
Dimage_loading_helper.cc184 ImageDecoder decoder(gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize)); in ImageFromDataUrl()
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dzoom_bubble_view.cc187 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/
Dfavicon_webui_handler.cc116 gfx::kFaviconSize, in HandleGetFaviconDominantColor()
/external/chromium_org/components/search_engines/
Dtemplate_url_parser.cc401 image_is_valid_for_favicon_ = (width == gfx::kFaviconSize) && in ParseImage()
402 (height == gfx::kFaviconSize) && in ParseImage()
/external/chromium_org/chrome/browser/ui/webui/
Dfavicon_source.cc30 : size_in_dip(gfx::kFaviconSize), device_scale_factor(1.0f) { in IconRequest()
Dchrome_web_ui_controller_factory.cc627 static_cast<int>(gfx::kFaviconSize * scale + 0.5f); in GetFaviconForURL()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab.cc607 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/
Dextension_icon_source.cc226 gfx::kFaviconSize, in LoadFaviconImage()
/external/chromium_org/chrome/browser/sync/glue/
Dbookmark_change_processor.cc867 gfx::Size pixel_size(gfx::kFaviconSize, gfx::kFaviconSize); in ApplyBookmarkFavicon()
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_html_writer.cc465 gfx::kFaviconSize, in FetchNextFavicon()
/external/chromium_org/chrome/browser/android/
Dtab_android.cc667 int target_size_dip = device_scale_factor * gfx::kFaviconSize; in GetFavicon()
/external/chromium_org/chrome/browser/android/provider/
Dchrome_browser_provider.cc678 int desired_size_in_pixel = std::ceil(gfx::kFaviconSize * max_scale); in Run()