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

Unified Diff: third_party/android_customtabs/customtabs/api/current.txt

Issue 1224553003: customtabs: Convert to the new AIDL interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to external patch #16, rebase and update constants. Created 5 years, 5 months 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: third_party/android_customtabs/customtabs/api/current.txt
diff --git a/third_party/android_customtabs/customtabs/api/current.txt b/third_party/android_customtabs/customtabs/api/current.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464cd389364de17db0d276e5371f1766b6873433
--- /dev/null
+++ b/third_party/android_customtabs/customtabs/api/current.txt
@@ -0,0 +1,33 @@
+package android.support.customtabs {
+ public class CustomTabsCallback {
+ method public void onUserNavigationStarted(String, android.os.Bundle);
+ method public void onUserNavigationFinished(String, android.os.Bundle);
+ }
+
+ public class CustomTabsIntent {
+ field public static final String EXTRA_SESSION = "android.support.customtabs.extra.SESSION";
+ field public static final String EXTRA_TOOLBAR_COLOR = "android.support.customtabs.extra.TOOLBAR_COLOR";
+ field public static final String EXTRA_ACTION_BUTTON_BUNDLE = "android.support.customtabs.extra.ACTION_BUTTON_BUNDLE";
+ field public static final String KEY_ICON = "android.support.customtabs.customaction.ICON";
+ field public static final String KEY_PENDING_INTENT = "android.support.customtabs.customaction.PENDING_INTENT";
+ field public static final String EXTRA_MENU_ITEMS = "android.support.customtabs.extra.MENU_ITEMS";
+ field public static final String KEY_MENU_ITEM_TITLE = "android.support.customtabs.customaction.MENU_ITEM_TITLE";
+ field public static final String EXTRA_EXIT_ANIMATION_BUNDLE = "android.support.customtabs.extra.EXIT_ANIMATION_BUNDLE";
+ }
+
+ public abstract class CustomTabsService exrends android.app.Service {
pasko 2015/07/09 13:37:13 extends?
+ field public static final String ACTION_CUSTOM_TABS_CONNECTION = "android.support.customtabs.action.CustomTabsService";
+ field public static final String KEY_URL = "android.support.customtabs.otherurls.URL";
+ method public abstract boolean warmup(long);
+ method public abstract boolean newSession(android.support.customtabs.ICustomTabsCallback);
+ method abstract boolean mayLaunchUrl(android.support.customtabs.ICustomTabsCallback, android.net.Uri, android.os.Bundle, List<android.os.Bundle>);
+ }
+
+ public class CustomTabsSession {
+ method public static boolean bindService(android.content.Context, String, android.content.ServiceConnection);
+ method public static android.support.customtabs.CustomTabsSession newSession(android.support.customtabs.ICustomTabsService, final android.support.customtabs.CustomTabsCallback);
+ method public boolean warmup(int);
+ method public boolean mayLaunchUrl(android.support.customtabs.ICustomTabsCallback, android.net.Uri, android.os.Bundle, List<android.os.Bundle>);
+ method public android.content.Intent getIntentForSession(String);
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698