Index: ui/aura/root_window_host_linux.h |
diff --git a/ui/aura/root_window_host_linux.h b/ui/aura/root_window_host_linux.h |
index 0be11db65ae31fe6adde32f285ee7cac519db0ac..3616922f1da36f42a739751b3b5827a7f1272e26 100644 |
--- a/ui/aura/root_window_host_linux.h |
+++ b/ui/aura/root_window_host_linux.h |
@@ -18,6 +18,7 @@ |
#include "ui/aura/root_window_host.h" |
#include "ui/base/x/x11_atom_cache.h" |
#include "ui/base/x/x11_util.h" |
+#include "ui/gfx/insets.h" |
#include "ui/gfx/rect.h" |
namespace ui { |
@@ -49,6 +50,8 @@ class RootWindowHostLinux : public RootWindowHost, |
virtual void ToggleFullScreen() OVERRIDE; |
virtual gfx::Rect GetBounds() const OVERRIDE; |
virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
+ virtual gfx::Insets GetInsets() const OVERRIDE; |
+ virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; |
virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
virtual void SetCapture() OVERRIDE; |
virtual void ReleaseCapture() OVERRIDE; |
@@ -120,6 +123,9 @@ class RootWindowHostLinux : public RootWindowHost, |
// The bounds of |xwindow_|. |
gfx::Rect bounds_; |
+ // The insets that specifies the effective area within the |window_|. |
+ gfx::Insets insets_; |
+ |
// The bounds of |x_root_window_|. |
gfx::Rect x_root_bounds_; |