Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Unified Diff: customtabs/src/android/support/customtabs/ICustomTabsCallback.aidl

Issue 2438103002: Add postMessage APIs to the support lib (Closed)
Patch Set: removed unnecessary import Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: customtabs/src/android/support/customtabs/ICustomTabsCallback.aidl
diff --git a/customtabs/src/android/support/customtabs/ICustomTabsCallback.aidl b/customtabs/src/android/support/customtabs/ICustomTabsCallback.aidl
index a4678640cf672dca09d672e0dca17b7bb5912be2..c25c4f77df2e19766de42f4c7af77d1774a88964 100644
--- a/customtabs/src/android/support/customtabs/ICustomTabsCallback.aidl
+++ b/customtabs/src/android/support/customtabs/ICustomTabsCallback.aidl
@@ -22,7 +22,9 @@ import android.os.Bundle;
* Interface to a CustomTabsCallback.
* @hide
*/
-oneway interface ICustomTabsCallback {
- void onNavigationEvent(int navigationEvent, in Bundle extras) = 1;
- void extraCallback(String callbackName, in Bundle args) = 2;
+interface ICustomTabsCallback {
+ oneway void onNavigationEvent(int navigationEvent, in Bundle extras) = 1;
+ oneway void extraCallback(String callbackName, in Bundle args) = 2;
+ void onMessageChannelReady(in Uri origin, in Bundle extras) = 3;
+ void onPostMessage(String message, in Bundle extras) = 4;
}

Powered by Google App Engine
This is Rietveld 408576698