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

Issue 27156003: linux_aura: Enable HIDPI support (Closed)

Created:
7 years, 2 months ago by Mikhail
Modified:
6 years, 11 months ago
CC:
chromium-reviews, tfarina, ben+watch_chromium.org, kenneth.r.christiansen, Ben Goodger (Google), sky, sadrul, Daniel Erat, davemoore (google)
Visibility:
Public.

Description

linux_aura: Enable HIDPI support Do the preparation work for enabling HIDPI support on linux aura: enable DIP and calculate device scale factor at DesktopScreenX11. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235967

Patch Set 1 #

Total comments: 6

Patch Set 2 : Renamed kCSSPixelsPerInch to kCSSDefaultDIPCountPerInch #

Patch Set 3 : Updated after review. #

Total comments: 13

Patch Set 4 : Took comments from Oshima into consideration #

Total comments: 2

Patch Set 5 : Avoid code-duplication with display_change_observer_chromeos.cc #

Total comments: 10

Patch Set 6 : Took Daniel comments into consideration #

Total comments: 4

Patch Set 7 : Rebased #

Patch Set 8 : Made GetDeviceScaleFactor clearer. Put unittest to 'all_sources' in .gyp #

Total comments: 1

Patch Set 9 : Fix indenting. #

Patch Set 10 : Rebased #

Patch Set 11 : Updated accordigly to r232633 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -52 lines) Patch
M ash/display/display_change_observer_chromeos.h View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M ash/display/display_change_observer_chromeos.cc View 1 2 3 4 5 4 chunks +2 lines, -31 lines 0 comments Download
M ash/display/display_change_observer_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -12 lines 0 comments Download
M ui/base/x/x11_util.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M ui/base/x/x11_util.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +29 lines, -0 lines 0 comments Download
A ui/base/x/x11_util_unittest.cc View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
M ui/ui_unittests.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen_x11.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +39 lines, -3 lines 0 comments Download

Messages

