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

Issue 578553002: Use DSF instead of UI scale if the native DSF is 1.25 and UI Scale is 0.8x (dsf=1.25 equivalent) (Closed)

Created:
6 years, 3 months ago by oshima
Modified:
6 years, 3 months ago
Reviewers:
Jun Mukai
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use DSF instead of UI scale if the native DSF is 1.25 and UI Scale is 0.8x (dsf=1.25 equivalent) Disable high DPI assets for ui scaling. This will be removed in 39, after this change is landed. BUG=413368 Committed: https://crrev.com/4433bc75923b6fb4718f744e934ddf5ade2db2de Cr-Commit-Position: refs/heads/master@{#295209}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : remove upgrade #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -6 lines) Patch
M ash/display/display_controller.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/display/display_info.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ash/display/display_info.cc View 1 2 3 4 chunks +13 lines, -0 lines 0 comments Download
M ash/display/display_manager.cc View 1 2 3 4 4 chunks +3 lines, -5 lines 3 comments Download
M ash/display/display_manager_unittest.cc View 1 2 2 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
oshima
please review this one instead. https://codereview.chromium.org/578553002/diff/20001/ash/display/display_manager.cc File ash/display/display_manager.cc (right): https://codereview.chromium.org/578553002/diff/20001/ash/display/display_manager.cc#newcode255 ash/display/display_manager.cc:255: info_list.back().set_native(true); these are to ...
6 years, 3 months ago (2014-09-16 08:07:02 UTC) #2
Jun Mukai
https://codereview.chromium.org/578553002/diff/40001/ash/display/display_info.h File ash/display/display_info.h (right): https://codereview.chromium.org/578553002/diff/40001/ash/display/display_info.h#newcode100 ash/display/display_info.h:100: static void SetUse125DSFForUIScaling(bool enable); nobody seems to call this. ...
6 years, 3 months ago (2014-09-16 15:41:10 UTC) #3
oshima
https://codereview.chromium.org/578553002/diff/40001/ash/display/display_info.h File ash/display/display_info.h (right): https://codereview.chromium.org/578553002/diff/40001/ash/display/display_info.h#newcode100 ash/display/display_info.h:100: static void SetUse125DSFForUIScaling(bool enable); On 2014/09/16 15:41:10, Jun Mukai ...
6 years, 3 months ago (2014-09-16 15:59:41 UTC) #4
Jun Mukai
okay, lgtm https://codereview.chromium.org/578553002/diff/40001/ash/display/display_info.cc File ash/display/display_info.cc (right): https://codereview.chromium.org/578553002/diff/40001/ash/display/display_info.cc#newcode294 ash/display/display_info.cc:294: return configured_ui_scale_ == 0.8f ? 1.25f : ...
6 years, 3 months ago (2014-09-16 16:33:56 UTC) #5
oshima
https://codereview.chromium.org/578553002/diff/40001/ash/display/display_info.cc File ash/display/display_info.cc (right): https://codereview.chromium.org/578553002/diff/40001/ash/display/display_info.cc#newcode294 ash/display/display_info.cc:294: return configured_ui_scale_ == 0.8f ? 1.25f : 1.0f; On ...
6 years, 3 months ago (2014-09-16 17:05:39 UTC) #6
oshima
forgot to make one more change. PTAL https://codereview.chromium.org/578553002/diff/80001/ash/display/display_manager.cc File ash/display/display_manager.cc (left): https://codereview.chromium.org/578553002/diff/80001/ash/display/display_manager.cc#oldcode174 ash/display/display_manager.cc:174: I also ...
6 years, 3 months ago (2014-09-16 17:11:42 UTC) #9
Jun Mukai
https://codereview.chromium.org/578553002/diff/80001/ash/display/display_manager.cc File ash/display/display_manager.cc (left): https://codereview.chromium.org/578553002/diff/80001/ash/display/display_manager.cc#oldcode174 ash/display/display_manager.cc:174: On 2014/09/16 17:11:42, oshima wrote: > I also want ...
6 years, 3 months ago (2014-09-16 18:18:56 UTC) #10
oshima
https://codereview.chromium.org/578553002/diff/80001/ash/display/display_manager.cc File ash/display/display_manager.cc (left): https://codereview.chromium.org/578553002/diff/80001/ash/display/display_manager.cc#oldcode174 ash/display/display_manager.cc:174: On 2014/09/16 18:18:56, Jun Mukai wrote: > On 2014/09/16 ...
6 years, 3 months ago (2014-09-16 18:47:16 UTC) #11
Jun Mukai
On 2014/09/16 18:47:16, oshima wrote: > https://codereview.chromium.org/578553002/diff/80001/ash/display/display_manager.cc > File ash/display/display_manager.cc (left): > > https://codereview.chromium.org/578553002/diff/80001/ash/display/display_manager.cc#oldcode174 > ...
6 years, 3 months ago (2014-09-16 19:28:10 UTC) #12
oshima
On 2014/09/16 19:28:10, Jun Mukai wrote: > On 2014/09/16 18:47:16, oshima wrote: > > > ...
6 years, 3 months ago (2014-09-16 19:48:12 UTC) #13
Jun Mukai
okay, lgtm
6 years, 3 months ago (2014-09-16 19:49:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/578553002/80001
6 years, 3 months ago (2014-09-16 19:54:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/578553002/80001
6 years, 3 months ago (2014-09-16 23:01:04 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001) as ad688199b94d7f66a87fbb434859f7ddb819d530
6 years, 3 months ago (2014-09-17 01:29:16 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 01:29:47 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4433bc75923b6fb4718f744e934ddf5ade2db2de
Cr-Commit-Position: refs/heads/master@{#295209}

Powered by Google App Engine
This is Rietveld 408576698