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

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

Issue 2574313002: Clean up threading around VR Scene updates. (Closed)
Patch Set: Created 4 years 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 2720dd898fd00e73b1d5a08eaa73f30fec677ebd..095ea4888b2c812977dbc0ed8fa0f15f10538f01 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -17,6 +17,10 @@
#include "third_party/gvr-android-sdk/src/ndk/include/vr/gvr/capi/include/gvr_types.h"
#include "ui/gfx/native_widget_types.h"
+namespace base {
+class ListValue;
+}
+
namespace blink {
class WebInputEvent;
}
@@ -78,7 +82,7 @@ class VrShellGl {
void SetWebVRRenderSurfaceSize(int width, int height);
gvr::Sizei GetWebVRCompositorSurfaceSize();
- UiScene* GetScene() { return scene_.get(); }
+ void UpdateScene(std::unique_ptr<base::ListValue> commands);
private:
bool InitializeGl();

Powered by Google App Engine
This is Rietveld 408576698