From fafba8c375dd39726049b820708a9d5e61f60b50 Mon Sep 17 00:00:00 2001 From: "saintlou@chromium.org" Date: Fri, 8 Apr 2011 20:17:11 +0000 Subject: Retrieve a larger favicon when available No longer scale/stretch smaller favicons BUG=none TEST=none Review URL: http://codereview.chromium.org/6816031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80979 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/gfx/favicon_size.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ui/gfx/favicon_size.h') diff --git a/ui/gfx/favicon_size.h b/ui/gfx/favicon_size.h index 9d4cdbc..b267d96 100644 --- a/ui/gfx/favicon_size.h +++ b/ui/gfx/favicon_size.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -9,7 +9,11 @@ #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 // 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 -- cgit v1.1