summaryrefslogtreecommitdiffstats
path: root/customtabs
Commit message (Collapse)AuthorAgeFilesLines
* Lower minSDK version for customtabsYusuf Ozuysal2015-08-271-1/+1
| | | | | | | | | | This wass set to 16 before, but there are no APIs that it uses that requires 16 specifically. Lowering to 15 to avoid issues on the client side implementation. b/23551257 Change-Id: I0a9e6564554fd55a6e5473a029b81b876c960b1c
* Reland: Add a way of generating a CustomTabsSessionToken from an intentYusuf Ozuysal2015-08-246-36/+25
| | | | | | | | | | | | | | | | | | | 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
* Revert "Add a way of generating a CustomTabsSessionToken from an intent"Yusuf Ozuysal2015-08-246-25/+36
| | | | | | This reverts commit c502e639bdb79fa04454641310f8965d0ffe0191. Change-Id: I89d1315200de3fa0c3d80522eda56f9db910fdf8
* Add a way of generating a CustomTabsSessionToken from an intentYusuf Ozuysal2015-08-246-36/+25
| | | | | | | | | | | | | | | | 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
* Get support lib ready for releaseChris Banes2015-08-121-0/+79
| | | | | | | | | | - Fixes gradle build - Tags v23 APIs BUG: 23092116 BUG: 23129175 Change-Id: If6e6b60f9e00921694605bd6d87c00a01d9ef39b
* Add accessibility extra and clarification callbacks to custom tabs.Yusuf Ozuysal2015-08-103-4/+30
| | | | | | | | | | | | | | 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
* Reland "customtabs: Add "extraCommand" and "extraCallback", for unsupported ↵Benoit Lize2015-08-077-3/+56
| | | | | | | | | | | | | | | | | | | 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
* Merge "Revert "customtabs: Add "extraCommand" and "extraCallback", for ↵Ian Wen2015-08-077-56/+4
|\ | | | | | | unsupported commands"" into mnc-dev
| * Revert "customtabs: Add "extraCommand" and "extraCallback", for unsupported ↵Ian Wen2015-08-077-56/+4
| | | | | | | | | | | | | | | | commands" This reverts commit c08c466b732ff72ceb0df89c4b78362e1948c356. Change-Id: I3179a36b7b1da7a96a3e5a0697605d3423ea755d
* | Merge "customtabs: Add "extraCommand" and "extraCallback", for unsupported ↵Yusuf Ozuysal2015-08-077-2/+56
|\| | | | | | | commands" into mnc-dev
| * customtabs: Add "extraCommand" and "extraCallback", for unsupported commandsBenoit Lize2015-07-317-4/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | customtabs: Add a Builder class for UI customizations.Benoit Lize2015-07-318-66/+318
|/ | | | | | Also add customtabs to settings.gradle. Change-Id: I96be920e25f2439898025b695b75da2e7b133e84
* Add /customtabs for Custom Tabs support libraryYusuf Ozuysal2015-07-2314-0/+834
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