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

Issue 10836046: Allow offset for secondary display position in chrome://settings/display. (Closed)

Created:
8 years, 4 months ago by Jun Mukai
Modified:
8 years, 4 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, arv (Not doing code reviews), oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Allow offset for secondary display position in chrome://settings/display. - Adding 'offset' value in the preference and set to display controller - Allow offset in Options UI too - Redesign the Options UI a bit: now it has "apply" button rather than just applying on mouse-up, and remove 'ok' button. See crbug.com/130385#c26 for the mock. R=ben@chromium.org BUG=137516, 130385 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151444

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : use std::min/max #

Total comments: 1

Patch Set 8 : #

Patch Set 9 : #

Total comments: 11

Patch Set 10 : #

Total comments: 6

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -69 lines) Patch
M ash/display/display_controller.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -0 lines 0 comments Download
M ash/display/display_controller.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +34 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/preferences.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/chromeos/display_options.js View 1 2 3 4 5 6 7 8 9 8 chunks +71 lines, -59 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/display_options_handler.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/display_options_handler.cc View 1 2 3 4 5 6 7 8 9 4 chunks +11 lines, -4 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Jun Mukai
8 years, 4 months ago (2012-08-01 09:18:51 UTC) #1
Ben Goodger (Google)
oshima for first review.
8 years, 4 months ago (2012-08-01 15:42:57 UTC) #2
Jun Mukai
On 2012/08/01 15:42:57, Ben Goodger (Google) wrote: > oshima for first review. oshima is on ...
8 years, 4 months ago (2012-08-02 01:52:04 UTC) #3
Jun Mukai
oshima, can you take a look at this?
8 years, 4 months ago (2012-08-06 02:40:02 UTC) #4
oshima
https://chromiumcodereview.appspot.com/10836046/diff/15/ash/display/display_controller.cc File ash/display/display_controller.cc (right): https://chromiumcodereview.appspot.com/10836046/diff/15/ash/display/display_controller.cc#newcode261 ash/display/display_controller.cc:261: } you need to check & adjust the offset ...
8 years, 4 months ago (2012-08-06 04:15:55 UTC) #5
Jun Mukai
http://codereview.chromium.org/10836046/diff/15/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10836046/diff/15/ash/display/display_controller.cc#newcode261 ash/display/display_controller.cc:261: } On 2012/08/06 04:15:55, oshima wrote: > you need ...
8 years, 4 months ago (2012-08-06 05:27:27 UTC) #6
oshima_google
http://codereview.chromium.org/10836046/diff/2003/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10836046/diff/2003/ash/display/display_controller.cc#newcode250 ash/display/display_controller.cc:250: offset = 0; I think it's better to adjust ...
8 years, 4 months ago (2012-08-06 05:44:37 UTC) #7
Jun Mukai
http://codereview.chromium.org/10836046/diff/2003/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10836046/diff/2003/ash/display/display_controller.cc#newcode250 ash/display/display_controller.cc:250: offset = 0; On 2012/08/06 05:44:37, oshima1 wrote: > ...
8 years, 4 months ago (2012-08-06 06:58:35 UTC) #8
Jun Mukai
On 2012/08/06 06:58:35, Jun Mukai wrote: > http://codereview.chromium.org/10836046/diff/2003/ash/display/display_controller.cc > File ash/display/display_controller.cc (right): > > http://codereview.chromium.org/10836046/diff/2003/ash/display/display_controller.cc#newcode250 ...
8 years, 4 months ago (2012-08-06 07:30:54 UTC) #9
oshima
c++ lgtm http://codereview.chromium.org/10836046/diff/10003/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10836046/diff/10003/ash/display/display_controller.cc#newcode250 ash/display/display_controller.cc:250: // TODO(oshima|mukai): Implement more flexible layout. remove ...
8 years, 4 months ago (2012-08-06 07:38:49 UTC) #10
Jun Mukai
ben, can you take a look at the code?
8 years, 4 months ago (2012-08-07 08:51:01 UTC) #11
Ben Goodger (Google)
You should have someone who knows webui stuff look through the js/html changes. C++ LGTM.
8 years, 4 months ago (2012-08-07 18:16:51 UTC) #12
Jun Mukai
James, please also review this.
8 years, 4 months ago (2012-08-10 02:12:59 UTC) #13
James Hawkins
http://codereview.chromium.org/10836046/diff/12012/chrome/browser/resources/options2/chromeos/display_options.js File chrome/browser/resources/options2/chromeos/display_options.js (right): http://codereview.chromium.org/10836046/diff/12012/chrome/browser/resources/options2/chromeos/display_options.js#newcode10 chrome/browser/resources/options2/chromeos/display_options.js:10: // The number of pixels to share the edges ...
8 years, 4 months ago (2012-08-11 17:37:41 UTC) #14
Jun Mukai
http://codereview.chromium.org/10836046/diff/12012/chrome/browser/resources/options2/chromeos/display_options.js File chrome/browser/resources/options2/chromeos/display_options.js (right): http://codereview.chromium.org/10836046/diff/12012/chrome/browser/resources/options2/chromeos/display_options.js#newcode10 chrome/browser/resources/options2/chromeos/display_options.js:10: // The number of pixels to share the edges ...
8 years, 4 months ago (2012-08-13 05:33:25 UTC) #15
James Hawkins
LGTM with nits. http://codereview.chromium.org/10836046/diff/10012/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10836046/diff/10012/ash/display/display_controller.cc#newcode27 ash/display/display_controller.cc:27: namespace { Optional nit: Blank lines ...
8 years, 4 months ago (2012-08-13 15:45:12 UTC) #16
Jun Mukai
http://codereview.chromium.org/10836046/diff/10012/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10836046/diff/10012/ash/display/display_controller.cc#newcode27 ash/display/display_controller.cc:27: namespace { On 2012/08/13 15:45:12, James Hawkins wrote: > ...
8 years, 4 months ago (2012-08-14 01:50:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/10836046/1015
8 years, 4 months ago (2012-08-14 02:28:05 UTC) #18
commit-bot: I haz the power
Try job failure for 10836046-1015 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 4 months ago (2012-08-14 04:05:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/10836046/1015
8 years, 4 months ago (2012-08-14 07:11:42 UTC) #20
commit-bot: I haz the power
8 years, 4 months ago (2012-08-14 09:46:49 UTC) #21
Change committed as 151444

Powered by Google App Engine
This is Rietveld 408576698