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

Issue 1509713004: Add a default share button to the menu of Custom Tabs (Closed)

Created:
5 years ago by Ian Wen
Modified:
5 years ago
Reviewers:
Yusuf, newt (away)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a default share button to the menu of Custom Tabs There has been a demand from developers to implement an easy-to-add share button in Custom Tabs' support library. This CL introduces a boolean extra in CustomTabsIntent. Internally CustomTabActivity uses the same method that every ChromeActivity use to share the current webpage. BUG=561091 Committed: https://crrev.com/4f9db38a7f90dedf1fa9046b897cdb59ed7dfce8 Cr-Commit-Position: refs/heads/master@{#365791}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Avoid annotaing share menu with null #

Total comments: 2

Patch Set 3 : rename button -> menu item #

Patch Set 4 : Fix test #

Patch Set 5 : rebase #

Messages

Total messages: 31 (14 generated)
Ian Wen
5 years ago (2015-12-09 11:49:33 UTC) #2
Yusuf
https://codereview.chromium.org/1509713004/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://codereview.chromium.org/1509713004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java#newcode258 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java:258: if (pendingIntent == null) { Two questions here: Should ...
5 years ago (2015-12-09 18:49:28 UTC) #3
Ian Wen
PTAL. :)
5 years ago (2015-12-14 14:03:25 UTC) #4
Yusuf
lgtm with a nit https://codereview.chromium.org/1509713004/diff/20001/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java File chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java (right): https://codereview.chromium.org/1509713004/diff/20001/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java#newcode97 chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java:97: public static final String EXTRA_DEFAULT_SHARE_BUTTON ...
5 years ago (2015-12-16 07:40:05 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509713004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509713004/40001
5 years ago (2015-12-16 07:59:38 UTC) #7
Ian Wen
Thanks yusufo@ for the review! newt@ would you mind taking a look at the trivial ...
5 years ago (2015-12-16 08:00:55 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/111463)
5 years ago (2015-12-16 09:55:59 UTC) #10
newt (away)
lgtm
5 years ago (2015-12-16 19:08:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509713004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509713004/40001
5 years ago (2015-12-16 19:10:20 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/184)
5 years ago (2015-12-16 20:58:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509713004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509713004/60001
5 years ago (2015-12-17 07:25:33 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/109124) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-12-17 07:28:14 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509713004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509713004/60001
5 years ago (2015-12-17 07:43:54 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/137314) ios_dbg_simulator_ninja on ...
5 years ago (2015-12-17 07:46:30 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509713004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509713004/80001
5 years ago (2015-12-17 09:10:47 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-12-17 09:47:34 UTC) #29
commit-bot: I haz the power
5 years ago (2015-12-17 09:48:37 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4f9db38a7f90dedf1fa9046b897cdb59ed7dfce8
Cr-Commit-Position: refs/heads/master@{#365791}

Powered by Google App Engine
This is Rietveld 408576698