diff options
author | ivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 12:14:17 +0000 |
---|---|---|
committer | ivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 12:14:17 +0000 |
commit | 6871e7b55bf30b5350cfd8b44ecd1f509d3b8f0b (patch) | |
tree | aa18cb4f331764426fe8df97839f54e54782fcda /ui/base/layout.h | |
parent | 2ec1a33815d65ef823d0bc412005b6aed9ef9d03 (diff) | |
download | chromium_src-6871e7b55bf30b5350cfd8b44ecd1f509d3b8f0b.zip chromium_src-6871e7b55bf30b5350cfd8b44ecd1f509d3b8f0b.tar.gz chromium_src-6871e7b55bf30b5350cfd8b44ecd1f509d3b8f0b.tar.bz2 |
[cros] Use maximum supported DPI for determining user images size.
BUG=None
TEST=User images on login screen have correct DPI; profile image is downloaded in 440x440 resolution for 2x devices and 220x200 for 1x.
Review URL: https://chromiumcodereview.appspot.com/10834357
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/layout.h')
-rw-r--r-- | ui/base/layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/layout.h b/ui/base/layout.h index 35aa567..3cbf941 100644 --- a/ui/base/layout.h +++ b/ui/base/layout.h @@ -54,7 +54,7 @@ UI_EXPORT ScaleFactor GetScaleFactorFromScale(float scale); UI_EXPORT ScaleFactor GetScaleFactorForNativeView(gfx::NativeView view); // Returns a vector with the scale factors which are supported by this -// platform. +// platform, in ascending order. UI_EXPORT std::vector<ScaleFactor> GetSupportedScaleFactors(); // Returns true if |scale_factor| is supported by this platform. |