[Custom Tabs]Add API for updating action button in service
commit773b9523d10279efa4a83642fbc82ae4eebe1219
authorianwen <ianwen@chromium.org>
Mon, 21 Sep 2015 22:22:22 +0000 (21 15:22 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 21 Sep 2015 22:23:40 +0000 (21 22:23 +0000)
tree22a637a19a9d84ae2732a87111ba7f42e9bcdc28
parent7cc8a91e606147efa653b1d85743052296af757f
[Custom Tabs]Add API for updating action button in service

This CL adds a new API in ICustomTabsService.aidl, letting client app
update the toolbar UI for an ongoing session. Currently only updating
the action button is allowed.

BUG=510256

Review URL: https://codereview.chromium.org/1291083004

Cr-Commit-Position: refs/heads/master@{#350047}
chrome/android/java/src/android/support/customtabs/ICustomTabsService.aidl
chrome/android/java/src/org/chromium/chrome/browser/customtabs/ActionButtonParams.java [new file with mode: 0644]
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabContentHandler.java
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java
chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java
chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarLayout.java
chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java
chrome/android/java/src/org/chromium/chrome/browser/util/IntentUtils.java
chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java