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

Issue 294863002: Cleanup changes related to replacing usage of GetImageScale with GetScaleForScaleFactor (Closed)

Created:
6 years, 7 months ago by ananta
Modified:
6 years, 7 months ago
CC:
chromium-reviews, piman+watch_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

This is in preparation for enabling HiDPI on Windows by default. Most of the changes here are replacing usage of the ui::GetImageScale function with ui::GetScaleForScaleFactor. The patch to remove the HiDPI switch and enable it by default will follow. This patch has been incorporated from girard's patch ( https://codereview.chromium.org/232483005/) BUG=149881, 362245 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272721

Patch Set 1 #

Patch Set 2 : Reverted changes to extension_icon_image #

Patch Set 3 : Fixes for unit_tests failures #

Patch Set 4 : Removing changes to enable high dpi by default from this patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -21 lines) Patch
M chrome/browser/extensions/extension_icon_image_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/select_favicon_frames_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/favicon_base/select_favicon_frames.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ui/base/layout.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/base/layout_unittest.cc View 1 chunk +8 lines, -8 lines 0 comments Download
M ui/base/resource/resource_bundle_unittest.cc View 5 chunks +15 lines, -6 lines 0 comments Download
M ui/base/test/run_all_unittests.cc View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
ananta
Attempt to land girard's patch https://codereview.chromium.org/232483005/ rebased to tip.
6 years, 7 months ago (2014-05-20 00:56:05 UTC) #1
girard
On 2014/05/20 00:56:05, ananta wrote: > Attempt to land girard's patch https://codereview.chromium.org/232483005/ > rebased to ...
6 years, 7 months ago (2014-05-20 05:39:54 UTC) #2
ananta
On 2014/05/20 05:39:54, girard wrote: > On 2014/05/20 00:56:05, ananta wrote: > > Attempt to ...
6 years, 7 months ago (2014-05-20 05:55:38 UTC) #3
ananta
Updated the patch with fixes for unit_tests failures seen in the previous iteration's try runs.
6 years, 7 months ago (2014-05-22 21:50:06 UTC) #4
cpu_(ooo_6.6-7.5)
how about fileicon_source.cc ? does it need to be GetScaleForScaleFactor ? Other than missing some ...
6 years, 7 months ago (2014-05-23 01:10:04 UTC) #5
ananta
On 2014/05/23 01:10:04, cpu wrote: > how about fileicon_source.cc ? does it need to be ...
6 years, 7 months ago (2014-05-23 01:18:22 UTC) #6
girard
On 2014/05/23 01:18:22, ananta wrote: > On 2014/05/23 01:10:04, cpu wrote: > > how about ...
6 years, 7 months ago (2014-05-23 12:33:58 UTC) #7
sky
It looks like this change is both removing the switch and some cleanup (GetImageScale -> ...
6 years, 7 months ago (2014-05-23 15:49:40 UTC) #8
ananta
On 2014/05/23 15:49:40, sky wrote: > It looks like this change is both removing the ...
6 years, 7 months ago (2014-05-23 18:34:40 UTC) #9
sky
LGTM
6 years, 7 months ago (2014-05-23 19:56:48 UTC) #10
ananta
The CQ bit was checked by ananta@chromium.org
6 years, 7 months ago (2014-05-23 21:11:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ananta@chromium.org/294863002/60001
6 years, 7 months ago (2014-05-23 21:13:59 UTC) #12
commit-bot: I haz the power
6 years, 7 months ago (2014-05-24 12:44:45 UTC) #13
Message was sent while issue was closed.
Change committed as 272721

Powered by Google App Engine
This is Rietveld 408576698