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

Issue 2225893004: [WebApks] Tweak logic for 'bouncing back to chrome' (Closed)

Created:
4 years, 4 months ago by Yaron
Modified:
4 years, 4 months ago
Reviewers:
pkotwicz, Maria
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WebApks] Tweak logic for 'bouncing back to chrome' Previously a reload of a page inside a WebApk can erroneously redirect back to Chrome (see bug for further details). Unfortunately, due to the display logic of WebApks, we can't rely on startActivity doing the right thing because Android can't tell that the MainActivity for the shell apk is just a 'bouncer' to chrome's WebApkActivity. Add a necessary short-circuit. BUG=604262 Committed: https://crrev.com/6d8738f516886add11bb0661c0f8e21ac4c4e637 Cr-Commit-Position: refs/heads/master@{#410788}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandler.java View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandlerTest.java View 3 chunks +2 lines, -3 lines 1 comment Download

Depends on Patchset:

Messages

Total messages: 13 (7 generated)
Yaron
both ptal, thanks :) https://codereview.chromium.org/2225893004/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandlerTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandlerTest.java (left): https://codereview.chromium.org/2225893004/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandlerTest.java#oldcode933 chrome/android/javatests/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandlerTest.java:933: .withReferrer(WEBAPK_SCOPE) without my change in ...
4 years, 4 months ago (2016-08-09 17:55:04 UTC) #4
Maria
lgtm
4 years, 4 months ago (2016-08-09 18:02:57 UTC) #5
pkotwicz
LGTM
4 years, 4 months ago (2016-08-09 19:34:12 UTC) #8
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/2225893004/1
4 years, 4 months ago (2016-08-09 20:08:18 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-09 20:12:34 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 20:15:26 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6d8738f516886add11bb0661c0f8e21ac4c4e637
Cr-Commit-Position: refs/heads/master@{#410788}

Powered by Google App Engine
This is Rietveld 408576698