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

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

Issue 1918143007: Updated Blink WebVR interfaces to WebVR v1 spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webvr_mojo
Patch Set: Fixed layout 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/VRGetDevicesCallback.h
diff --git a/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h b/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h
index ccbc2f8d78427f2088bf99201ca90bb6cca0aaff..486aafa353c38310f96a0b5133ce3e6acbf4604c 100644
--- a/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h
+++ b/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h
@@ -12,7 +12,7 @@
namespace blink {
-class VRHardwareUnitCollection;
+class VRDisplayCollection;
class ScriptPromiseResolver;
// Success and failure callbacks for getDevices.
@@ -20,7 +20,7 @@ using WebVRGetDevicesCallback = WebCallbacks<const WebVector<WebVRDevice>&, void
class VRGetDevicesCallback final : public WebVRGetDevicesCallback {
USING_FAST_MALLOC(VRGetDevicesCallback);
public:
- VRGetDevicesCallback(ScriptPromiseResolver*, VRHardwareUnitCollection*);
+ VRGetDevicesCallback(ScriptPromiseResolver*, VRDisplayCollection*);
~VRGetDevicesCallback() override;
void onSuccess(const WebVector<WebVRDevice>&) override;
@@ -28,7 +28,7 @@ public:
private:
Persistent<ScriptPromiseResolver> m_resolver;
- Persistent<VRHardwareUnitCollection> m_hardwareUnits;
+ Persistent<VRDisplayCollection> m_displays;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698