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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 10952029: Remove native side of content_view_client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index adc40f3bb9586fda077c6ce938c49e0428e27845..87b6a8792d4a3f20513c8b1eac495efbbf561705 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -25,7 +25,6 @@
struct WebMenuItem;
namespace content {
-class ContentViewClient;
class RenderWidgetHostViewAndroid;
// TODO(jrg): this is a shell. Upstream the rest.
@@ -116,7 +115,6 @@ class ContentViewCoreImpl : public ContentViewCore,
void Reload(JNIEnv* env, jobject obj);
jboolean NeedsReload(JNIEnv* env, jobject obj);
void ClearHistory(JNIEnv* env, jobject obj);
- void SetClient(JNIEnv* env, jobject obj, jobject jclient);
jint EvaluateJavaScript(JNIEnv* env, jobject obj, jstring script);
virtual int GetNativeImeAdapter(JNIEnv* env, jobject obj) OVERRIDE;
virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() OVERRIDE;
@@ -210,9 +208,6 @@ class ContentViewCoreImpl : public ContentViewCore,
WebContentsImpl* web_contents_;
bool owns_web_contents_;
- // We only set this to be the delegate of the web_contents if we own it.
- scoped_ptr<ContentViewClient> content_view_client_;
-
// Whether the renderer backing this ContentViewCore has crashed.
bool tab_crashed_;

Powered by Google App Engine
This is Rietveld 408576698