Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: chrome/browser/ui/views/ash/launcher/launcher_favicon_loader.h

Issue 10828127: Use hi-resolution favicon variants if available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: grrrrr Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_
6 #define CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 SkBitmap GetFavicon() const; 48 SkBitmap GetFavicon() const;
49 49
50 private: 50 private:
51 // Message Handlers. 51 // Message Handlers.
52 void OnUpdateFaviconURL(int32 page_id, 52 void OnUpdateFaviconURL(int32 page_id,
53 const std::vector<FaviconURL>& candidates); 53 const std::vector<FaviconURL>& candidates);
54 54
55 void OnDidDownloadFavicon(int id, 55 void OnDidDownloadFavicon(int id,
56 const GURL& image_url, 56 const GURL& image_url,
57 bool errored, 57 bool errored,
58 const SkBitmap& bitmap); 58 int requested_size,
59 const std::vector<SkBitmap>& bitmaps);
59 60
60 scoped_ptr<internal::FaviconBitmapHandler> favicon_handler_; 61 scoped_ptr<internal::FaviconBitmapHandler> favicon_handler_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(LauncherFaviconLoader); 63 DISALLOW_COPY_AND_ASSIGN(LauncherFaviconLoader);
63 }; 64 };
64 65
65 #endif // CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_ 66 #endif // CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/ash/balloon_view_ash.cc ('k') | chrome/browser/ui/views/ash/launcher/launcher_favicon_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698