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

Unified Diff: chrome/android/java/src/android/support/customtabs/CustomTabsCallback.java

Issue 1303613002: Start using the third_party/android_tools target for customtabs library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: chrome/android/java/src/android/support/customtabs/CustomTabsCallback.java
diff --git a/chrome/android/java/src/android/support/customtabs/CustomTabsCallback.java b/chrome/android/java/src/android/support/customtabs/CustomTabsCallback.java
deleted file mode 100644
index 135aa0970ad207d4afc51a2a9d53752a463d8487..0000000000000000000000000000000000000000
--- a/chrome/android/java/src/android/support/customtabs/CustomTabsCallback.java
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package android.support.customtabs;
-
-import android.os.Bundle;
-
-/**
- * A callback class for custom tabs client to get messages regarding events in their custom tabs.
- */
-public class CustomTabsCallback {
- /**
- * Sent when the tab has started loading a page.
- */
- public static final int NAVIGATION_STARTED = 1;
-
- /**
- * Sent when the tab has finished loading a page.
- */
- public static final int NAVIGATION_FINISHED = 2;
-
- /**
- * Sent when the tab couldn't finish loading due to a failure.
- */
- public static final int NAVIGATION_FAILED = 3;
-
- /**
- * Sent when loading was aborted by a user action before it finishes like clicking on a link
- * or refreshing the page.
- */
- public static final int NAVIGATION_ABORTED = 4;
-
- /**
- * Sent when the tab becomes visible.
- */
- public static final int TAB_SHOWN = 5;
-
- /**
- * Sent when the tab becomes hidden.
- */
- public static final int TAB_HIDDEN = 6;
-
- /**
- * To be called when a navigation event happens.
- *
- * @param navigationEvent The code corresponding to the navigation event.
- * @param extras Reserved for future use.
- */
- public void onNavigationEvent(int navigationEvent, Bundle extras) {}
-}
« no previous file with comments | « chrome/android/chrome_apk.gyp ('k') | chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698