Chromium Code Reviews| Index: public/platform/Platform.h |
| diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
| index 2eb272dec58269129815ec6c9c52f187f72a7161..ab27e110b4b095cf87df0736936134cdee8e69f9 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> |
|
sof
2015/02/25 06:30:34
You can remove this now.
|
| + |
| class GrContext; |
| namespace blink { |
| @@ -219,6 +223,19 @@ public: |
| virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } |
| + // WebVR ------------------------------------------------------------- |
| + |
| + virtual void getVRDevices(WebVector<blink::WebVRDevice>* devices) { }; |
| + |
| + virtual void getHMDSensorState(unsigned index, double timeOffset, blink::WebHMDSensorState& into) { } |
| + |
| + virtual void resetVRSensor(unsigned index) { } |
| + |
| + virtual void getVRRenderTargetSize(unsigned index, |
| + blink::WebVRFieldOfView leftFov, |
| + blink::WebVRFieldOfView rightFov, |
| + blink::WebSize* size) { }; |
| + |
| // History ------------------------------------------------------------- |
| // Returns the hash for the given canonicalized URL for use in visited |