Chromium Code Reviews| Index: ash/display/display_controller.h |
| diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h |
| index 7a151fbfe1a0c12f72c40805f5a06e2265ef1512..77265b319532dd06342b35ca6c5329c107acc82d 100644 |
| --- a/ash/display/display_controller.h |
| +++ b/ash/display/display_controller.h |
| @@ -68,6 +68,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); |
| + |
| // Warps the mouse cursor to an alternate root window when the |
| // |point_in_root|, which is the location of the mouse cursor, |
| // hits or exceeds the edge of the |root_window| and the mouse cursor |
| @@ -96,6 +101,8 @@ class ASH_EXPORT DisplayController : public aura::DisplayObserver { |
| SecondaryDisplayLayout secondary_display_layout_; |
| + int secondary_display_offset_; |
|
oshima
2012/08/06 04:15:55
document this (or in accessor method)
Jun Mukai
2012/08/06 05:27:27
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(DisplayController); |
| }; |