History log of /frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
58adbb8cd5511f4833d3e818b9a2e2b1977ae96c 27-May-2016 Yusuf Ozuysal <yusufo@google.com> Add an API to update the remote view secondary toolbar in custom tabs

This is the session level counterpart of
CustomTabsIntent.Builder.setSecondaryToolbarViews for updating an
existing secondary toolbar with a new RemoteView. The RemoteView can be
null in which case the current secondary toolbar is dismissed.

BUG=27970505

Change-Id: I3c085a3a3f461bda54d8d9f5e220c7a87722450d
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
31d3693ce923831667ce9e3c83d1bdd3f66742d8 09-Feb-2016 Yusuf Ozuysal <yusufo@google.com> Address API review comments

Renamed calls to have toolbar instead of action bar. Added more
explanation for max number of items. Fixed javadocs

BUG=26773457, 27075348

Change-Id: Ia5202fd6fe65245312f24a650573b2dbb359be1d
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
179ab306d366df2ac610dd8c72bf19a5a8887970 08-Jan-2016 Yusuf Ozuysal <yusufo@google.com> Add a way to put more than one custom action button to customtabs

This adds new APIs to CustomTabsIntent/CustomTabsSession to add/update
more than one button to the UI with assigned ID. To keep backwards
compatibility with the previous APIs, the one main button is always
given a constant ID and new ones are assigned by the client. This uses
the already present updateVisuals aidl call to send the messages
to the browser side.

BUG=26470162

Change-Id: Ic6668093f494796a1e91508b0a29ef2b5760875a
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
08043c54f8c95683dfd8211c6cfcd69ef8aa0747 10-Oct-2015 Yusuf Ozuysal <yusufo@google.com> Fix typo in CustomTabsSession#setActionButton javadoc

s/tbe/the

BUG=24804577

Change-Id: Iaf68844affae11a952306829c13b38638fe80d46
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
f2fe06734fa162d7d49f4891b7052bba8f19f50c 08-Sep-2015 Yusuf Ozuysal <yusufo@google.com> [Custom Tabs] Add updateVisuals() in CustomTabsService

In ICustomTabsService.aidl, updateVisuals() is a generic API that
takes a bundle and an IBinder. The bundle needs to have the same structure as
a custom tabs VIEW INTENT, in terms of UI customizations.

In CustomTabsSession, a public method is created for updating the action
button for the current session with a new Bitmap icon and new content
description.

Change-Id: I6f30da7c524599342997987081838c73a54e4880
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
689e91d33a4c181f0fe529adcf765930ea8907e0 07-Aug-2015 Benoit Lize <lizeb@google.com> Reland "customtabs: Add "extraCommand" and "extraCallback", for unsupported commands"

Change: Added missing import.

Original commit message:
This adds a new AIDL method, extraCommand(String, Bundle). It is
intended to allow implementations to add extra unsupported commands
forcetesting or experimental purposes. These are not intended to be
documented, and should be either internal (for testing) or transient (as
a testing ground before adding them as a proper AIDL method).

In Chromium's case, this command will be used for these two purposes.

In the same fashion, this also introduces an "extra" callback.

Change-Id: Idb375bc701f434b4fe76ee93c8a2596716b36047
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
e0c6f48d5720470e799122532699fc89d5165307 07-Aug-2015 Ian Wen <ianwen@google.com> Merge "Revert "customtabs: Add "extraCommand" and "extraCallback", for unsupported commands"" into mnc-dev
ee8b0611c54393060684c7cb6f8315b6365bb4b1 07-Aug-2015 Ian Wen <ianwen@google.com> Revert "customtabs: Add "extraCommand" and "extraCallback", for unsupported commands"

This reverts commit c08c466b732ff72ceb0df89c4b78362e1948c356.

Change-Id: I3179a36b7b1da7a96a3e5a0697605d3423ea755d
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
0384004c82ef83c2de4fdfdd73585a1ae212f838 07-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Merge "customtabs: Add "extraCommand" and "extraCallback", for unsupported commands" into mnc-dev
97ee4f3f353309991efd3ceca369548b485e9a5f 31-Jul-2015 Benoit Lize <lizeb@google.com> customtabs: Add a Builder class for UI customizations.

Also add customtabs to settings.gradle.

Change-Id: I96be920e25f2439898025b695b75da2e7b133e84
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
c08c466b732ff72ceb0df89c4b78362e1948c356 31-Jul-2015 Benoit Lize <lizeb@google.com> customtabs: Add "extraCommand" and "extraCallback", for unsupported commands

This adds a new AIDL method, extraCommand(String, Bundle). It is
intended to allow implementations to add extra unsupported commands
forcetesting or experimental purposes. These are not intended to be
documented, and should be either internal (for testing) or transient (as
a testing ground before adding them as a proper AIDL method).

In Chromium's case, this command will be used for these two purposes.

In the same fashion, this also introduces an "extra" callback.

Change-Id: I468a6f7bbf82a83bb480ff41e1239dc8c8254a40
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java
08889acbc842c73b64f94a761910154d9d42ee4c 18-Jun-2015 Yusuf Ozuysal <yusufo@google.com> Add /customtabs for Custom Tabs support library

This adds the extras and keys that will be used for
customizing the UI and functionality of the custom tab.
It also contains two aidls that will be used for interfacing
with the service that the custom tab provider will implement.

For chrome implementation documentation see:
https://developer.chrome.com/multidevice/android/customtabs

Change-Id: I712cd82c94ceab820737f6e38e4783fabef51791
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSession.java