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

Unified Diff: chrome/browser/android/vr_shell/vr_compositor.h

Issue 2428383006: Decouple VR Shell DPR and CSS size from Physical Displays. (Closed)
Patch Set: Created 4 years, 2 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_compositor.h
diff --git a/chrome/browser/android/vr_shell/vr_compositor.h b/chrome/browser/android/vr_shell/vr_compositor.h
index 218f877bc734a2c0ae383ad8c563fb94d8467fb6..ddd83877fddbbe74ce74123bb53b9c2594cdf1f4 100644
--- a/chrome/browser/android/vr_shell/vr_compositor.h
+++ b/chrome/browser/android/vr_shell/vr_compositor.h
@@ -34,9 +34,8 @@ class VrCompositor : public content::CompositorClient {
~VrCompositor() override;
void SurfaceDestroyed();
- void SurfaceChanged(int width,
- int height,
- const base::android::JavaParamRef<jobject>& surface);
+ void SetWindowBounds(int width, int height);
+ void SurfaceChanged(const base::android::JavaParamRef<jobject>& surface);
void SetLayer(content::WebContents* web_contents);
// CompositorClient implementation:

Powered by Google App Engine
This is Rietveld 408576698