• Home
  • History
  • Annotate
  • only in /frameworks/support/customtabs/src/
History log of /frameworks/support/customtabs/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c5c0045de7c8848144a570665e0d3c950816f314 20-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Reland: Add a way of generating a CustomTabsSessionToken from an intent

Currently there is no way of obtaining a session token from an
intent on the browser side. We add the session's ICustomTabsCallback
to the intent with CustomTabsIntent.Builder constructor but since
CustomTabsSessionToken don't have any public constructors and
ICustomTabsCallback is hidden we can't generate one using the IBinder
we got from the intent.

This change add a support library convenience call to do all this
behind the scenes.

Reviewed: https://googleplex-android-review.git.corp.google.com/#/c/755029/
Fixed: Javadoc link in BundleCompat.java

b/23389835

Change-Id: I63468335c6cb1389a8ecd89b151f7177aa733f08
ndroid/support/customtabs/CustomTabsIntent.java
ndroid/support/customtabs/CustomTabsService.java
ndroid/support/customtabs/CustomTabsSessionToken.java
e063d4d36883c9f7ca100036b9344b665ab6fd1e 24-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Revert "Add a way of generating a CustomTabsSessionToken from an intent"

This reverts commit c502e639bdb79fa04454641310f8965d0ffe0191.

Change-Id: I89d1315200de3fa0c3d80522eda56f9db910fdf8
ndroid/support/customtabs/CustomTabsIntent.java
ndroid/support/customtabs/CustomTabsService.java
ndroid/support/customtabs/CustomTabsSessionToken.java
c502e639bdb79fa04454641310f8965d0ffe0191 20-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Add a way of generating a CustomTabsSessionToken from an intent

Currently there is no way of obtaining a session token from an
intent on the browser side. We add the session's ICustomTabsCallback
to the intent with CustomTabsIntent.Builder constructor but since
CustomTabsSessionToken don't have any public constructors and
ICustomTabsCallback is hidden we can't generate one using the IBinder
we got from the intent.

This change add a support library convenience call to do all this
behind the scenes.

b/23389835

Change-Id: Iff0b28c2f85d0400646517dacacfa947a6e556f7
ndroid/support/customtabs/CustomTabsIntent.java
ndroid/support/customtabs/CustomTabsService.java
ndroid/support/customtabs/CustomTabsSessionToken.java
8a1ccd14081000d6501622de72a16da67c33030c 10-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Add accessibility extra and clarification callbacks to custom tabs.

During launch review we got feedback that the button should always
have an accessibility string. Added it to the builder as a must have
key as well. Clarified button related specs.

Also added two more callback signals to remedy cases where we get two
pageLoadStarted signals back to back due to user action or internal
failures interrrupting page load.

b/23079160

Change-Id: I7f590d1df6e3ac9757e70e2518363d038a5aaef5
ndroid/support/customtabs/CustomTabsCallback.java
ndroid/support/customtabs/CustomTabsIntent.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
ndroid/support/customtabs/CustomTabsCallback.java
ndroid/support/customtabs/CustomTabsClient.java
ndroid/support/customtabs/CustomTabsService.java
ndroid/support/customtabs/CustomTabsSession.java
ndroid/support/customtabs/ICustomTabsCallback.aidl
ndroid/support/customtabs/ICustomTabsService.aidl
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
ndroid/support/customtabs/CustomTabsCallback.java
ndroid/support/customtabs/CustomTabsClient.java
ndroid/support/customtabs/CustomTabsService.java
ndroid/support/customtabs/CustomTabsSession.java
ndroid/support/customtabs/ICustomTabsCallback.aidl
ndroid/support/customtabs/ICustomTabsService.aidl
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
ndroid/support/customtabs/CustomTabsIntent.java
ndroid/support/customtabs/CustomTabsService.java
ndroid/support/customtabs/CustomTabsSession.java
ndroid/support/customtabs/CustomTabsSessionToken.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
ndroid/support/customtabs/CustomTabsCallback.java
ndroid/support/customtabs/CustomTabsClient.java
ndroid/support/customtabs/CustomTabsService.java
ndroid/support/customtabs/CustomTabsSession.java
ndroid/support/customtabs/ICustomTabsCallback.aidl
ndroid/support/customtabs/ICustomTabsService.aidl
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
ndroid/support/customtabs/CustomTabsCallback.java
ndroid/support/customtabs/CustomTabsClient.java
ndroid/support/customtabs/CustomTabsIntent.java
ndroid/support/customtabs/CustomTabsService.java
ndroid/support/customtabs/CustomTabsServiceConnection.java
ndroid/support/customtabs/CustomTabsSession.java
ndroid/support/customtabs/CustomTabsSessionToken.java
ndroid/support/customtabs/ICustomTabsCallback.aidl
ndroid/support/customtabs/ICustomTabsService.aidl