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

Issue 2387293005: Change external link handling policy for CCTs (Closed)

Created:
4 years, 2 months ago by Yusuf
Modified:
4 years, 2 months ago
Reviewers:
Ted C, Ian Wen
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change external link handling policy for CCTs - Changes the url handling so that initial urls and the associated redirect chain is also checked for default handlers inside CCT. - This behavior is tied to a new extra that is added. - This behavior is enabled by default as a feature, so that it can be disabled if necessary - Followup: The extra should be moved to CustomTabsIntent in the support library and published as a new API. Tests that check for new corner cases will be added to CustomTabsExternalNavigationTest BUG=647474 Committed: https://crrev.com/97a926b6fcc71e943f92b6bd7ff9ea2374ec49db Cr-Commit-Position: refs/heads/master@{#423610}

Patch Set 1 #

Total comments: 2

Patch Set 2 : nits #

Total comments: 2

Patch Set 3 : Ted's styling suggestions #

Messages

Total messages: 11 (4 generated)
Yusuf
4 years, 2 months ago (2016-10-05 18:51:50 UTC) #2
Ian Wen
https://chromiumcodereview.appspot.com/2387293005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java (right): https://chromiumcodereview.appspot.com/2387293005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java#newcode64 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java:64: /** Signals the custom tab to favor sending any ...
4 years, 2 months ago (2016-10-05 20:16:41 UTC) #3
Yusuf
https://chromiumcodereview.appspot.com/2387293005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java (right): https://chromiumcodereview.appspot.com/2387293005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java#newcode64 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java:64: /** Signals the custom tab to favor sending any ...
4 years, 2 months ago (2016-10-05 23:32:08 UTC) #4
Ted C
lgtm ... granted, no sure what the best thing is for making that logic easier ...
4 years, 2 months ago (2016-10-05 23:51:38 UTC) #5
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/2387293005/40001
4 years, 2 months ago (2016-10-06 18:14:40 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-06 18:53:47 UTC) #9
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 18:55:09 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/97a926b6fcc71e943f92b6bd7ff9ea2374ec49db
Cr-Commit-Position: refs/heads/master@{#423610}

Powered by Google App Engine
This is Rietveld 408576698