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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 11577016: Generate PageTransitionTypes.java for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deprecate instead of remove old constants. Created 8 years 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: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index eefb3af45ee831e3789999a6f445b496c64ea953..7776d20d4076529e1d691f67884cad19dda19724 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -58,12 +58,17 @@ import java.lang.annotation.Annotation;
public class ContentViewCore implements MotionEventDelegate {
private static final String TAG = ContentViewCore.class.getName();
- // The following constants match the ones in content/public/common/page_transition_types.h
- // Add more if you need them.
+ // Use PageTransitionLink class instead.
+ // TODO(boliu): Remove these.
+ @Deprecated
public static final int PAGE_TRANSITION_LINK = 0;
+ @Deprecated
public static final int PAGE_TRANSITION_TYPED = 1;
+ @Deprecated
public static final int PAGE_TRANSITION_AUTO_BOOKMARK = 2;
+ @Deprecated
public static final int PAGE_TRANSITION_START_PAGE = 6;
+ @Deprecated
public static final int PAGE_TRANSITION_RELOAD = 8;
// Used when ContentView implements a standalone View.

Powered by Google App Engine
This is Rietveld 408576698