Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: ui/aura/root_window_host_linux.h

Issue 12746002: Re-implement overscan & Implement Display Rotation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: skip rotate test on win8 Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698