summaryrefslogtreecommitdiffstats
path: root/customtabs
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in CustomTabsSession#setActionButton javadocYusuf Ozuysal2015-10-091-1/+1
| | | | | | | | s/tbe/the BUG=24804577 Change-Id: Iaf68844affae11a952306829c13b38638fe80d46
* Add 23.1.0 API filesChris Banes2015-10-072-0/+88
| | | | | | | Also renamed the 23.0.0 files to match the naming scheme. Change-Id: I48aca5ff1c024186ff8f2f768ff078420aa6cf16
* [Custom Tabs] Add updateVisuals() in CustomTabsServiceYusuf Ozuysal2015-09-154-1/+44
| | | | | | | | | | | | 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
* am 1f683d10: am 0b82d386: am dd3fbf88: Merge "Lower minSDK version for ↵Yusuf Ozuysal2015-08-271-1/+1
|\ | | | | | | | | | | | | customtabs" into mnc-dev * commit '1f683d10965b25404c9641e611ad8508b1cf2323': Lower minSDK version for customtabs
| * 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
* | am 8e6b300a: am c8e7be13: am c5c0045d: Reland: Add a way of generating a ↵Yusuf Ozuysal2015-08-256-36/+25
|\| | | | | | | | | | | | | CustomTabsSessionToken from an intent * commit '8e6b300ad5d86dde84ddc2dcdfedf4b1d8a21538': Reland: Add a way of generating a CustomTabsSessionToken from an intent
| * 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
* | am ccf4675e: am d5cb7b5a: am 914c8c87: Merge "Revert "Add a way of ↵Yusuf Ozuysal2015-08-246-25/+36
|\| | | | | | | | | | | | | generating a CustomTabsSessionToken from an intent"" into mnc-dev * commit 'ccf4675e0c12bb4765222529341ce2ab479e50ba': Revert "Add a way of generating a CustomTabsSessionToken from an intent"
| * Revert "Add a way of generating a CustomTabsSessionToken from an intent"Yusuf Ozuysal2015-08-246-25/+36
| | | | | | | | | | | | This reverts commit c502e639bdb79fa04454641310f8965d0ffe0191. Change-Id: I89d1315200de3fa0c3d80522eda56f9db910fdf8
* | am fdf87001: am b0d449b9: am 7f2ba521: Merge "Add a way of generating a ↵Yusuf Ozuysal2015-08-246-36/+25
|\| | | | | | | | | | | | | CustomTabsSessionToken from an intent" into mnc-dev * commit 'fdf8700100328aa698c90578cecea9818958dee4': Add a way of generating a CustomTabsSessionToken from an intent
| * 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
* | Updates to customtabs support libraryYusuf Ozuysal2015-08-184-3/+51
|/ | | | | | | | | | - Add an extra to enable url bar hiding - Add an extra to declare whether the action button should be tinted by implementation - Add two more callback signals for tab shown/hidden - Declare a syncronized field final in CustomTabsService Change-Id: If049b4601967ddef27808715cf59ea9a9a62502e
* 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