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

Unified Diff: ash/display/display_controller.h

Issue 10836046: Allow offset for secondary display position in chrome://settings/display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | ash/display/display_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | ash/display/display_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698