Index: ash/display/display_controller.h |
diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h |
index 7bf18246dbbe9c7b3dd315d0ea01891381b35814..45fa80136a4313f8034ac079c00566f882cc5738 100644 |
--- a/ash/display/display_controller.h |
+++ b/ash/display/display_controller.h |
@@ -69,6 +69,11 @@ class ASH_EXPORT DisplayController : public aura::DisplayObserver { |
} |
void SetSecondaryDisplayLayout(SecondaryDisplayLayout layout); |
+ int secondary_display_offset() const { |
+ return secondary_display_offset_; |
+ } |
+ void SetSecondaryDisplayOffset(int offset); |
+ |
void set_dont_warp_mouse(bool dont_warp_mouse) { |
dont_warp_mouse_ = dont_warp_mouse; |
} |
@@ -103,6 +108,10 @@ class ASH_EXPORT DisplayController : public aura::DisplayObserver { |
SecondaryDisplayLayout secondary_display_layout_; |
+ // The offset of the position of the secondary display. The offset is |
+ // based on the top/left edge of the primary display. |
+ int secondary_display_offset_; |
+ |
// If true, the mouse pointer can't move from one display to another. |
bool dont_warp_mouse_; |