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

Unified Diff: device/vr/vr_client_dispatcher.h

Issue 2317483002: Add support of vrdisplayconnect and vrdisplaydisconnect event (Closed)
Patch Set: Clean some style issue according to mthiesse@ Created 4 years, 3 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: device/vr/vr_client_dispatcher.h
diff --git a/device/vr/vr_client_dispatcher.h b/device/vr/vr_client_dispatcher.h
index 7be327708daa54058e2b5a21dccd4762a5fc443c..692769a5124079a50a08ce9f873da5c876fd1169 100644
--- a/device/vr/vr_client_dispatcher.h
+++ b/device/vr/vr_client_dispatcher.h
@@ -9,9 +9,13 @@
namespace device {
+class VRDevice;
+
class VRClientDispatcher {
public:
virtual void OnDeviceChanged(VRDisplayPtr device) = 0;
+ virtual void OnDeviceConnectionStatusChanged(VRDevice* device,
+ bool is_connected) = 0;
};
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698