| Index: public/platform/Platform.h
|
| diff --git a/public/platform/Platform.h b/public/platform/Platform.h
|
| index c30e8d260c924fd0f1bf3ef4b6b7e84bfa786c7f..19768cf124f02daa84bb4e2d724e3fc113b4ffe9 100644
|
| --- a/public/platform/Platform.h
|
| +++ b/public/platform/Platform.h
|
| @@ -48,13 +48,17 @@
|
| #include "WebGraphicsContext3D.h"
|
| #include "WebLocalizedString.h"
|
| #include "WebPlatformEventType.h"
|
| +#include "WebSize.h"
|
| #include "WebSpeechSynthesizer.h"
|
| #include "WebStorageQuotaCallbacks.h"
|
| #include "WebStorageQuotaType.h"
|
| #include "WebString.h"
|
| #include "WebURLError.h"
|
| +#include "WebVR.h"
|
| #include "WebVector.h"
|
|
|
| +#include <vector>
|
| +
|
| class GrContext;
|
|
|
| namespace blink {
|
| @@ -219,6 +223,20 @@ public:
|
| virtual void sampleGamepads(WebGamepads& into) { into.length = 0; }
|
|
|
|
|
| + // WebVR -------------------------------------------------------------
|
| +
|
| + virtual void getVRDevices(WebVector<blink::WebVRDevice>* devices) { };
|
| +
|
| + virtual void getHMDSensorState(unsigned index, blink::WebHMDSensorState& into) { }
|
| +
|
| + virtual void resetVRSensor(unsigned index) { }
|
| +
|
| + virtual void getVRRenderTargetRects(unsigned index,
|
| + blink::WebVRFieldOfView leftFov,
|
| + blink::WebVRFieldOfView rightFov,
|
| + blink::WebVRVector4* leftRect,
|
| + blink::WebVRVector4* rightRect) { };
|
| +
|
| // History -------------------------------------------------------------
|
|
|
| // Returns the hash for the given canonicalized URL for use in visited
|
|
|