Index: ui/gfx/display.h |
diff --git a/ui/gfx/display.h b/ui/gfx/display.h |
index 5abe1be2cbc8a78c16a33b5da44c9695a323ddc3..a3784ee0c3a6a1e0647533d75797e20bbdf0d47e 100644 |
--- a/ui/gfx/display.h |
+++ b/ui/gfx/display.h |
@@ -8,6 +8,7 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
#include "ui/base/ui_export.h" |
+#include "ui/gfx/insets.h" |
#include "ui/gfx/rect.h" |
namespace gfx { |
@@ -74,6 +75,8 @@ class UI_EXPORT Display { |
// |work_area_insets| and the bounds. |
void UpdateWorkAreaFromInsets(const gfx::Insets& work_area_insets); |
+ void SetOverscanInsets(const gfx::Insets& insets); |
+ |
// Returns the display's size in pixel coordinates. |
gfx::Size GetSizeInPixel() const; |
@@ -99,6 +102,7 @@ class UI_EXPORT Display { |
#if defined(USE_AURA) |
Rect bounds_in_pixel_; |
#endif |
+ Insets overscan_insets_; |
float device_scale_factor_; |
}; |