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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/display_options_handler.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
Index: chrome/browser/ui/webui/options2/chromeos/display_options_handler.h
diff --git a/chrome/browser/ui/webui/options2/chromeos/display_options_handler.h b/chrome/browser/ui/webui/options2/chromeos/display_options_handler.h
index 0117d115d527bc2cd8c990f0d87d276d5ae17fc7..2eaf1e1415ef4f0ac128b9f253094fa0fad661a2 100644
--- a/chrome/browser/ui/webui/options2/chromeos/display_options_handler.h
+++ b/chrome/browser/ui/webui/options2/chromeos/display_options_handler.h
@@ -50,8 +50,10 @@ class DisplayOptionsHandler : public ::options2::OptionsPageUIHandler,
void FadeOutForMirroringFinished(bool is_mirroring);
// Called when the fade-out animation for secondary display layout change is
- // finished.
- void FadeOutForDisplayLayoutFinished(int layout);
+ // finished. |layout| specifies the four positions of the secondary display
+ // (left/right/top/bottom), and |offset| is the offset length from the
+ // left/top edge of the primary display.
+ void FadeOutForDisplayLayoutFinished(int layout, int offset);
// Handlers of JS messages.
void HandleDisplayInfo(const base::ListValue* unused_args);

Powered by Google App Engine
This is Rietveld 408576698