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

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

Issue 358973005: Navigation transitions: Pass is_transition_navigation flag up to the embedder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index 340aba161ab810f999891cf06db99d25c8fc66af..284ffdb05fa9b6e3f9fddaccaf4467691493294c 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -1656,6 +1656,15 @@ bool ContentViewCoreImpl::WillHandleDeferAfterResponseStarted() {
obj.obj());
}
+void ContentViewCoreImpl::DidStartNavigationTransitionForFrame(int64 frame_id) {
+ JNIEnv* env = AttachCurrentThread();
+ ScopedJavaLocalRef<jobject> obj(java_ref_.get(env));
+ if (obj.is_null())
+ return;
+ Java_ContentViewCore_didStartNavigationTransitionForFrame(
+ env, obj.obj(), frame_id);
+}
+
void ContentViewCoreImpl::OnSmartClipDataExtracted(
const gfx::Rect& clip_rect,
const base::string16& result) {

Powered by Google App Engine
This is Rietveld 408576698