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

Side by Side Diff: device/vr/vr_client_dispatcher.h

Issue 2317483002: Add support of vrdisplayconnect and vrdisplaydisconnect event (Closed)
Patch Set: fix missing brace 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
« no previous file with comments | « device/vr/android/gvr/gvr_device_provider.cc ('k') | device/vr/vr_device_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_VR_CLIENT_DISPATCHER_H 5 #ifndef DEVICE_VR_VR_CLIENT_DISPATCHER_H
6 #define DEVICE_VR_VR_CLIENT_DISPATCHER_H 6 #define DEVICE_VR_VR_CLIENT_DISPATCHER_H
7 7
8 #include "device/vr/vr_service.mojom.h" 8 #include "device/vr/vr_service.mojom.h"
9 9
10 namespace device { 10 namespace device {
11 11
12 class VRDevice;
13
12 class VRClientDispatcher { 14 class VRClientDispatcher {
13 public: 15 public:
14 virtual void OnDeviceChanged(VRDisplayPtr device) = 0; 16 virtual void OnDeviceChanged(VRDisplayPtr device) = 0;
17 virtual void OnDeviceConnectionStatusChanged(VRDevice* device,
18 bool is_connected) = 0;
15 }; 19 };
16 20
17 } // namespace device 21 } // namespace device
18 22
19 #endif // DEVICE_VR_VR_CLIENT_DISPATCHER_H 23 #endif // DEVICE_VR_VR_CLIENT_DISPATCHER_H
OLDNEW
« no previous file with comments | « device/vr/android/gvr/gvr_device_provider.cc ('k') | device/vr/vr_device_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698