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

Issue 2670963002: Android: Fire the appinstalled event on WebAPK installation. (Closed)

Created:
3 years, 10 months ago by Matt Giuca
Modified:
3 years, 8 months ago
Reviewers:
dominickn
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Fire the appinstalled event on WebAPK installation. Previously, it would only fire for a shortcut creation (when the app is not associated with a WebAPK). BUG=688178 Review-Url: https://codereview.chromium.org/2670963002 Cr-Commit-Position: refs/heads/master@{#466580} Committed: https://chromium.googlesource.com/chromium/src/+/00e4fb83516d445e8952416ed29a481b399a0a24

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase. #

Patch Set 3 : AddToHomescreenManager now stores an AppBannerManagerAndroid; should now work in all four cases. #

Patch Set 4 : Rebase. #

Total comments: 8

Patch Set 5 : Respond to review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -20 lines) Patch
M chrome/browser/android/banners/app_banner_infobar_delegate_android.cc View 1 2 3 4 1 chunk +10 lines, -6 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_manager.cc View 1 2 3 4 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/banners/app_banner_manager.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/banners/app_banner_manager.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
Matt Giuca
Hi Dom, So IIRC you told me previously that just removing that if statement would ...
3 years, 10 months ago (2017-02-03 04:13:38 UTC) #2
dominickn
https://codereview.chromium.org/2670963002/diff/1/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc File chrome/browser/android/banners/app_banner_infobar_delegate_android.cc (right): https://codereview.chromium.org/2670963002/diff/1/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc#newcode378 chrome/browser/android/banners/app_banner_infobar_delegate_android.cc:378: weak_manager_->OnInstall(); This doesn't work because weak_manager_ is nullptr for ...
3 years, 10 months ago (2017-02-03 05:54:46 UTC) #3
Matt Giuca
https://codereview.chromium.org/2670963002/diff/1/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc File chrome/browser/android/banners/app_banner_infobar_delegate_android.cc (right): https://codereview.chromium.org/2670963002/diff/1/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc#newcode378 chrome/browser/android/banners/app_banner_infobar_delegate_android.cc:378: weak_manager_->OnInstall(); On 2017/02/03 05:54:46, dominickn wrote: > This doesn't ...
3 years, 8 months ago (2017-04-07 06:41:34 UTC) #5
Matt Giuca
This is too hard to test manually right now. Decided to hold off until after ...
3 years, 8 months ago (2017-04-13 06:58:01 UTC) #10
Matt Giuca
On 2017/04/13 06:58:01, Matt Giuca wrote: > This is too hard to test manually right ...
3 years, 8 months ago (2017-04-24 00:13:34 UTC) #11
dominickn
Just minor comments, thanks! https://codereview.chromium.org/2670963002/diff/80001/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc File chrome/browser/android/banners/app_banner_infobar_delegate_android.cc (right): https://codereview.chromium.org/2670963002/diff/80001/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc#newcode361 chrome/browser/android/banners/app_banner_infobar_delegate_android.cc:361: // Send the appinstalled event ...
3 years, 8 months ago (2017-04-24 00:56:30 UTC) #12
Matt Giuca
https://codereview.chromium.org/2670963002/diff/80001/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc File chrome/browser/android/banners/app_banner_infobar_delegate_android.cc (right): https://codereview.chromium.org/2670963002/diff/80001/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc#newcode361 chrome/browser/android/banners/app_banner_infobar_delegate_android.cc:361: // Send the appinstalled event in all cases (whether ...
3 years, 8 months ago (2017-04-24 01:42:14 UTC) #13
dominickn
lgtm, thanks for everything on this.
3 years, 8 months ago (2017-04-24 01:45:14 UTC) #16
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/2670963002/100001
3 years, 8 months ago (2017-04-24 01:46:58 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 02:14:40 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/00e4fb83516d445e8952416ed29a...

Powered by Google App Engine
This is Rietveld 408576698