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

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

Issue 2595263002: Introduce ViewRoot forwarding input/view events to native (Closed)
Patch Set: unittest Created 3 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.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 18d55d423e3da9ba9240c32e46c8a62993fa224d..1e3843d0bb7a6ff80f331475b0b673e40b11c01a 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -71,9 +71,10 @@ class ContentViewCoreImpl : public ContentViewCore,
JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);
- void UpdateWindowAndroid(JNIEnv* env,
- const base::android::JavaParamRef<jobject>& obj,
- jlong window_android);
+ void UpdateViewRoot(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ jlong view_root_ptr);
void OnJavaContentViewCoreDestroyed(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);
@@ -283,6 +284,16 @@ class ContentViewCoreImpl : public ContentViewCore,
const base::android::JavaParamRef<jobjectArray>& j_mimeTypes,
const base::android::JavaParamRef<jstring>& j_content);
+ void MoveToFrontInViewHierarchy(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& jobj);
+ void UpdateViewBounds(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& jobj,
+ int x,
+ int y,
+ int width,
+ int height);
jint GetCurrentRenderProcessId(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);

Powered by Google App Engine
This is Rietveld 408576698