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

Unified Diff: ui/gfx/favicon_size.h

Issue 15388002: Supporting high dpi favicons in Instant Extended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing comments & removing searchbox changes Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/favicon/favicon_url_parser.cc ('k') | ui/gfx/favicon_size.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/favicon_size.h
diff --git a/ui/gfx/favicon_size.h b/ui/gfx/favicon_size.h
index 6b2c6a14f4f9fd85f9c5b99d8efbfab4f2ebfe0d..360967d240cb01b6b7e5aa7e885cadd3e9a5985d 100644
--- a/ui/gfx/favicon_size.h
+++ b/ui/gfx/favicon_size.h
@@ -12,6 +12,15 @@ namespace gfx {
// Size (along each axis) of the favicon.
UI_EXPORT extern const int kFaviconSize;
+// Default size of the favicon.
+UI_EXPORT extern const int kSizeInDip;
sky 2013/07/01 13:48:00 AFAICT all of these are only used in one place. Wh
pedro (no code reviews) 2013/07/01 22:33:30 I moved this constants to where they're being used
+
+// 2x size of the favicon.
+UI_EXPORT extern const int kSizeInDip2x;
+
+// 4x size of the favicon.
+UI_EXPORT extern const int kSizeInDip4x;
+
// If the width or height is bigger than the favicon size, a new width/height
// is calculated and returned in width/height that maintains the aspect
// ratio of the supplied values.
« no previous file with comments | « chrome/common/favicon/favicon_url_parser.cc ('k') | ui/gfx/favicon_size.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698