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

Unified Diff: device/vr/android/gvr/gvr_device_provider.h

Issue 2739973002: Revert of WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: Created 3 years, 9 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 | « device/vr/android/gvr/gvr_device.cc ('k') | device/vr/android/gvr/gvr_device_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/android/gvr/gvr_device_provider.h
diff --git a/device/vr/android/gvr/gvr_device_provider.h b/device/vr/android/gvr/gvr_device_provider.h
index d215e603b89730283de7f327e089ddcef9d5996d..5793021566859838b80056bb5871fdc0cc82756f 100644
--- a/device/vr/android/gvr/gvr_device_provider.h
+++ b/device/vr/android/gvr/gvr_device_provider.h
@@ -11,11 +11,9 @@
#include "base/macros.h"
#include "device/vr/vr_device_provider.h"
#include "device/vr/vr_export.h"
-#include "device/vr/vr_service.mojom.h"
namespace device {
-class GvrDelegateProvider;
class GvrDevice;
class DEVICE_VR_EXPORT GvrDeviceProvider : public VRDeviceProvider {
@@ -29,17 +27,14 @@
void SetListeningForActivate(bool listening) override;
// Called from GvrDevice.
- void RequestPresent(mojom::VRSubmitFrameClientPtr submit_client,
- const base::Callback<void(bool)>& callback);
+ void RequestPresent(const base::Callback<void(bool)>& callback);
void ExitPresent();
-
- device::GvrDelegateProvider* GetDelegateProvider();
GvrDevice* Device() { return vr_device_.get(); }
private:
- void Initialize(device::GvrDelegateProvider* provider);
std::unique_ptr<GvrDevice> vr_device_;
+ bool initialized_ = false;
DISALLOW_COPY_AND_ASSIGN(GvrDeviceProvider);
};
« no previous file with comments | « device/vr/android/gvr/gvr_device.cc ('k') | device/vr/android/gvr/gvr_device_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698