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

Issue 1658723007: Prototype handling of Intents in Custom Tabs (Closed)

Created:
4 years, 10 months ago by gone
Modified:
4 years, 7 months ago
Reviewers:
Ted C, Ian Wen, Ilya Sherman
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prototype handling of Intents in Custom Tabs * Add a flag to about:flags that's restricted to Dev and lower that enables UI experiments. * Cache the new native flags from about:flags inside of SharedPreferences. This is necessary because we don't have access to the native side early on when ChromeLauncherActivity is triggered. * Send VIEW Intents that don't have NEW_TASK or NEW_DOCUMENT to Custom Tabs instead of Chrome proper. BUG=582539 Committed: https://crrev.com/d60de5c9c1bd04ea14d561bf3513c45fba94ca21 Cr-Commit-Position: refs/heads/master@{#373303}

Patch Set 1 #

Patch Set 2 : Moved preference handling #

Patch Set 3 : Moved preference code #

Total comments: 2

Patch Set 4 : Added herb flavors #

Patch Set 5 : Rearranged #

Total comments: 2

Patch Set 6 : StrictMode guarding #

Patch Set 7 : Updated the check #

Patch Set 8 : Added toast #

Patch Set 9 : Histogram for unit test #

Total comments: 4

Patch Set 10 : Flags switched over #

Patch Set 11 : Histogram update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java View 1 2 3 4 5 6 7 5 chunks +21 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java View 1 2 3 4 5 6 3 chunks +46 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/ChromePreferenceManager.java View 1 2 3 4 chunks +38 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 3 chunks +24 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M ui/android/java/strings/android_ui_strings.grd View 1 2 3 4 5 6 7 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 27 (11 generated)
gone
Ian: Please review the stuff about CCT triggering. Ted: Please review anything related to enabling ...
4 years, 10 months ago (2016-02-01 23:17:24 UTC) #4
Ian Wen
CCT lgtm. https://chromiumcodereview.appspot.com/1658723007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java (right): https://chromiumcodereview.appspot.com/1658723007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java#newcode859 chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java:859: * and stores them in SharedPreferences. Because ...
4 years, 10 months ago (2016-02-02 01:24:37 UTC) #5
gone
Same CL, now with more flavors. https://chromiumcodereview.appspot.com/1658723007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java (right): https://chromiumcodereview.appspot.com/1658723007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java#newcode859 chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java:859: * and stores ...
4 years, 10 months ago (2016-02-02 01:59:42 UTC) #6
Ted C
lgtm https://codereview.chromium.org/1658723007/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java (right): https://codereview.chromium.org/1658723007/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java#newcode859 chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java:859: * library has loaded, they won't affect the ...
4 years, 10 months ago (2016-02-02 21:22:46 UTC) #7
gone
Ted: does this string make sense?
4 years, 10 months ago (2016-02-02 22:00:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658723007/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658723007/140001
4 years, 10 months ago (2016-02-02 22:11:42 UTC) #11
gone
+isherman@ for histogram change required by unit test.
4 years, 10 months ago (2016-02-03 00:03:22 UTC) #14
Ilya Sherman
https://chromiumcodereview.appspot.com/1658723007/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/1658723007/diff/160001/tools/metrics/histograms/histograms.xml#newcode70313 tools/metrics/histograms/histograms.xml:70313: + <int value="-814923711" label="herb-flavor"/> LGTM, though this is a ...
4 years, 10 months ago (2016-02-03 01:13:21 UTC) #15
gone
https://chromiumcodereview.appspot.com/1658723007/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/1658723007/diff/160001/tools/metrics/histograms/histograms.xml#newcode70313 tools/metrics/histograms/histograms.xml:70313: + <int value="-814923711" label="herb-flavor"/> On 2016/02/03 01:13:21, Ilya Sherman ...
4 years, 10 months ago (2016-02-03 01:18:28 UTC) #16
Ilya Sherman
https://chromiumcodereview.appspot.com/1658723007/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/1658723007/diff/160001/tools/metrics/histograms/histograms.xml#newcode70313 tools/metrics/histograms/histograms.xml:70313: + <int value="-814923711" label="herb-flavor"/> On 2016/02/03 01:18:28, dfalcantara wrote: ...
4 years, 10 months ago (2016-02-03 01:27:04 UTC) #17
gone
I'm still compiling the unit test so that it can fail and I can get ...
4 years, 10 months ago (2016-02-03 01:57:28 UTC) #18
gone
Swapped in the new histogram value. PTAL, thanks!
4 years, 10 months ago (2016-02-03 02:10:49 UTC) #19
Ilya Sherman
LGTM, thanks.
4 years, 10 months ago (2016-02-03 19:22:59 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658723007/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658723007/200001
4 years, 10 months ago (2016-02-03 19:25:35 UTC) #23
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 10 months ago (2016-02-03 19:37:01 UTC) #25
commit-bot: I haz the power
4 years, 10 months ago (2016-02-03 19:38:32 UTC) #27
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/d60de5c9c1bd04ea14d561bf3513c45fba94ca21
Cr-Commit-Position: refs/heads/master@{#373303}

Powered by Google App Engine
This is Rietveld 408576698