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

Issue 455443002: Remember the configured device scale factor for external displays. (Closed)

Created:
6 years, 4 months ago by Jun Mukai
Modified:
6 years, 4 months ago
Reviewers:
oshima
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+ash_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Remember the configured device scale factor for external displays. Users can specify the device scale factor for some external displays. Now, it remembers the configured device scale factor to the local storage, and recovers to the specified value when reconnected. This also fixes the bug when the user specifies the resolution and the device scale factor at the same time (DSF was ignored beforehand). BUG=396704 R=oshima@chromium.org TEST=manually, unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288412

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix #

Total comments: 2

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -34 lines) Patch
M ash/display/display_change_observer_chromeos.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M ash/display/display_info.cc View 1 3 chunks +33 lines, -21 lines 0 comments Download
M ash/display/display_info_unittest.cc View 1 1 chunk +12 lines, -2 lines 0 comments Download
M ash/display/display_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/display/display_manager.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences.cc View 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences_unittest.cc View 6 chunks +14 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Jun Mukai
6 years, 4 months ago (2014-08-07 20:12:52 UTC) #1
oshima
https://codereview.chromium.org/455443002/diff/1/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/455443002/diff/1/ash/display/display_change_observer_chromeos.cc#newcode195 ash/display/display_change_observer_chromeos.cc:195: if (!ui::IsDisplaySizeBlackListed(state.display->physical_size())) { internal display should not be black ...
6 years, 4 months ago (2014-08-07 23:03:49 UTC) #2
Jun Mukai
https://codereview.chromium.org/455443002/diff/1/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/455443002/diff/1/ash/display/display_change_observer_chromeos.cc#newcode195 ash/display/display_change_observer_chromeos.cc:195: if (!ui::IsDisplaySizeBlackListed(state.display->physical_size())) { On 2014/08/07 23:03:49, oshima wrote: > ...
6 years, 4 months ago (2014-08-08 00:57:34 UTC) #3
oshima
lgtm with a nit https://codereview.chromium.org/455443002/diff/20001/ash/display/display_manager.cc File ash/display/display_manager.cc (right): https://codereview.chromium.org/455443002/diff/20001/ash/display/display_manager.cc#newcode547 ash/display/display_manager.cc:547: if (!resolution_in_pixels.IsEmpty()) { Can you ...
6 years, 4 months ago (2014-08-08 16:21:00 UTC) #4
Jun Mukai
https://codereview.chromium.org/455443002/diff/20001/ash/display/display_manager.cc File ash/display/display_manager.cc (right): https://codereview.chromium.org/455443002/diff/20001/ash/display/display_manager.cc#newcode547 ash/display/display_manager.cc:547: if (!resolution_in_pixels.IsEmpty()) { On 2014/08/08 16:21:00, oshima wrote: > ...
6 years, 4 months ago (2014-08-08 16:23:58 UTC) #5
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 4 months ago (2014-08-08 16:24:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/455443002/40001
6 years, 4 months ago (2014-08-08 16:24:47 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 19:23:36 UTC) #8
Message was sent while issue was closed.
Change committed as 288412

Powered by Google App Engine
This is Rietveld 408576698