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

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

Issue 2842693005: Store physical backing size in ViewAndroid (Closed)
Patch Set: no UpdateLayerBounds Created 3 years, 7 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_render_view.h
diff --git a/content/browser/android/content_view_render_view.h b/content/browser/android/content_view_render_view.h
index 82e74436ec9c4c7c846e82f6748a0804eba74cc1..07927e1411dbde94f586c705977715329a6da11f 100644
--- a/content/browser/android/content_view_render_view.h
+++ b/content/browser/android/content_view_render_view.h
@@ -32,6 +32,12 @@ class ContentViewRenderView : public CompositorClient {
JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,
const base::android::JavaParamRef<jobject>& jweb_contents);
+ void OnPhysicalBackingSizeChanged(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ const base::android::JavaParamRef<jobject>& jweb_contents,
+ jint width,
+ jint height);
void SurfaceCreated(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);
void SurfaceDestroyed(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698