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

Issue 2267463002: Implement instant apps infobar. (Closed)

Created:
4 years, 4 months ago by Maria
Modified:
4 years, 3 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, asvitkine+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, dfalcantara+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement instant apps infobar. Has the expected visual treatment, but doesn't currently do anything functionally. Also no one is currently launching the infobar. BUG=639497 Committed: https://crrev.com/90230d6b1e2c01b34b9f30f11b82a648dead98ce Cr-Commit-Position: refs/heads/master@{#414272}

Patch Set 1 #

Patch Set 2 : Remove unused fields #

Total comments: 1

Patch Set 3 : Add _ANDROID to constant name. #

Total comments: 19

Patch Set 4 : Address comments. #

Patch Set 5 : Address more comments. #

Total comments: 10

Patch Set 6 : Style changes #

Patch Set 7 : Fix an import #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -0 lines) Patch
A chrome/android/java/src/org/chromium/chrome/browser/infobar/InstantAppsInfoBar.java View 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/infobar/InstantAppsInfoBarDelegate.java View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/instantapps/InstantAppsBannerData.java View 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/android/java_sources.gni View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/android/instantapps/instant_apps_infobar_delegate.h View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/infobars/instant_apps_infobar.h View 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/infobars/instant_apps_infobar.cc View 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/infobars/core/infobar_delegate.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (12 generated)
Maria
4 years, 4 months ago (2016-08-19 23:11:36 UTC) #2
gone
Seems fine to me overall. lgtm https://chromiumcodereview.appspot.com/2267463002/diff/20001/components/infobars/core/infobar_delegate.h File components/infobars/core/infobar_delegate.h (right): https://chromiumcodereview.appspot.com/2267463002/diff/20001/components/infobars/core/infobar_delegate.h#newcode136 components/infobars/core/infobar_delegate.h:136: SUBRESOURCE_FILTER_INFOBAR_DELEGATE_ANDROID = 66, ...
4 years, 4 months ago (2016-08-22 17:16:51 UTC) #3
gone
Could use some screenshots, though.
4 years, 4 months ago (2016-08-22 17:17:27 UTC) #4
Maria
+ pkasting for components/infobar/.. approval + isherman for histograms.xml approval
4 years, 4 months ago (2016-08-23 05:21:53 UTC) #8
Peter Kasting
https://chromiumcodereview.appspot.com/2267463002/diff/40001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc File chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc (right): https://chromiumcodereview.appspot.com/2267463002/diff/40001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc#newcode18 chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc:18: const base::android::ScopedJavaGlobalRef<jobject>& jdata) : data_(jdata) { Don't expose a ...
4 years, 4 months ago (2016-08-23 07:59:22 UTC) #9
Ilya Sherman
histograms.xml lgtm % a nit: https://chromiumcodereview.appspot.com/2267463002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/2267463002/diff/40001/tools/metrics/histograms/histograms.xml#newcode82005 tools/metrics/histograms/histograms.xml:82005: + <int value="67" label="INSTANT_APPS_INFOBAR_DELEGATE"/> ...
4 years, 4 months ago (2016-08-23 19:23:31 UTC) #10
Maria
https://chromiumcodereview.appspot.com/2267463002/diff/40001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc File chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc (right): https://chromiumcodereview.appspot.com/2267463002/diff/40001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc#newcode18 chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc:18: const base::android::ScopedJavaGlobalRef<jobject>& jdata) : data_(jdata) { On 2016/08/23 07:59:22, ...
4 years, 4 months ago (2016-08-23 21:30:28 UTC) #11
Peter Kasting
https://chromiumcodereview.appspot.com/2267463002/diff/40001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc File chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc (right): https://chromiumcodereview.appspot.com/2267463002/diff/40001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc#newcode20 chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc:20: java_delegate_.Reset(Java_InstantAppsInfoBarDelegate_create( On 2016/08/23 21:30:27, Maria wrote: > On 2016/08/23 ...
4 years, 4 months ago (2016-08-23 22:10:58 UTC) #12
Maria
https://chromiumcodereview.appspot.com/2267463002/diff/40001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc File chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc (right): https://chromiumcodereview.appspot.com/2267463002/diff/40001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc#newcode20 chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc:20: java_delegate_.Reset(Java_InstantAppsInfoBarDelegate_create( On 2016/08/23 22:10:57, Peter Kasting wrote: > On ...
4 years, 4 months ago (2016-08-23 23:55:59 UTC) #13
Peter Kasting
LGTM modulo one notable thing https://chromiumcodereview.appspot.com/2267463002/diff/80001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc File chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc (right): https://chromiumcodereview.appspot.com/2267463002/diff/80001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc#newcode24 chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc:24: std::move(delegate))); Nit: Optional shorter ...
4 years, 4 months ago (2016-08-24 04:04:06 UTC) #14
Maria
https://chromiumcodereview.appspot.com/2267463002/diff/80001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc File chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc (right): https://chromiumcodereview.appspot.com/2267463002/diff/80001/chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc#newcode24 chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc:24: std::move(delegate))); On 2016/08/24 04:04:06, Peter Kasting wrote: > Nit: ...
4 years, 4 months ago (2016-08-24 17:53:49 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/2267463002/100001
4 years, 4 months ago (2016-08-24 20:34:56 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/117916)
4 years, 4 months ago (2016-08-24 21:12:38 UTC) #20
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/2267463002/120001
4 years, 4 months ago (2016-08-24 21:58:12 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/268072)
4 years, 4 months ago (2016-08-24 23:20:04 UTC) #25
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/2267463002/120001
4 years, 4 months ago (2016-08-25 00:28:07 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-08-25 02:31:12 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 02:33:10 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/90230d6b1e2c01b34b9f30f11b82a648dead98ce
Cr-Commit-Position: refs/heads/master@{#414272}

Powered by Google App Engine
This is Rietveld 408576698