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

Side by Side Diff: device/vr/android/gvr/gvr_device.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_VR_ANDROID_GVR_DEVICE_H 5 #ifndef DEVICE_VR_ANDROID_GVR_DEVICE_H
6 #define DEVICE_VR_ANDROID_GVR_DEVICE_H 6 #define DEVICE_VR_ANDROID_GVR_DEVICE_H
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "device/vr/vr_device.h" 9 #include "device/vr/vr_device.h"
10 10
(...skipping 10 matching lines...) Expand all
21 VRDisplayPtr GetVRDevice() override; 21 VRDisplayPtr GetVRDevice() override;
22 VRPosePtr GetPose() override; 22 VRPosePtr GetPose() override;
23 void ResetPose() override; 23 void ResetPose() override;
24 24
25 void RequestPresent() override; 25 void RequestPresent() override;
26 void ExitPresent() override; 26 void ExitPresent() override;
27 27
28 void SubmitFrame() override; 28 void SubmitFrame() override;
29 void UpdateLayerBounds(VRLayerBoundsPtr leftBounds, 29 void UpdateLayerBounds(VRLayerBoundsPtr leftBounds,
30 VRLayerBoundsPtr rightBounds) override; 30 VRLayerBoundsPtr rightBounds) override;
31 virtual void PollEvents() override;
31 32
32 private: 33 private:
33 GvrDelegate* delegate_; 34 GvrDelegate* delegate_;
34 35
36 bool isConnected_;
37 bool isConnectionStatusChanged_;
bajones 2016/09/12 01:36:15 These values are no longer used and the PollEvents
shaobo.yan 2016/09/12 01:59:01 Done.
38
35 DISALLOW_COPY_AND_ASSIGN(GvrDevice); 39 DISALLOW_COPY_AND_ASSIGN(GvrDevice);
36 }; 40 };
37 41
38 } // namespace device 42 } // namespace device
39 43
40 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_H 44 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_H
OLDNEW
« no previous file with comments | « no previous file | device/vr/android/gvr/gvr_device.cc » ('j') | device/vr/android/gvr/gvr_device_provider.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698