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

Issue 2724723002: [WebAPKs]: Reduce the parameters of ShortcutHelper::AddToLauncherWithSkBitmap() (Closed)

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

Description

[WebAPKs]: Reduce the parameters of ShortcutHelper::AddToLauncherWithSkBitmap() This CL removes the |webapp_id| and |splash_image_callback| parameters from ShortcutHelper::AddToLauncherWithSkBitmap(). This CL adds the needed information to ShortcutInfo so that AddToLauncherWithSkBitmap() can create the callback itself. The goal of this CL is to enable AppBannerInfoBarDelegateAndroid::OnWebApkInstallFinished() to call ShortcutHelper::AddToLauncherWithSkBitmap() in a subsequent CL. BUG=696132 Review-Url: https://codereview.chromium.org/2724723002 Cr-Commit-Position: refs/heads/master@{#454080} Committed: https://chromium.googlesource.com/chromium/src/+/d0d459e8dda997152b63f3fee88a1bf35b323a20

Patch Set 1 #

Total comments: 9

Patch Set 2 : Merge branch 'refactor_shortcut_helper10' into refactor_shortcut_helper2 #

Patch Set 3 : Merge branch 'master' into refactor_shortcut_helper2 #

Patch Set 4 : Merge branch 'master' into refactor_shortcut_helper2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -85 lines) Patch
M chrome/browser/android/banners/app_banner_infobar_delegate_android.cc View 1 3 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/android/banners/app_banner_manager_android.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/android/banners/app_banner_manager_android.cc View 1 2 chunks +10 lines, -19 lines 0 comments Download
M chrome/browser/android/shortcut_helper.h View 1 2 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/android/shortcut_helper.cc View 1 3 chunks +11 lines, -8 lines 0 comments Download
M chrome/browser/android/shortcut_info.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/shortcut_info.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h View 1 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc View 1 3 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_manager.cc View 1 2 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/banners/app_banner_manager.h View 1 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/banners/app_banner_manager.cc View 1 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
pkotwicz
Dominick, can you please take a look? Sam gave me the go ahead to fix ...
3 years, 9 months ago (2017-03-01 01:33:56 UTC) #3
dominickn
Looks pretty good, mostly nits. https://codereview.chromium.org/2724723002/diff/1/chrome/browser/android/banners/app_banner_manager_android.cc File chrome/browser/android/banners/app_banner_manager_android.cc (right): https://codereview.chromium.org/2724723002/diff/1/chrome/browser/android/banners/app_banner_manager_android.cc#newcode232 chrome/browser/android/banners/app_banner_manager_android.cc:232: ShortcutHelper::GetMinimumSplashImageSizeInPx(); Can you move ...
3 years, 9 months ago (2017-03-01 02:29:40 UTC) #4
pkotwicz
Dominick, can you please take another look?
3 years, 9 months ago (2017-03-01 03:05:24 UTC) #5
dominickn
lgtm, thanks
3 years, 9 months ago (2017-03-01 03:16:08 UTC) #6
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/2724723002/40001
3 years, 9 months ago (2017-03-01 22:04:51 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 22:56:03 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d0d459e8dda997152b63f3fee88a...

Powered by Google App Engine
This is Rietveld 408576698