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

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

Issue 2317483002: Add support of vrdisplayconnect and vrdisplaydisconnect event (Closed)
Patch Set: Fix typo of Event reason 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
« no previous file with comments | « no previous file | device/vr/android/gvr/gvr_device.cc » ('j') | device/vr/android/gvr/gvr_device.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/android/gvr/gvr_device.h
diff --git a/device/vr/android/gvr/gvr_device.h b/device/vr/android/gvr/gvr_device.h
index 83745312834cb467eba2e295bf1afd7a9ebeedfc..4571ab16ead61219dcc5e085b109fbf07d146a56 100644
--- a/device/vr/android/gvr/gvr_device.h
+++ b/device/vr/android/gvr/gvr_device.h
@@ -24,9 +24,13 @@ class GvrDevice : public VRDevice {
VRPosePtr GetPose() override;
void ResetPose() override;
+ virtual void PollEvents() override;
+
private:
gvr::GvrApi* gvr_api_;
+ bool isConnected;
+
DISALLOW_COPY_AND_ASSIGN(GvrDevice);
};
« no previous file with comments | « no previous file | device/vr/android/gvr/gvr_device.cc » ('j') | device/vr/android/gvr/gvr_device.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698