Searched defs:icon_type (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium/chrome/common/
H A Dfavicon_url.h29 IconType icon_type; member in struct:FaviconURL
/external/chromium_org/content/public/common/
H A Dfavicon_url.h31 IconType icon_type; member in struct:content::FaviconURL
/external/chromium_org/chrome/common/favicon/
H A Dfavicon_types.h18 // Defines the icon types. They are also stored in icon_type field of favicons
69 IconType icon_type; member in struct:chrome::FaviconBitmapResult
/external/chromium/chrome/browser/
H A Dfavicon_helper.h77 FaviconHelper(TabContents* tab_contents, Type icon_type);
93 history::IconType icon_type,
116 history::IconType icon_type,
122 history::IconType icon_type,
135 history::IconType icon_type);
151 history::IconType icon_type);
156 history::IconType icon_type; member in struct:FaviconHelper::DownloadRequest
176 history::IconType icon_type);
187 history::IconType icon_type,
195 history::IconType icon_type);
[all...]
H A Dfavicon_service.cc18 history::IconType icon_type,
25 hs->GetFavicon(request, icon_url, icon_type);
34 history::IconType icon_type,
41 hs->UpdateFaviconMappingAndFetch(request, page_url, icon_url, icon_type);
85 history::IconType icon_type) {
88 hs->SetFavicon(page_url, icon_url, image_data, icon_type);
16 GetFavicon( const GURL& icon_url, history::IconType icon_type, CancelableRequestConsumerBase* consumer, FaviconDataCallback* callback) argument
31 UpdateFaviconMappingAndFetch( const GURL& page_url, const GURL& icon_url, history::IconType icon_type, CancelableRequestConsumerBase* consumer, FaviconService::FaviconDataCallback* callback) argument
82 SetFavicon(const GURL& page_url, const GURL& icon_url, const std::vector<unsigned char>& image_data, history::IconType icon_type) argument
H A Dfavicon_helper.cc26 // Returns history::IconType the given icon_type corresponds to.
27 history::IconType ToHistoryIconType(FaviconURL::IconType icon_type) { argument
28 switch (icon_type) {
45 history::IconType icon_type) {
47 favicon_url.icon_type == static_cast<FaviconURL::IconType>(icon_type);
54 icon_type(history::INVALID_ICON) {
60 history::IconType icon_type)
64 icon_type(icon_type) {
43 DoUrlAndIconMatch(const FaviconURL& favicon_url, const GURL& url, history::IconType icon_type) argument
57 DownloadRequest(const GURL& url, const GURL& image_url, ImageDownloadCallback* callback, history::IconType icon_type) argument
67 FaviconHelper(TabContents* tab_contents, Type icon_type) argument
106 DownloadImage(const GURL& image_url, int image_size, history::IconType icon_type, ImageDownloadCallback* callback) argument
118 SetFavicon( const GURL& url, const GURL& image_url, const SkBitmap& image, history::IconType icon_type) argument
226 UpdateFaviconMappingAndFetch( const GURL& page_url, const GURL& icon_url, history::IconType icon_type, CancelableRequestConsumerBase* consumer, FaviconService::FaviconDataCallback* callback) argument
236 GetFavicon( const GURL& icon_url, history::IconType icon_type, CancelableRequestConsumerBase* consumer, FaviconService::FaviconDataCallback* callback) argument
253 SetHistoryFavicon( const GURL& page_url, const GURL& icon_url, const std::vector<unsigned char>& image_data, history::IconType icon_type) argument
357 DownloadFaviconOrAskHistory( const GURL& page_url, const GURL& icon_url, history::IconType icon_type) argument
420 ScheduleDownload(const GURL& url, const GURL& image_url, int image_size, history::IconType icon_type, ImageDownloadCallback* callback) argument
[all...]
H A Dfavicon_helper_unittest.cc87 int icon_type,
91 icon_type_(icon_type),
97 int icon_type,
102 icon_type_(icon_type),
188 history::IconType icon_type,
192 icon_type, callback));
197 history::IconType icon_type,
201 icon_type, callback));
223 history::IconType icon_type) OVERRIDE {
225 icon_type, image_dat
85 HistoryRequestHandler(const GURL& page_url, const GURL& icon_url, int icon_type, FaviconService::FaviconDataCallback* callback) argument
95 HistoryRequestHandler(const GURL& page_url, const GURL& icon_url, int icon_type, const std::vector<unsigned char>& image_data, FaviconService::FaviconDataCallback* callback) argument
[all...]
/external/chromium_org/chrome/browser/favicon/
H A Dfavicon_handler.h88 Type icon_type);
127 chrome::IconType icon_type);
133 chrome::IconType icon_type,
139 chrome::IconType icon_type,
151 chrome::IconType icon_type,
168 chrome::IconType icon_type);
172 chrome::IconType icon_type; member in struct:FaviconHandler::DownloadRequest
183 chrome::IconType icon_type);
189 chrome::IconType icon_type; member in struct:FaviconHandler::FaviconCandidate
201 chrome::IconType icon_type);
[all...]
H A Dfavicon_service.cc63 chrome::IconType icon_type,
74 icon_urls, icon_type, desired_size_in_dip,
83 chrome::IconType icon_type,
100 icon_urls, icon_type, desired_size_in_dip, desired_scale_factors,
109 chrome::IconType icon_type,
117 icon_urls, icon_type, desired_size_in_dip,
224 chrome::IconType icon_type,
228 history_service_->MergeFavicon(page_url, icon_url, icon_type, bitmap_data,
235 chrome::IconType icon_type,
261 history_service_->SetFavicons(page_url, icon_type, favicon_bitmap_dat
61 GetFaviconImage( const GURL& icon_url, chrome::IconType icon_type, int desired_size_in_dip, const FaviconImageCallback& callback, CancelableTaskTracker* tracker) argument
81 GetRawFavicon( const GURL& icon_url, chrome::IconType icon_type, int desired_size_in_dip, ui::ScaleFactor desired_scale_factor, const FaviconRawCallback& callback, CancelableTaskTracker* tracker) argument
107 GetFavicon( const GURL& icon_url, chrome::IconType icon_type, int desired_size_in_dip, const FaviconResultsCallback& callback, CancelableTaskTracker* tracker) argument
221 MergeFavicon( const GURL& page_url, const GURL& icon_url, chrome::IconType icon_type, scoped_refptr<base::RefCountedMemory> bitmap_data, const gfx::Size& pixel_size) argument
233 SetFavicons(const GURL& page_url, const GURL& icon_url, chrome::IconType icon_type, const gfx::Image& image) argument
[all...]
H A Dfavicon_handler.cc37 // Returns chrome::IconType the given icon_type corresponds to.
38 chrome::IconType ToHistoryIconType(FaviconURL::IconType icon_type) { argument
39 switch (icon_type) {
54 // Get the maximal icon size in pixels for a icon of type |icon_type| for the
56 int GetMaximalIconSize(chrome::IconType icon_type) { argument
58 switch (icon_type) {
75 chrome::IconType icon_type) {
77 favicon_url.icon_type == static_cast<FaviconURL::IconType>(icon_type);
89 chrome::IconType icon_type
73 DoUrlAndIconMatch(const FaviconURL& favicon_url, const GURL& url, chrome::IconType icon_type) argument
179 DownloadRequest( const GURL& url, const GURL& image_url, chrome::IconType icon_type) argument
198 FaviconCandidate( const GURL& url, const GURL& image_url, const gfx::Image& image, float score, chrome::IconType icon_type) argument
213 FaviconHandler(Profile* profile, FaviconHandlerDelegate* delegate, Type icon_type) argument
255 UpdateFaviconCandidate(const GURL& url, const GURL& image_url, const gfx::Image& image, float score, chrome::IconType icon_type) argument
286 SetFavicon( const GURL& url, const GURL& icon_url, const gfx::Image& image, chrome::IconType icon_type) argument
435 DownloadFavicon(const GURL& image_url, int image_size, chrome::IconType icon_type) argument
447 UpdateFaviconMappingAndFetch( const GURL& page_url, const GURL& icon_url, chrome::IconType icon_type, const FaviconService::FaviconResultsCallback& callback, CancelableTaskTracker* tracker) argument
461 GetFavicon( const GURL& icon_url, chrome::IconType icon_type, const FaviconService::FaviconResultsCallback& callback, CancelableTaskTracker* tracker) argument
482 SetHistoryFavicons(const GURL& page_url, const GURL& icon_url, chrome::IconType icon_type, const gfx::Image& image) argument
551 DownloadFaviconOrAskHistory( const GURL& page_url, const GURL& icon_url, chrome::IconType icon_type) argument
617 ScheduleDownload( const GURL& url, const GURL& image_url, int image_size, chrome::IconType icon_type) argument
[all...]
H A Dfavicon_handler_unittest.cc51 chrome::IconType icon_type,
61 bitmap_result.icon_type = icon_type;
129 int icon_type,
133 icon_type_(icon_type),
139 int icon_type,
143 icon_type_(icon_type),
250 chrome::IconType icon_type,
254 icon_type, callback));
259 chrome::IconType icon_type,
49 SetFaviconBitmapResult( const GURL& icon_url, chrome::IconType icon_type, bool expired, std::vector<chrome::FaviconBitmapResult>* favicon_bitmap_results) argument
127 HistoryRequestHandler(const GURL& page_url, const GURL& icon_url, int icon_type, const FaviconService::FaviconResultsCallback& callback) argument
137 HistoryRequestHandler(const GURL& page_url, const GURL& icon_url, int icon_type, const std::vector<unsigned char>& bitmap_data) argument
[all...]
/external/chromium/chrome/browser/history/
H A Dexpire_history_backend_unittest.cc71 FaviconID GetFavicon(const GURL& page_url, IconType icon_type);
324 IconType icon_type) {
326 thumb_db_->GetIconMappingForPageURL(page_url, icon_type, &icon_mapping);
323 GetFavicon(const GURL& page_url, IconType icon_type) argument
H A Dhistory_backend_unittest.cc133 FaviconID GetFavicon(const GURL& url, IconType icon_type) { argument
135 if (backend_->thumbnail_db_->GetIconMappingForPageURL(url, icon_type,
H A Dthumbnail_database.cc35 icon_mapping->icon_type =
207 "icon_type INTEGER DEFAULT 1)"); // Set the default as FAVICON
404 IconType* icon_type) {
406 "SELECT id, icon_type FROM favicons WHERE url=? AND (icon_type & ? > 0) "
407 "ORDER BY icon_type DESC"));
416 if (icon_type)
417 *icon_type = static_cast<IconType>(statement.ColumnInt(1));
448 IconType icon_type) {
451 "INSERT INTO favicons (url, icon_type) VALUE
402 GetFaviconIDForFaviconURL(const GURL& icon_url, int required_icon_type, IconType* icon_type) argument
447 AddFavicon(const GURL& icon_url, IconType icon_type) argument
[all...]
H A Dhistory.cc453 history::IconType icon_type) {
455 icon_url, icon_type);
462 history::IconType icon_type) {
478 history::IconType icon_type) {
485 icon_type);
451 GetFavicon(FaviconService::GetFaviconRequest* request, const GURL& icon_url, history::IconType icon_type) argument
458 UpdateFaviconMappingAndFetch( FaviconService::GetFaviconRequest* request, const GURL& page_url, const GURL& icon_url, history::IconType icon_type) argument
475 SetFavicon(const GURL& page_url, const GURL& icon_url, const std::vector<unsigned char>& image_data, history::IconType icon_type) argument
H A Dhistory_types.h679 // Defines the icon types. They are also stored in icon_type field of favicons
703 IconType icon_type; member in struct:history::IconMapping
727 history::IconType icon_type; member in struct:history::FaviconData
H A Dhistory_backend.cc1610 IconType icon_type) {
1611 UpdateFaviconMappingAndFetchImpl(&page_url, icon_url, request, icon_type);
1709 icon_url, icon_types, &favicon.icon_type);
1722 SetFaviconMapping(*page_url, favicon_id, favicon.icon_type);
1748 (icon_mappings.front().icon_type & icon_types) &&
1754 favicon.icon_type = icon_mappings.front().icon_type;
1770 IconType icon_type) {
1776 icon_url, icon_type, NULL);
1778 id = thumbnail_db_->AddFavicon(icon_url, icon_type);
1606 UpdateFaviconMappingAndFetch( scoped_refptr<GetFaviconRequest> request, const GURL& page_url, const GURL& icon_url, IconType icon_type) argument
1766 SetFavicon( const GURL& page_url, const GURL& icon_url, scoped_refptr<RefCountedMemory> data, IconType icon_type) argument
1786 SetFaviconMapping(const GURL& page_url, FaviconID id, IconType icon_type) argument
1837 AddOrUpdateIconMapping(const GURL& page_url, FaviconID id, IconType icon_type, FaviconID* replaced_icon) argument
[all...]
/external/chromium_org/chrome/browser/history/
H A Dexpire_history_backend.cc363 chrome::IconType icon_type; local
366 &icon_type) &&
H A Dexpire_history_backend_unittest.cc77 chrome::IconType icon_type);
297 chrome::IconType icon_type) {
299 if (thumb_db_->GetIconMappingsForPageURL(page_url, icon_type,
296 GetFavicon(const GURL& page_url, chrome::IconType icon_type) argument
H A Dhistory_types.h686 chrome::IconType icon_type; member in struct:history::IconMapping
H A Dthumbnail_database.cc48 // associated via <link rel="icon_type" href="url">.
54 // icon_type The type of the favicon specified in the rel attribute of
81 icon_mapping->icon_type =
370 if (!db_.DoesColumnExist("favicons", "icon_type")) {
371 LOG(ERROR) << "Raze because of missing favicon.icon_type";
520 // Set the default icon_type as FAVICON to be consistent with
522 "icon_type INTEGER DEFAULT 1)");
564 return !db_.IsSQLValid("SELECT id, url, icon_type FROM favicons");
865 chrome::IconType* icon_type) {
867 "SELECT id, icon_type FRO
862 GetFaviconIDForFaviconURL( const GURL& icon_url, int required_icon_type, chrome::IconType* icon_type) argument
880 GetFaviconHeader(chrome::FaviconID icon_id, GURL* icon_url, chrome::IconType* icon_type) argument
900 AddFavicon( const GURL& icon_url, chrome::IconType icon_type) argument
914 AddFavicon( const GURL& icon_url, chrome::IconType icon_type, const scoped_refptr<base::RefCountedMemory>& icon_data, base::Time time, const gfx::Size& pixel_size) argument
[all...]
H A Dhistory_backend_unittest.cc267 // Returns the number of icon mappings of |icon_type| to |page_url|.
269 chrome::IconType icon_type) {
271 backend_->thumbnail_db_->GetIconMappingsForPageURL(page_url, icon_type,
1408 EXPECT_EQ(chrome::FAVICON, icon_mappings[0].icon_type);
2004 EXPECT_EQ(chrome::TOUCH_ICON, icon_mappings[0].icon_type);
2010 EXPECT_EQ(chrome::TOUCH_PRECOMPOSED_ICON, icon_mappings[0].icon_type);
2012 EXPECT_EQ(chrome::TOUCH_PRECOMPOSED_ICON, icon_mappings[1].icon_type);
2020 EXPECT_EQ(chrome::TOUCH_PRECOMPOSED_ICON, icon_mappings[0].icon_type);
2022 EXPECT_EQ(chrome::TOUCH_PRECOMPOSED_ICON, icon_mappings[1].icon_type);
2086 EXPECT_EQ(chrome::FAVICON, bitmap_results_out[0].icon_type);
268 NumIconMappingsForPageURL(const GURL& page_url, chrome::IconType icon_type) argument
[all...]
H A Dhistory_service.cc718 chrome::IconType icon_type,
726 icon_url, icon_type, bitmap_data, pixel_size);
731 chrome::IconType icon_type,
738 icon_type, favicon_bitmap_data);
715 MergeFavicon( const GURL& page_url, const GURL& icon_url, chrome::IconType icon_type, scoped_refptr<base::RefCountedMemory> bitmap_data, const gfx::Size& pixel_size) argument
729 SetFavicons( const GURL& page_url, chrome::IconType icon_type, const std::vector<chrome::FaviconBitmapData>& favicon_bitmap_data) argument
/external/chromium_org/ash/system/chromeos/network/
H A Dnetwork_icon.cc56 explicit NetworkIconImpl(IconType icon_type);
111 NetworkIconMap* GetIconMapInstance(IconType icon_type, bool create) { argument
119 if (s_icon_map->count(icon_type) == 0) {
122 (*s_icon_map)[icon_type] = new NetworkIconMap;
124 return (*s_icon_map)[icon_type];
127 NetworkIconMap* GetIconMap(IconType icon_type) { argument
128 return GetIconMapInstance(icon_type, true);
131 void PurgeIconMap(IconType icon_type, argument
133 NetworkIconMap* icon_map = GetIconMapInstance(icon_type, false);
254 bool IconTypeIsDark(IconType icon_type) { argument
258 IconTypeHasVPNBadge(IconType icon_type) argument
266 BaseImageForType(ImageType image_type, IconType icon_type) argument
290 GetImageForIndex(ImageType image_type, IconType icon_type, int index) argument
303 GetConnectedImage(const std::string& type, IconType icon_type) argument
314 GetDisconnectedImage(const std::string& type, IconType icon_type) argument
326 ConnectingWirelessImage(ImageType image_type, IconType icon_type, double animation) argument
407 BadgeForNetworkTechnology(const NetworkState* network, IconType icon_type) argument
457 BadgeForVPN(IconType icon_type) argument
462 GetIcon(const NetworkState* network, IconType icon_type, int strength_index) argument
486 GetConnectingVpnImage(IconType icon_type) argument
508 GetConnectingImage(const std::string& network_type, IconType icon_type) argument
527 NetworkIconImpl(IconType icon_type) argument
651 GetImageForNetwork(const NetworkState* network, IconType icon_type) argument
674 GetImageForConnectedNetwork(IconType icon_type, const std::string& network_type) argument
679 GetImageForConnectingNetwork(IconType icon_type, const std::string& network_type) argument
684 GetImageForDisconnectedNetwork(IconType icon_type, const std::string& network_type) argument
689 GetLabelForNetwork(const chromeos::NetworkState* network, IconType icon_type) argument
762 GetDefaultNetworkImageAndLabel(IconType icon_type, gfx::ImageSkia* image, base::string16* label, bool* animating) argument
[all...]
/external/chromium_org/content/renderer/
H A Drender_frame_impl.cc440 WebKit::WebIconURL::Type icon_type) {
442 render_view_->didChangeIcon(frame, icon_type);
439 didChangeIcon(WebKit::WebFrame* frame, WebKit::WebIconURL::Type icon_type) argument

Completed in 590 milliseconds

12