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

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

Issue 139563004: Notification on finish handling of top control gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 00b3442010290dafd518dcdc525b0d1ad4100529..b7d30b50a0ba279f2008e39ff000d4ecd1cfb153 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -430,6 +430,14 @@ void ContentViewCoreImpl::UpdateFrameInfo(
overdraw_bottom_height);
}
+void ContentViewCoreImpl::DidFinishTopControlsGesture() {
+ JNIEnv* env = AttachCurrentThread();
+ ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
+ if (obj.is_null())
+ return;
+ Java_ContentViewCore_onTopControlsGestureFinished(env, obj.obj());
+}
+
void ContentViewCoreImpl::SetTitle(const base::string16& title) {
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | content/browser/android/in_process/synchronous_input_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698