Index: ui/views/widget/native_widget_aura.h |
diff --git a/ui/views/widget/native_widget_aura.h b/ui/views/widget/native_widget_aura.h |
index d09a77d57a2c788c5159154611978790e43abb09..862622a27a5e700abfe0be03275e861a43f994c4 100644 |
--- a/ui/views/widget/native_widget_aura.h |
+++ b/ui/views/widget/native_widget_aura.h |
@@ -177,11 +177,12 @@ class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate, |
void SetInitialFocus(); |
#if defined(ENABLE_DIP) |
- // Returns the monitor in which this widget is placed. |
- aura::Monitor* GetMonitor() const; |
+ // Returns the scale factor of the monitor in which this widget is placed. |
+ float GetMonitorScaleFactor() const; |
// Utility functions that convert point/size/rect between |
// the monitor's coordinate system and the widget's coordinate system. |
+ // TODO(oshima): Remove these once aura supports DIP coordinate system. |
gfx::Point ConvertPointFromMonitor(const gfx::Point& point) const; |
gfx::Size ConvertSizeFromMonitor(const gfx::Size& size) const; |
gfx::Rect ConvertRectFromMonitor(const gfx::Rect& rect) const; |