diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 17:35:01 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 17:35:01 +0000 |
commit | 4bd2020359df676ca25c85c092bea06f7bd66bca (patch) | |
tree | 65d8ea2d5140715f9a846bbdac30f30a85e56a9a /ui/gfx/display.h | |
parent | e36090400221119c85b2a7146a9ba0edeedf1f3d (diff) | |
download | chromium_src-4bd2020359df676ca25c85c092bea06f7bd66bca.zip chromium_src-4bd2020359df676ca25c85c092bea06f7bd66bca.tar.gz chromium_src-4bd2020359df676ca25c85c092bea06f7bd66bca.tar.bz2 |
Remove --default-device-scale-factor because chrome now gets scale factor from device.
Add --force-device-scale-factor instead to override it.
Remove obsolete comment in resource bundle.
BUG=none
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/10546158
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142163 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/display.h')
-rw-r--r-- | ui/gfx/display.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gfx/display.h b/ui/gfx/display.h index 13aaa8f..0bc2630 100644 --- a/ui/gfx/display.h +++ b/ui/gfx/display.h @@ -19,9 +19,9 @@ namespace gfx { // system, not in backing pixels. class UI_EXPORT Display { public: - // Returns the default value for the device scale factor, which is - // given by "--default-device-scale-factor". - static float GetDefaultDeviceScaleFactor(); + // Returns the forced device scale factor, which is given by + // "--force-device-scale-factor". + static float GetForcedDeviceScaleFactor(); // Creates a display with invalid id(-1) as default. Display(); |