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

Issue 12398019: Set the scale factor for the display on Windows when in high-DPI mode. (Closed)

Created:
7 years, 9 months ago by kevers
Modified:
7 years, 9 months ago
Reviewers:
oshima
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Set the scale factor for the display on Windows when in high-DPI mode. BUG=149881 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186170

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix bounds. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M ui/gfx/display.cc View 2 chunks +1 line, -1 line 0 comments Download
M ui/gfx/screen_win.cc View 1 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
kevers
Oshima-san, Can you please take a look at this CL.
7 years, 9 months ago (2013-03-04 19:26:57 UTC) #1
oshima
https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc File ui/gfx/screen_win.cc (right): https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc#newcode27 ui/gfx/screen_win.cc:27: display.SetScaleAndBounds(ui::win::GetDeviceScaleFactor(), work_area); I believe you need to pass the ...
7 years, 9 months ago (2013-03-04 19:34:25 UTC) #2
kevers
https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc File ui/gfx/screen_win.cc (right): https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc#newcode27 ui/gfx/screen_win.cc:27: display.SetScaleAndBounds(ui::win::GetDeviceScaleFactor(), work_area); On 2013/03/04 19:34:25, oshima wrote: > I ...
7 years, 9 months ago (2013-03-04 20:02:14 UTC) #3
oshima
On 2013/03/04 20:02:14, kevers wrote: > https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc > File ui/gfx/screen_win.cc (right): > > https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc#newcode27 > ...
7 years, 9 months ago (2013-03-04 21:51:23 UTC) #4
girard
https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc File ui/gfx/screen_win.cc (right): https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc#newcode27 ui/gfx/screen_win.cc:27: display.SetScaleAndBounds(ui::win::GetDeviceScaleFactor(), work_area); On 2013/03/04 19:34:25, oshima wrote: > I ...
7 years, 9 months ago (2013-03-04 21:53:45 UTC) #5
girard
On 2013/03/04 21:51:23, oshima wrote: > On 2013/03/04 20:02:14, kevers wrote: > > https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc > ...
7 years, 9 months ago (2013-03-04 21:56:09 UTC) #6
oshima
On 2013/03/04 21:56:09, girard wrote: > On 2013/03/04 21:51:23, oshima wrote: > > On 2013/03/04 ...
7 years, 9 months ago (2013-03-04 22:08:22 UTC) #7
kevers
On 2013/03/04 21:56:09, girard wrote: > On 2013/03/04 21:51:23, oshima wrote: > > On 2013/03/04 ...
7 years, 9 months ago (2013-03-04 22:10:44 UTC) #8
oshima
https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc File ui/gfx/screen_win.cc (right): https://chromiumcodereview.appspot.com/12398019/diff/1/ui/gfx/screen_win.cc#newcode24 ui/gfx/screen_win.cc:24: gfx::Display display(0, gfx::Rect(monitor_info.rcMonitor)); Oh, wait. So this was wrong? ...
7 years, 9 months ago (2013-03-04 22:12:02 UTC) #9
kevers
Fixed the bounds.
7 years, 9 months ago (2013-03-04 22:51:52 UTC) #10
oshima
lgtm
7 years, 9 months ago (2013-03-04 22:54:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/12398019/9001
7 years, 9 months ago (2013-03-05 02:21:29 UTC) #12
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=16282
7 years, 9 months ago (2013-03-05 06:14:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/12398019/9001
7 years, 9 months ago (2013-03-05 12:17:45 UTC) #14
commit-bot: I haz the power
7 years, 9 months ago (2013-03-05 13:31:07 UTC) #15
Message was sent while issue was closed.
Change committed as 186170

Powered by Google App Engine
This is Rietveld 408576698