diff options
author | saintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-08 20:17:11 +0000 |
---|---|---|
committer | saintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-08 20:17:11 +0000 |
commit | fafba8c375dd39726049b820708a9d5e61f60b50 (patch) | |
tree | 95561b4b343d0e4425d4c4e4f2a81b4fd5d83868 /ui/gfx/favicon_size.h | |
parent | 7ae9ed5ec3f557d67fcc21dd0449972fa9105577 (diff) | |
download | chromium_src-fafba8c375dd39726049b820708a9d5e61f60b50.zip chromium_src-fafba8c375dd39726049b820708a9d5e61f60b50.tar.gz chromium_src-fafba8c375dd39726049b820708a9d5e61f60b50.tar.bz2 |
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
Diffstat (limited to 'ui/gfx/favicon_size.h')
-rw-r--r-- | ui/gfx/favicon_size.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |