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

Unified Diff: content/public/browser/android/content_view.h

Issue 10695124: Add support for triggering Android intents based on content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes. Created 8 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: 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() {};
};

Powered by Google App Engine
This is Rietveld 408576698