Total messages: 64 (0 generated)
Mikhail
Could you please have a look?
7 years, 2 months ago (2013-10-14 07:48:42 UTC) #1
kenneth.r.christiansen
7 years, 2 months ago (2013-10-14 08:18:08 UTC) #2
kenneth.r.christiansen
https://codereview.chromium.org/27156003/diff/1/ui/views/widget/desktop_aura/desktop_screen_x11.cc File ui/views/widget/desktop_aura/desktop_screen_x11.cc (right): https://codereview.chromium.org/27156003/diff/1/ui/views/widget/desktop_aura/desktop_screen_x11.cc#newcode34 ui/views/widget/desktop_aura/desktop_screen_x11.cc:34: const int kCSSPixelsPerInch = 96; kDefaultCSSPixelsPerInch ? https://codereview.chromium.org/27156003/diff/1/ui/views/widget/desktop_aura/desktop_screen_x11.cc#newcode50 ui/views/widget/desktop_aura/desktop_screen_x11.cc:50: ...
7 years, 2 months ago (2013-10-14 08:20:54 UTC) #3
Mikhail
https://codereview.chromium.org/27156003/diff/1/ui/views/widget/desktop_aura/desktop_screen_x11.cc File ui/views/widget/desktop_aura/desktop_screen_x11.cc (right): https://codereview.chromium.org/27156003/diff/1/ui/views/widget/desktop_aura/desktop_screen_x11.cc#newcode34 ui/views/widget/desktop_aura/desktop_screen_x11.cc:34: const int kCSSPixelsPerInch = 96; On 2013/10/14 08:20:54, kenneth.r.christiansen ...
7 years, 2 months ago (2013-10-14 09:15:52 UTC) #4
Elliot Glaysher
Redirecting to oshima because I don't know anything about DPI.
7 years, 2 months ago (2013-10-14 20:03:49 UTC) #5
oshima
I'm OOO today, so it'll be tomorrow. That's being said, I'd like to know how ...
7 years, 2 months ago (2013-10-14 20:21:59 UTC) #6
Mikhail
On 2013/10/14 20:21:59, oshima wrote: > I'm OOO today, so it'll be tomorrow. That's being ...
7 years, 2 months ago (2013-10-15 14:56:31 UTC) #7
oshima
Ok, so here is high level comments. 1) Xlib's screen no longer corresponds to display. ...
7 years, 2 months ago (2013-10-15 18:12:32 UTC) #8
Mikhail
On 2013/10/15 18:12:32, oshima wrote: > Ok, so here is high level comments. > > ...
7 years, 2 months ago (2013-10-16 06:36:06 UTC) #9
Mikhail
Oshima, could you please have a look at the updated version of patch?
7 years, 2 months ago (2013-10-18 15:25:44 UTC) #10
oshima
https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (right): https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc#newcode579 ui/base/resource/resource_bundle.cc:579: supported_scale_factors.push_back(SCALE_FACTOR_180P); FYI: These scale factors will use 200P assets ...
7 years, 2 months ago (2013-10-22 05:35:09 UTC) #11
Elliot Glaysher
https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (right): https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc#newcode579 ui/base/resource/resource_bundle.cc:579: supported_scale_factors.push_back(SCALE_FACTOR_180P); On 2013/10/22 05:35:10, oshima wrote: > FYI: These ...
7 years, 2 months ago (2013-10-22 17:40:17 UTC) #12
Mikhail
Thanks a lot for having a look! https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (right): https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc#newcode579 ui/base/resource/resource_bundle.cc:579: supported_scale_factors.push_back(SCALE_FACTOR_180P); On ...
7 years, 2 months ago (2013-10-23 17:15:01 UTC) #13
Elliot Glaysher
https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (right): https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc#newcode579 ui/base/resource/resource_bundle.cc:579: supported_scale_factors.push_back(SCALE_FACTOR_180P); On 2013/10/23 17:15:02, mikhail.pozdnyakov wrote: > On 2013/10/22 ...
7 years, 2 months ago (2013-10-23 17:51:19 UTC) #14
oshima
https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (right): https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc#newcode579 ui/base/resource/resource_bundle.cc:579: supported_scale_factors.push_back(SCALE_FACTOR_180P); On 2013/10/23 17:51:19, Elliot Glaysher wrote: > On ...
7 years, 2 months ago (2013-10-23 18:10:58 UTC) #15
Mikhail
On 2013/10/23 18:10:58, oshima wrote: > https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc > File ui/base/resource/resource_bundle.cc (right): > > https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc#newcode579 > ...
7 years, 1 month ago (2013-10-25 10:55:30 UTC) #16
Mikhail
On 2013/10/25 10:55:30, mikhail.pozdnyakov wrote: > On 2013/10/23 18:10:58, oshima wrote: > > > https://codereview.chromium.org/27156003/diff/20001/ui/base/resource/resource_bundle.cc ...
7 years, 1 month ago (2013-10-28 19:22:12 UTC) #17
oshima
lgtm
7 years, 1 month ago (2013-10-28 21:00:28 UTC) #18
Elliot Glaysher
lgtm
7 years, 1 month ago (2013-10-28 21:33:59 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/250001
7 years, 1 month ago (2013-10-29 08:54:58 UTC) #20
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=33092
7 years, 1 month ago (2013-10-29 09:11:42 UTC) #21
Mikhail
Missing LGTM from an OWNER for these files: ui/base/resource/resource_bundle.cc ui/base/x/x11_util.cc ui/base/x/x11_util.h Could I kindly ask ...
7 years, 1 month ago (2013-10-29 09:42:51 UTC) #22
Daniel Erat
https://codereview.chromium.org/27156003/diff/250001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/27156003/diff/250001/ash/display/display_change_observer_chromeos.cc#newcode51 ash/display/display_change_observer_chromeos.cc:51: bool DisplayChangeObserver::ShouldIgnoreSize(unsigned long mm_width, please remove this method and ...
7 years, 1 month ago (2013-10-29 14:28:24 UTC) #23
Mikhail
https://codereview.chromium.org/27156003/diff/250001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/27156003/diff/250001/ash/display/display_change_observer_chromeos.cc#newcode51 ash/display/display_change_observer_chromeos.cc:51: bool DisplayChangeObserver::ShouldIgnoreSize(unsigned long mm_width, On 2013/10/29 14:28:25, Daniel Erat ...
7 years, 1 month ago (2013-10-29 14:50:55 UTC) #24
Mikhail
Daniel, could you please look at the updated version?
7 years, 1 month ago (2013-10-29 16:23:05 UTC) #25
Daniel Erat
https://codereview.chromium.org/27156003/diff/400002/ui/ui_unittests.gypi File ui/ui_unittests.gypi (right): https://codereview.chromium.org/27156003/diff/400002/ui/ui_unittests.gypi#newcode295 ui/ui_unittests.gypi:295: 'base/x/x11_util_unittest.cc', i think that the usual pattern i've seen ...
7 years, 1 month ago (2013-10-29 16:27:02 UTC) #26
Mikhail
On 2013/10/29 16:27:02, Daniel Erat wrote: > https://codereview.chromium.org/27156003/diff/400002/ui/ui_unittests.gypi > File ui/ui_unittests.gypi (right): > > https://codereview.chromium.org/27156003/diff/400002/ui/ui_unittests.gypi#newcode295 ...
7 years, 1 month ago (2013-10-29 23:16:02 UTC) #27
Daniel Erat
LGTM with a nit https://codereview.chromium.org/27156003/diff/570001/ui/views/widget/desktop_aura/desktop_screen_x11.cc File ui/views/widget/desktop_aura/desktop_screen_x11.cc (right): https://codereview.chromium.org/27156003/diff/570001/ui/views/widget/desktop_aura/desktop_screen_x11.cc#newcode350 ui/views/widget/desktop_aura/desktop_screen_x11.cc:350: output_info->mm_width); nit: fix indenting by ...
7 years, 1 month ago (2013-10-29 23:31:07 UTC) #28
Mikhail
On 2013/10/29 23:31:07, Daniel Erat wrote: > LGTM with a nit > > https://codereview.chromium.org/27156003/diff/570001/ui/views/widget/desktop_aura/desktop_screen_x11.cc > ...
7 years, 1 month ago (2013-10-29 23:56:07 UTC) #29
tony
ui/base/resource LGTM
7 years, 1 month ago (2013-10-30 00:05:48 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-10-30 07:59:50 UTC) #31
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=215575
7 years, 1 month ago (2013-10-30 11:22:16 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-10-30 11:27:27 UTC) #33
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=91893
7 years, 1 month ago (2013-10-30 16:28:49 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-10-31 09:03:27 UTC) #35
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=92347
7 years, 1 month ago (2013-10-31 12:45:12 UTC) #36
Mikhail
On 2013/10/31 12:45:12, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 1 month ago (2013-11-01 18:34:07 UTC) #37
oshima
On 2013/11/01 18:34:07, mikhail.pozdnyakov wrote: > On 2013/10/31 12:45:12, I haz the power (commit-bot) wrote: ...
7 years, 1 month ago (2013-11-01 23:12:29 UTC) #38
Elliot Glaysher
On 2013/11/01 23:12:29, oshima wrote: > On 2013/11/01 18:34:07, mikhail.pozdnyakov wrote: > > On 2013/10/31 ...
7 years, 1 month ago (2013-11-01 23:39:51 UTC) #39
Elliot Glaysher
On 2013/11/01 23:39:51, Elliot Glaysher wrote: > On 2013/11/01 23:12:29, oshima wrote: > > On ...
7 years, 1 month ago (2013-11-01 23:40:18 UTC) #40
Mikhail
On 2013/11/01 23:12:29, oshima wrote: > On 2013/11/01 18:34:07, mikhail.pozdnyakov wrote: > > On 2013/10/31 ...
7 years, 1 month ago (2013-11-04 17:27:19 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-11-08 08:34:48 UTC) #42
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=95915
7 years, 1 month ago (2013-11-08 12:09:45 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-11-08 12:22:19 UTC) #44
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=95949
7 years, 1 month ago (2013-11-08 16:18:42 UTC) #45
Mikhail
Most failing tests fail with: [0x7f2d83c332d6] <unknown> [0x7f2d83c3381f] <unknown> [0x7f2d83c3c668] SECMOD_LoadModule [0x7f2d83c3c706] SECMOD_LoadModule [0x7f2d83c164b3] <unknown> ...
7 years, 1 month ago (2013-11-08 16:52:52 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-11-08 16:53:52 UTC) #47
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=96039
7 years, 1 month ago (2013-11-08 20:49:15 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-11-10 20:14:26 UTC) #49
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=96338
7 years, 1 month ago (2013-11-10 23:34:49 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-11-11 08:53:57 UTC) #51
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-11 09:24:39 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-11-11 19:03:29 UTC) #53
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=96569
7 years, 1 month ago (2013-11-12 01:40:08 UTC) #54
Mikhail
On 2013/11/12 01:40:08, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 1 month ago (2013-11-12 16:19:41 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/370020
7 years, 1 month ago (2013-11-13 09:18:33 UTC) #56
commit-bot: I haz the power
Failed to apply patch for ui/views/widget/desktop_aura/desktop_screen_x11.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-13 09:18:38 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/1690001
7 years, 1 month ago (2013-11-13 10:29:12 UTC) #58
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=189087
7 years, 1 month ago (2013-11-13 13:15:01 UTC) #59
Mikhail
I have updated the patch according to https://codereview.chromium.org/52713010 "Remove reference to missing assets. 140 and ...
7 years, 1 month ago (2013-11-18 13:27:22 UTC) #60
Elliot Glaysher
On 2013/11/18 13:27:22, mikhail.pozdnyakov wrote: > I have updated the patch according to https://codereview.chromium.org/52713010 > ...
7 years, 1 month ago (2013-11-18 18:59:56 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/27156003/1990001
7 years, 1 month ago (2013-11-19 08:47:10 UTC) #62
commit-bot: I haz the power
Change committed as 235967
7 years, 1 month ago (2013-11-19 10:33:43 UTC) #63
asl.pavel_gmail.com
6 years, 11 months ago (2014-01-04 17:00:17 UTC) #64
Hi guys!

Sorry for stupid question, but is it already possible to enable HiDPI for 
linux?
I have latest build 33.0.1750.5 aura (241733), and this tiny interface is 
driving me crazy... Thanks!

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698