914073c7cf933229a3f51ddeddb63bb9725a70be |
|
30-Jan-2017 |
Yusuf Ozuysal <yusufo@google.com> |
Add postMessage APIs to customtabs support lib Adds CustomTabsSession#requestPostMessageChannel, CustomTabsSession#postMessage, CustomTabsCallback#onMessageChannelCreated, CustomTabsCallback#onPostMessage for sending an receiving postMessage requests to the mainframe of the initial url. Adds PostMessageService and PostMessageServiceConnection for handling the browser->client callback lifecycle and message routing BUG=32809427 Test: android.support.customtabs.PostMessageTest, android.support.customtabs.PostMessageConnectionTest Change-Id: I3324a382b81fad97000d48389f4a0411e0b6f89e
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSessionToken.java
|
c39d9c75590eca86a5e7e32a8824ba04a0d42e9b |
|
25-Aug-2016 |
Alan Viverette <alanv@google.com> |
Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations Also removes some unnecessary @hide annotations on classes that wouldn't have shown up in docs anyway due to package/private visibility or NO_DOCS. Bug: 27937193 Change-Id: Iab127a5a3ce57a2d61965d3cef782621eb3859f5
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSessionToken.java
|
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
/frameworks/support/customtabs/src/android/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
/frameworks/support/customtabs/src/android/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
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsSessionToken.java
|
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/CustomTabsSessionToken.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/CustomTabsSessionToken.java
|