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

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

Issue 1808203005: [OnionSoup] Moving VR service from content to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT! 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 ef0bff9d04f5ab20519ff80eec77180d2b9f0b60..ccbc2f8d78427f2088bf99201ca90bb6cca0aaff 100644
--- a/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h
+++ b/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h
@@ -6,14 +6,17 @@
#define VRGetDevicesCallback_h
#include "platform/heap/Handle.h"
-#include "public/platform/modules/vr/WebVRClient.h"
+#include "public/platform/WebCallbacks.h"
+#include "public/platform/WebVector.h"
+#include "public/platform/modules/vr/WebVR.h"
namespace blink {
class VRHardwareUnitCollection;
class ScriptPromiseResolver;
-class WebVRClient;
+// Success and failure callbacks for getDevices.
+using WebVRGetDevicesCallback = WebCallbacks<const WebVector<WebVRDevice>&, void>;
class VRGetDevicesCallback final : public WebVRGetDevicesCallback {
USING_FAST_MALLOC(VRGetDevicesCallback);
public:
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRController.cpp ('k') | third_party/WebKit/Source/modules/vr/VRTypeConverters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698