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

Unified Diff: chrome/browser/android/vr_shell/vr_shell.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: chrome/browser/android/vr_shell/vr_shell.h
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
index 3838edfb93c4bcb584138aeadbeb155d31bdb413..87485738b6bc53012c0bbd00bbf8865d62332ca5 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -131,6 +131,12 @@ class VrShell : public device::PresentingGvrDelegate,
void ContentSurfaceChanged(jobject surface);
void GvrDelegateReady();
+ void OnPhysicalBackingSizeChanged(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ const base::android::JavaParamRef<jobject>& jweb_contents,
+ jint width,
+ jint height);
void ContentPhysicalBoundsChanged(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& object,

Powered by Google App Engine
This is Rietveld 408576698