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

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

Issue 2683953007: Support rendering Android Native Pages in VR Shell. (Closed)
Patch Set: Created 3 years, 10 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_gl.h
diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.h b/chrome/browser/android/vr_shell/vr_shell_gl.h
index c394cd50762bcc8ffe2127c4d1ba185259635fa0..dadaf834fc169ecf6dd21d5702f9ff4118c5ada0 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -71,6 +71,7 @@ class VrShellGl : public device::mojom::VRVSyncProvider {
void OnResume();
void SetWebVrMode(bool enabled);
+ void CreateContentSurface();
void ContentBoundsChanged(int width, int height);
void ContentPhysicalBoundsChanged(int width, int height);
void UIBoundsChanged(int width, int height);
@@ -112,7 +113,7 @@ class VrShellGl : public device::mojom::VRVSyncProvider {
int pixel_y);
void SendGesture(InputTarget input_target,
std::unique_ptr<blink::WebInputEvent> event);
-
+ void CreateUiSurface();
void OnUIFrameAvailable();
void OnContentFrameAvailable();
bool GetPixelEncodedFrameIndex(uint16_t* frame_index);

Powered by Google App Engine
This is Rietveld 408576698