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

Unified Diff: third_party/WebKit/Source/modules/vr/VRStageParameters.h

Issue 1967633002: Updated VRService to match the latest Blink WebVR interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some fixes for Android and update the unit test Created 4 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: third_party/WebKit/Source/modules/vr/VRStageParameters.h
diff --git a/third_party/WebKit/Source/modules/vr/VRStageParameters.h b/third_party/WebKit/Source/modules/vr/VRStageParameters.h
index 26c8b3c74c22eab83e8cf6c48a0e846499e6be6f..318376be460a3bed704511f0fa818620386fafeb 100644
--- a/third_party/WebKit/Source/modules/vr/VRStageParameters.h
+++ b/third_party/WebKit/Source/modules/vr/VRStageParameters.h
@@ -8,6 +8,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMTypedArray.h"
#include "platform/heap/Handle.h"
+#include "public/platform/modules/vr/vr_service.mojom-blink.h"
#include "wtf/Forward.h"
namespace blink {
@@ -22,6 +23,8 @@ public:
float sizeX() const { return m_sizeX; }
float sizeZ() const { return m_sizeZ; }
+ void update(const mojom::blink::VRStageParametersPtr&);
+
DECLARE_VIRTUAL_TRACE()
private:

Powered by Google App Engine
This is Rietveld 408576698