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

Unified Diff: content/browser/vr/vr_device_manager.h

Issue 1321383002: Revert of Android WebVR implementation, Cardboard 0.5.5 SDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: content/browser/vr/vr_device_manager.h
diff --git a/content/browser/vr/vr_device_manager.h b/content/browser/vr/vr_device_manager.h
index 58789f767be8ffca376e78b2fb3c6a62ae0ad4bf..6c8dc9646a8d882c1b656ef1aa2b8d94aaa2005a 100644
--- a/content/browser/vr/vr_device_manager.h
+++ b/content/browser/vr/vr_device_manager.h
@@ -20,7 +20,7 @@
namespace content {
-class VRDeviceManager : public VRService {
+class VRDeviceManager : public VRService, public mojo::ErrorHandler {
public:
~VRDeviceManager() override;
@@ -51,8 +51,8 @@
const GetSensorStateCallback& callback) override;
void ResetSensor(uint32_t index) override;
- // Mojo connection error handler.
- void OnConnectionError();
+ // mojo::ErrorHandler implementation
+ void OnConnectionError() override;
using ProviderList = std::vector<linked_ptr<VRDeviceProvider>>;
ProviderList providers_;
« no previous file with comments | « content/browser/vr/android/cardboard/cardboard_vr_device_provider.cc ('k') | content/browser/vr/vr_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698