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

Issue 296643002: Fixes for getting themes to work well with Windows High DPI. (Closed)

Created:
6 years, 7 months ago by ananta
Modified:
6 years, 7 months ago
Reviewers:
pkotwicz, oshima
CC:
chromium-reviews
Visibility:
Public.

Description

Fixes for getting themes to work well with Windows High DPI. The changes are to use the GetScaleForScaleFactor function to get the scale instead of GetImageScale. The latter function returns the current display scale on Windows which causes themes to break. The other change is in the ctor of the BrowserThemePack class where we add SCALE_FACTOR_100P to the list of supported scales as it is needed for default theme packs to work correctly. BUG=362979 R=oshima@chromium.org, pkotwicz@chromium.org, oshima Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271999

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -10 lines) Patch
M chrome/browser/themes/browser_theme_pack.cc View 1 9 chunks +17 lines, -10 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
ananta
6 years, 7 months ago (2014-05-20 00:42:30 UTC) #1
oshima
lgtm
6 years, 7 months ago (2014-05-20 06:43:17 UTC) #2
ananta
+pkotwicz for owners approval
6 years, 7 months ago (2014-05-20 17:25:30 UTC) #3
pkotwicz
LGTM with important nit https://codereview.chromium.org/296643002/diff/1/chrome/browser/themes/browser_theme_pack.cc File chrome/browser/themes/browser_theme_pack.cc (right): https://codereview.chromium.org/296643002/diff/1/chrome/browser/themes/browser_theme_pack.cc#newcode757 chrome/browser/themes/browser_theme_pack.cc:757: << "from those supported by ...
6 years, 7 months ago (2014-05-20 19:33:01 UTC) #4
ananta
https://codereview.chromium.org/296643002/diff/1/chrome/browser/themes/browser_theme_pack.cc File chrome/browser/themes/browser_theme_pack.cc (right): https://codereview.chromium.org/296643002/diff/1/chrome/browser/themes/browser_theme_pack.cc#newcode757 chrome/browser/themes/browser_theme_pack.cc:757: << "from those supported by platform."; On 2014/05/20 19:33:01, ...
6 years, 7 months ago (2014-05-20 21:49:34 UTC) #5
ananta
The CQ bit was checked by ananta@chromium.org
6 years, 7 months ago (2014-05-20 21:54:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ananta@chromium.org/296643002/20001
6 years, 7 months ago (2014-05-20 21:55:57 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-21 20:02:25 UTC) #8
ananta
6 years, 7 months ago (2014-05-21 22:50:38 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 manually as r271999 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698