summaryrefslogtreecommitdiff
path: root/chromium/ui/base/layout.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-06-18 14:10:49 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-06-18 13:53:24 +0000
commit813fbf95af77a531c57a8c497345ad2c61d475b3 (patch)
tree821b2c8de8365f21b6c9ba17a236fb3006a1d506 /chromium/ui/base/layout.h
parentaf6588f8d723931a298c995fa97259bb7f7deb55 (diff)
downloadqtwebengine-chromium-813fbf95af77a531c57a8c497345ad2c61d475b3.tar.gz
BASELINE: Update chromium to 44.0.2403.47
Change-Id: Ie056fedba95cf5e5c76b30c4b2c80fca4764aa2f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'chromium/ui/base/layout.h')
-rw-r--r--chromium/ui/base/layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/ui/base/layout.h b/chromium/ui/base/layout.h
index ab838780c25..c0ca3cb65e4 100644
--- a/chromium/ui/base/layout.h
+++ b/chromium/ui/base/layout.h
@@ -54,6 +54,10 @@ UI_BASE_EXPORT float GetScaleFactorForNativeView(gfx::NativeView view);
// Returns the image scale for the scale factor passed in.
UI_BASE_EXPORT float GetScaleForScaleFactor(ScaleFactor scale_factor);
+// Returns true if the scale passed in is the list of supported scales for
+// the platform.
+UI_BASE_EXPORT bool IsSupportedScale(float scale);
+
namespace test {
// Class which changes the value of GetSupportedScaleFactors() to
// |new_scale_factors| for the duration of its lifetime.