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

Issue 1289043002: Hookup device dpi for ChromeOS (Closed)

Created:
5 years, 4 months ago by bshe
Modified:
5 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, sadrul, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hookup device dpi for ChromeOS Previously, chrome.system.display.getInfo returns a hard coded dpi value(96). This CL hook up the correct DPI information on ChromeOS platform. BUG=522095 Committed: https://crrev.com/93dad6d37dc8c3a68b4950aa37b3a0da25872742 Cr-Commit-Position: refs/heads/master@{#350088}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : oshima's review #

Patch Set 5 : rebase #

Total comments: 1

Patch Set 6 : test #

Patch Set 7 : use 96 for black listed displays #

Total comments: 2

Patch Set 8 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -23 lines) Patch
M ash/display/display_change_observer_chromeos.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -5 lines 0 comments Download
M ash/display/display_info.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M ash/display/display_info.cc View 1 2 3 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos.cc View 1 2 3 4 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos_unittest.cc View 1 2 3 4 5 3 chunks +7 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (10 generated)
bshe
Hey Oshima-san. Do you mind to take a look at this CL? I am not ...
5 years, 4 months ago (2015-08-18 15:10:40 UTC) #2
oshima
https://codereview.chromium.org/1289043002/diff/40001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/1289043002/diff/40001/ash/display/display_change_observer_chromeos.cc#newcode191 ash/display/display_change_observer_chromeos.cc:191: state->physical_size().width(); This is physical DPI, and it may not ...
5 years, 4 months ago (2015-08-19 02:07:08 UTC) #3
bshe
https://codereview.chromium.org/1289043002/diff/40001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/1289043002/diff/40001/ash/display/display_change_observer_chromeos.cc#newcode191 ash/display/display_change_observer_chromeos.cc:191: state->physical_size().width(); On 2015/08/19 02:07:08, oshima (In Tokyo 17th - ...
5 years, 4 months ago (2015-08-19 13:37:10 UTC) #4
oshima
https://codereview.chromium.org/1289043002/diff/40001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/1289043002/diff/40001/ash/display/display_change_observer_chromeos.cc#newcode191 ash/display/display_change_observer_chromeos.cc:191: state->physical_size().width(); On 2015/08/19 13:37:09, bshe wrote: > On 2015/08/19 ...
5 years, 4 months ago (2015-08-20 00:20:32 UTC) #5
bshe
Thanks for review. I have updated a new patch and it seems to work on ...
5 years, 4 months ago (2015-08-20 14:42:05 UTC) #6
oshima
lgtm
5 years, 3 months ago (2015-09-02 00:23:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1289043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1289043002/60001
5 years, 3 months ago (2015-09-08 22:21:44 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/97507)
5 years, 3 months ago (2015-09-08 22:34:12 UTC) #11
bshe
+rockot for: chrome/browser/extensions/display_info_provider_chromeos.cc Thanks!
5 years, 3 months ago (2015-09-09 19:31:25 UTC) #13
Ken Rockot(use gerrit already)
lgtm
5 years, 3 months ago (2015-09-09 20:08:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1289043002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1289043002/80001
5 years, 3 months ago (2015-09-09 20:28:57 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/60801)
5 years, 3 months ago (2015-09-09 21:12:34 UTC) #19
oshima
just noticed one thing. https://codereview.chromium.org/1289043002/diff/80001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/1289043002/diff/80001/ash/display/display_change_observer_chromeos.cc#newcode191 ash/display/display_change_observer_chromeos.cc:191: kInchInMm * mode_info->size().width() / state->physical_size().width(); ...
5 years, 3 months ago (2015-09-15 17:34:24 UTC) #21
bshe
On 2015/09/15 17:34:24, oshima wrote: > just noticed one thing. > > https://codereview.chromium.org/1289043002/diff/80001/ash/display/display_change_observer_chromeos.cc > File ...
5 years, 3 months ago (2015-09-21 20:14:15 UTC) #22
oshima
https://codereview.chromium.org/1289043002/diff/140001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/1289043002/diff/140001/ash/display/display_change_observer_chromeos.cc#newcode191 ash/display/display_change_observer_chromeos.cc:191: kInchInMm * mode_info->size().width() / state->physical_size().width(); can you check the ...
5 years, 3 months ago (2015-09-21 23:11:52 UTC) #23
bshe
Thanks. PTAL. https://codereview.chromium.org/1289043002/diff/140001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/1289043002/diff/140001/ash/display/display_change_observer_chromeos.cc#newcode191 ash/display/display_change_observer_chromeos.cc:191: kInchInMm * mode_info->size().width() / state->physical_size().width(); On 2015/09/21 ...
5 years, 3 months ago (2015-09-22 00:20:25 UTC) #24
oshima
lgtm
5 years, 3 months ago (2015-09-22 00:45:40 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1289043002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1289043002/160001
5 years, 3 months ago (2015-09-22 01:23:40 UTC) #28
commit-bot: I haz the power
Committed patchset #8 (id:160001)
5 years, 3 months ago (2015-09-22 01:58:20 UTC) #29
commit-bot: I haz the power
5 years, 3 months ago (2015-09-22 01:59:12 UTC) #30
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/93dad6d37dc8c3a68b4950aa37b3a0da25872742
Cr-Commit-Position: refs/heads/master@{#350088}

Powered by Google App Engine
This is Rietveld 408576698