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

Unified Diff: device/vr/vr_device_manager.h

Issue 2317483002: Add support of vrdisplayconnect and vrdisplaydisconnect event (Closed)
Patch Set: Address most comments from bajones@ 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_device_manager.h
diff --git a/device/vr/vr_device_manager.h b/device/vr/vr_device_manager.h
index 15e6bc4ae25e6b1fc14fadc94607fe0e35b6735c..096aa0b29d4d29ab02d1590838f9960d4abfa8f7 100644
--- a/device/vr/vr_device_manager.h
+++ b/device/vr/vr_device_manager.h
@@ -41,6 +41,8 @@ class VRDeviceManager : public VRClientDispatcher {
DEVICE_VR_EXPORT VRDevice* GetDevice(unsigned int index);
void OnDeviceChanged(VRDisplayPtr device) override;
+ void OnDeviceConnectionStatusChanged(VRDevice* device,
+ bool isConnected) override;
mthiesse 2016/09/10 20:58:34 s/isConnected/is_connected here and in .cc
private:
friend class VRDeviceManagerTest;

Powered by Google App Engine
This is Rietveld 408576698