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

Unified Diff: content/browser/vr/android/cardboard/cardboard_vr_device.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: And we're back to removing all the array size checks 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
« no previous file with comments | « no previous file | content/browser/vr/android/cardboard/cardboard_vr_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/vr/android/cardboard/cardboard_vr_device.h
diff --git a/content/browser/vr/android/cardboard/cardboard_vr_device.h b/content/browser/vr/android/cardboard/cardboard_vr_device.h
index 621754204710ee163825fbea9f2c0525bbe64061..1f88c6636fa289019498da2cb026c8bd3625bd17 100644
--- a/content/browser/vr/android/cardboard/cardboard_vr_device.h
+++ b/content/browser/vr/android/cardboard/cardboard_vr_device.h
@@ -20,16 +20,14 @@ class CardboardVRDevice : public VRDevice {
explicit CardboardVRDevice(VRDeviceProvider* provider);
~CardboardVRDevice() override;
- blink::mojom::VRDeviceInfoPtr GetVRDevice() override;
- blink::mojom::VRSensorStatePtr GetSensorState() override;
- void ResetSensor() override;
+ blink::mojom::VRDisplayPtr GetVRDevice() override;
+ blink::mojom::VRPosePtr GetPose() override;
+ void ResetPose() override;
private:
base::android::ScopedJavaGlobalRef<jobject> j_cardboard_device_;
base::android::ScopedJavaGlobalRef<jfloatArray> j_head_matrix_;
- unsigned int frame_index_;
-
DISALLOW_COPY_AND_ASSIGN(CardboardVRDevice);
};
« no previous file with comments | « no previous file | content/browser/vr/android/cardboard/cardboard_vr_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698