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

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

Issue 414423002: Removing ContentViewCore dependencies from few functions which acts as direct wrapper to WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted native file changes to correct inclusion order. Created 6 years, 4 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 7624c74887479bfcba47634aadfa227e6fbb4a0b..e1b98c651c869f113cc36e754e56c7d06a27c460 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -94,8 +94,6 @@ class ContentViewCoreImpl : public ContentViewCore,
jstring virtual_url_for_data_url,
jboolean can_load_local_resources,
jboolean is_renderer_initiated);
- base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const;
- jboolean IsIncognito(JNIEnv* env, jobject obj);
void SendOrientationChangeEvent(JNIEnv* env, jobject obj, jint orientation);
jboolean OnTouchEvent(JNIEnv* env,
jobject obj,
@@ -209,31 +207,12 @@ class ContentViewCoreImpl : public ContentViewCore,
void SetBackgroundOpaque(JNIEnv* env, jobject jobj, jboolean opaque);
- // Notifies the main frame that it can continue navigation (if it was deferred
- // immediately at first response).
- void ResumeResponseDeferredAtStart(JNIEnv* env, jobject obj);
-
- void SetHasPendingNavigationTransitionForTesting(JNIEnv* env, jobject obj);
-
jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj);
// --------------------------------------------------------------------------
// Public methods that call to Java via JNI
// --------------------------------------------------------------------------
- // This method is invoked when the request is deferred immediately after
- // receiving response headers.
- void DidDeferAfterResponseStarted(
- const scoped_refptr<net::HttpResponseHeaders>& headers,
- const GURL& url);
-
- // This method is invoked when a navigation transition is detected, to
- // determine if the embedder intends to handle it.
- bool WillHandleDeferAfterResponseStarted();
-
- // This method is invoked when a navigation transition has started.
- void DidStartNavigationTransitionForFrame(int64 frame_id);
-
void OnSmartClipDataExtracted(const base::string16& text,
const base::string16& html,
const gfx::Rect& clip_rect);
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | content/browser/web_contents/web_contents_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698