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

Issue 10870036: Allow storing display preferences per device. (Closed)

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

Description

Allow storing display preferences per device. BUG=137516 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154671

Patch Set 1 #

Patch Set 2 : style fix #

Patch Set 3 : rebase #

Total comments: 24

Patch Set 4 : fix #

Total comments: 10

Patch Set 5 : #

Total comments: 10

Patch Set 6 : rebase #

Total comments: 3

Patch Set 7 : move to chrome/browser/chromeos/display #

Total comments: 10

Patch Set 8 : fix #

Total comments: 2

Patch Set 9 : rebase #

Patch Set 10 : #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+426 lines, -134 lines) Patch
M ash/display/display_controller.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +43 lines, -17 lines 0 comments Download
M ash/display/display_controller.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +126 lines, -22 lines 0 comments Download
M ash/display/display_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -8 lines 0 comments Download
M ash/display/mouse_cursor_event_filter.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M ash/display/mouse_cursor_event_filter.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +11 lines, -11 lines 0 comments Download
M ash/display/mouse_cursor_event_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +25 lines, -17 lines 0 comments Download
M ash/extended_desktop_unittest.cc View 1 2 3 4 5 6 7 4 chunks +11 lines, -6 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +3 lines, -3 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/chromeos/display/OWNERS View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/chromeos/display/display_preferences.h View 1 2 3 4 5 6 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/display/display_preferences.cc View 1 2 3 4 5 6 7 1 chunk +123 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/preferences.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 3 4 5 6 8 chunks +5 lines, -31 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 1 2 3 4 5 6 7 8 9 6 chunks +25 lines, -13 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 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 +5 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Jun Mukai
8 years, 4 months ago (2012-08-23 09:13:59 UTC) #1
Jun Mukai
oshima-san, could you take a look at this?
8 years, 3 months ago (2012-08-27 11:06:33 UTC) #2
oshima
https://chromiumcodereview.appspot.com/10870036/diff/5001/ash/display/display_controller.cc File ash/display/display_controller.cc (right): https://chromiumcodereview.appspot.com/10870036/diff/5001/ash/display/display_controller.cc#newcode51 ash/display/display_controller.cc:51: } log if the position is not one of ...
8 years, 3 months ago (2012-08-27 23:00:46 UTC) #3
Jun Mukai
http://codereview.chromium.org/10870036/diff/5001/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10870036/diff/5001/ash/display/display_controller.cc#newcode51 ash/display/display_controller.cc:51: } On 2012/08/27 23:00:46, oshima wrote: > log if ...
8 years, 3 months ago (2012-08-28 08:12:42 UTC) #4
oshima
http://codereview.chromium.org/10870036/diff/10001/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10870036/diff/10001/ash/display/display_controller.cc#newcode65 ash/display/display_controller.cc:65: DCHECK_GE(DisplayLayout::LEFT, position); Since this can be read from file, ...
8 years, 3 months ago (2012-08-28 08:55:49 UTC) #5
Jun Mukai
http://codereview.chromium.org/10870036/diff/10001/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10870036/diff/10001/ash/display/display_controller.cc#newcode65 ash/display/display_controller.cc:65: DCHECK_GE(DisplayLayout::LEFT, position); On 2012/08/28 08:55:50, oshima wrote: > Since ...
8 years, 3 months ago (2012-08-28 09:51:00 UTC) #6
oshima
lgth wit nits. https://chromiumcodereview.appspot.com/10870036/diff/14004/ash/display/display_controller.cc File ash/display/display_controller.cc (right): https://chromiumcodereview.appspot.com/10870036/diff/14004/ash/display/display_controller.cc#newcode71 ash/display/display_controller.cc:71: if (TOP > position || LEFT ...
8 years, 3 months ago (2012-08-29 00:10:43 UTC) #7
Jun Mukai
OWNERS -- please review this from the owner's point of view: sky -- ash/, chrome/ ...
8 years, 3 months ago (2012-08-29 02:15:03 UTC) #8
satorux1
http://codereview.chromium.org/10870036/diff/20005/chrome/browser/chromeos/display_preferences.h File chrome/browser/chromeos/display_preferences.h (right): http://codereview.chromium.org/10870036/diff/20005/chrome/browser/chromeos/display_preferences.h#newcode1 chrome/browser/chromeos/display_preferences.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 3 months ago (2012-08-29 04:06:09 UTC) #9
Jun Mukai
http://codereview.chromium.org/10870036/diff/20005/chrome/browser/chromeos/display_preferences.h File chrome/browser/chromeos/display_preferences.h (right): http://codereview.chromium.org/10870036/diff/20005/chrome/browser/chromeos/display_preferences.h#newcode1 chrome/browser/chromeos/display_preferences.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 3 months ago (2012-08-29 05:38:51 UTC) #10
sky
http://codereview.chromium.org/10870036/diff/16007/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10870036/diff/16007/ash/display/display_controller.cc#newcode64 ash/display/display_controller.cc:64: : position(RIGHT), offset(0) {} When you wrap, each member ...
8 years, 3 months ago (2012-08-29 15:05:56 UTC) #11
satorux1
http://codereview.chromium.org/10870036/diff/20005/chrome/browser/chromeos/display_preferences.h File chrome/browser/chromeos/display_preferences.h (right): http://codereview.chromium.org/10870036/diff/20005/chrome/browser/chromeos/display_preferences.h#newcode1 chrome/browser/chromeos/display_preferences.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 3 months ago (2012-08-29 17:55:07 UTC) #12
Jun Mukai
http://codereview.chromium.org/10870036/diff/16007/ash/display/display_controller.cc File ash/display/display_controller.cc (right): http://codereview.chromium.org/10870036/diff/16007/ash/display/display_controller.cc#newcode64 ash/display/display_controller.cc:64: : position(RIGHT), offset(0) {} On 2012/08/29 15:05:57, sky wrote: ...
8 years, 3 months ago (2012-08-30 02:08:04 UTC) #13
Nikita (slow)
chrome/browser/ui/webui/options/chromeos lgtm http://codereview.chromium.org/10870036/diff/26001/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc File chrome/browser/ui/webui/options/chromeos/display_options_handler.cc (right): http://codereview.chromium.org/10870036/diff/26001/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc#newcode139 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc:139: mirroring, displays, *layout_value, *offset_value); layout_value.get() offset_value.get()
8 years, 3 months ago (2012-08-30 14:18:51 UTC) #14
Jun Mukai
http://codereview.chromium.org/10870036/diff/26001/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc File chrome/browser/ui/webui/options/chromeos/display_options_handler.cc (right): http://codereview.chromium.org/10870036/diff/26001/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc#newcode139 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc:139: mirroring, displays, *layout_value, *offset_value); On 2012/08/30 14:18:52, Nikita Kostylev ...
8 years, 3 months ago (2012-08-31 09:19:05 UTC) #15
Jun Mukai
sky, please take another look at this.
8 years, 3 months ago (2012-08-31 09:19:18 UTC) #16
sky
LGTM
8 years, 3 months ago (2012-08-31 15:46:22 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/10870036/28002
8 years, 3 months ago (2012-09-03 01:16:43 UTC) #18
commit-bot: I haz the power
8 years, 3 months ago (2012-09-03 01:16:53 UTC) #19
Failed to apply patch for ash/display/display_controller.cc:
While running patch -p1 --forward --force;
patching file ash/display/display_controller.cc
Hunk #2 FAILED at 27.
Hunk #3 FAILED at 127.
Hunk #4 succeeded at 218 (offset -21 lines).
Hunk #5 succeeded at 244 (offset -21 lines).
Hunk #6 succeeded at 264 (offset -21 lines).
2 out of 6 hunks FAILED -- saving rejects to file
ash/display/display_controller.cc.rej

Powered by Google App Engine
This is Rietveld 408576698