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

Unified Diff: ui/gfx/favicon_size.h

Issue 7065052: Improve large tab strip by leveraging touch icons when present (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ' Created 9 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
Index: ui/gfx/favicon_size.h
diff --git a/ui/gfx/favicon_size.h b/ui/gfx/favicon_size.h
index b267d96daef248cc23a85484f1547d93f8973a37..bb460c33145615fb09c6deaf5e33aefdb9800e2d 100644
--- a/ui/gfx/favicon_size.h
+++ b/ui/gfx/favicon_size.h
@@ -9,11 +9,10 @@
#include "base/compiler_specific.h"
// Size (along each axis) of the favicon.
-#if defined(TOUCH_UI)
-const int kFaviconSize = 32;
-#else
const int kFaviconSize = 16;
-#endif
+
+// The size of the favicon touch area.
+const int kTouchTargetIconSize = 32;
sky 2011/06/16 15:43:41 This is only used in the tab strip. Keep it there
Emmanuel Saint-loubert-Bié 2011/06/17 00:01:44 Done.
// 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

Powered by Google App Engine
This is Rietveld 408576698