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

Issue 283383005: Initial sets of fixes for themes to work well with HiDPI Windows. More changes coming in a separate… (Closed)

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

Description

Initial sets of fixes for themes to work well with HiDPI Windows. More changes coming in a separate CL. oshima, Please review everything. sky : For owners review. 1. Removed the PlatformScaleImage function from the ResourceBundle class and the corresponding code to scale images. With automatic scaling support in ImageSkia this is no longer needed. 2. The other change is in the NewTabButton class to use floating point scales everywhere instead of converting from scale factor to scale using different functions which causes problems. BUG=362979 R=oshima,sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271075

Patch Set 1 #

Patch Set 2 : Fixed indents #

Total comments: 2

Patch Set 3 : Code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -82 lines) Patch
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 6 chunks +13 lines, -16 lines 0 comments Download
M ui/base/resource/resource_bundle.h View 1 chunk +0 lines, -10 lines 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 2 4 chunks +7 lines, -28 lines 0 comments Download
M ui/base/resource/resource_bundle_win.cc View 1 chunk +0 lines, -28 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ananta
6 years, 7 months ago (2014-05-15 23:46:20 UTC) #1
oshima
lgtm with one request https://codereview.chromium.org/283383005/diff/20001/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (left): https://codereview.chromium.org/283383005/diff/20001/ui/base/resource/resource_bundle.cc#oldcode113 ui/base/resource/resource_bundle.cc:113: scale_factor = ui::SCALE_FACTOR_100P; would you ...
6 years, 7 months ago (2014-05-15 23:55:06 UTC) #2
ananta
https://codereview.chromium.org/283383005/diff/20001/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (left): https://codereview.chromium.org/283383005/diff/20001/ui/base/resource/resource_bundle.cc#oldcode113 ui/base/resource/resource_bundle.cc:113: scale_factor = ui::SCALE_FACTOR_100P; On 2014/05/15 23:55:06, oshima wrote: > ...
6 years, 7 months ago (2014-05-16 00:13:48 UTC) #3
oshima
slgtm thanks
6 years, 7 months ago (2014-05-16 00:36:23 UTC) #4
sky
LGTM
6 years, 7 months ago (2014-05-16 15:51:03 UTC) #5
ananta
The CQ bit was checked by ananta@chromium.org
6 years, 7 months ago (2014-05-16 17:35:21 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/283383005/40001
6 years, 7 months ago (2014-05-16 17:35:43 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-16 19:15:27 UTC) #8
Message was sent while issue was closed.
Change committed as 271075

Powered by Google App Engine
This is Rietveld 408576698