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

Issue 2611623003: Use exact pixel sizes instead of dip in webapp/WebAPK installability code (Closed)

Created:
3 years, 11 months ago by F
Modified:
3 years, 11 months ago
CC:
agrieve+watch_chromium.org, chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use exact pixel sizes instead of dip in webapp/WebAPK installability code This CL: - Makes the members of InstallableManager::InstallableParams use pixel units instead of device independent pixel units - Removes unnecessary conversions between pixels and device independent pixel units Note: android.content.res.Resources#getDimension() multiplies the device independent pixel measurement in resources by the current device scale factor Originally patched from https://codereview.chromium.org/2589503002/. BUG=675765 Review-Url: https://codereview.chromium.org/2611623003 Cr-Commit-Position: refs/heads/master@{#441659} Committed: https://chromium.googlesource.com/chromium/src/+/5d8fdfc2f5c4f3c6d92c716f44f6c13ebb6af499

Patch Set 1 : Rebased version of pkotwicz@'s original patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -343 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java View 6 chunks +14 lines, -17 lines 0 comments Download
M chrome/browser/android/banners/app_banner_manager_android.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/android/banners/app_banner_manager_android.cc View 4 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/android/shortcut_helper.h View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/android/shortcut_helper.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/android/webapk/webapk_update_data_fetcher.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h View 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc View 8 chunks +21 lines, -26 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_manager.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/banners/app_banner_manager.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/banners/app_banner_manager.cc View 3 chunks +10 lines, -20 lines 0 comments Download
M chrome/browser/installable/installable_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/installable/installable_manager.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/installable/installable_manager_browsertest.cc View 7 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/manifest/manifest_icon_downloader.h View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/manifest/manifest_icon_downloader.cc View 2 chunks +3 lines, -12 lines 0 comments Download
M chrome/browser/manifest/manifest_icon_selector.h View 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/manifest/manifest_icon_selector.cc View 3 chunks +3 lines, -17 lines 0 comments Download
M chrome/browser/manifest/manifest_icon_selector_unittest.cc View 14 chunks +89 lines, -167 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
F
Hi Dominick & Mounir, PTAL. Thanks! I take over this CL from pkotwicz@ since he's ...
3 years, 11 months ago (2017-01-03 23:41:25 UTC) #5
dominickn
On 2017/01/03 23:41:25, F wrote: > Hi Dominick & Mounir, PTAL. Thanks! > > I ...
3 years, 11 months ago (2017-01-04 00:13:13 UTC) #6
dominickn
I'm following up with agable - this is definitely a bot issue. The iOS bot ...
3 years, 11 months ago (2017-01-04 00:45:39 UTC) #7
dominickn
On 2017/01/04 00:45:39, dominickn wrote: > I'm following up with agable - this is definitely ...
3 years, 11 months ago (2017-01-04 01:27:40 UTC) #10
F
On 2017/01/04 01:27:40, dominickn wrote: > On 2017/01/04 00:45:39, dominickn wrote: > > I'm following ...
3 years, 11 months ago (2017-01-04 15:03:12 UTC) #12
mlamouri (slow - plz ping)
still lgtm
3 years, 11 months ago (2017-01-04 16:00:50 UTC) #13
dominickn
On 2017/01/04 15:03:12, F wrote: > On 2017/01/04 01:27:40, dominickn wrote: > > On 2017/01/04 ...
3 years, 11 months ago (2017-01-04 23:36:09 UTC) #14
dominickn
Also, still lgtm
3 years, 11 months ago (2017-01-05 04:29:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2611623003/1
3 years, 11 months ago (2017-01-05 14:38:30 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 15:45:41 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5d8fdfc2f5c4f3c6d92c716f44f6...

Powered by Google App Engine
This is Rietveld 408576698