Index: content/public/android/java/src/org/chromium/content/browser/ContentView.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentView.java b/content/public/android/java/src/org/chromium/content/browser/ContentView.java |
index ea72eea9495ec03ef20b87c6f6301fcb707957fe..3b9bd829073f01f428e5d1ba36b16c662ad2c24a 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ContentView.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentView.java |
@@ -34,13 +34,19 @@ import java.util.ArrayList; |
* compatibility. |
*/ |
public class ContentView extends FrameLayout implements ContentViewCore.InternalAccessDelegate { |
- |
- // The following constants match the ones in chrome/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_GENERATED = 5; |
+ |
+ // TODO(boliu): This diverged from native. Fix this. |
+ @Deprecated |
public static final int PAGE_TRANSITION_START_PAGE = 6; |
// Flag that should be ORed to the page transition when a navigation is initiated from the |
// omnibox. |