Index: content/public/browser/android/content_view.h |
diff --git a/content/public/browser/android/content_view.h b/content/public/browser/android/content_view.h |
index 4001476ad57613bfa94864ea9f31d8571e234a46..a12c9c39253bee29b4c1e7ae824cb57d79288ef7 100644 |
--- a/content/public/browser/android/content_view.h |
+++ b/content/public/browser/android/content_view.h |
@@ -8,6 +8,8 @@ |
#include <jni.h> |
+class GURL; |
+ |
namespace content { |
class WebContents; |
@@ -34,6 +36,12 @@ class ContentView { |
WebContents* web_contents); |
static ContentView* GetNativeContentView(JNIEnv* env, jobject obj); |
+ // -------------------------------------------------------------------------- |
+ // Public methods that call to Java via JNI |
+ // -------------------------------------------------------------------------- |
+ |
+ virtual void StartContentIntent(const GURL& content_url) = 0; |
+ |
protected: |
virtual ~ContentView() {}; |
}; |