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

Side by Side Diff: device/vr/android/gvr/gvr_device_provider.h

Issue 2396663002: Reland gvr upgrade (Closed)
Patch Set: Created 4 years, 2 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_PROVIDER_H 5 #ifndef DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H
6 #define DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H 6 #define DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 26 matching lines...) Expand all
37 void OnGvrDelegateRemoved(); 37 void OnGvrDelegateRemoved();
38 38
39 void SetClient(VRClientDispatcher* client) override; 39 void SetClient(VRClientDispatcher* client) override;
40 40
41 private: 41 private:
42 void GvrDelegateReady(GvrDelegate* delegate); 42 void GvrDelegateReady(GvrDelegate* delegate);
43 void GvrDelegateRemoved(); 43 void GvrDelegateRemoved();
44 44
45 std::unique_ptr<VRClientDispatcher> client_; 45 std::unique_ptr<VRClientDispatcher> client_;
46 std::unique_ptr<GvrDevice> vr_device_; 46 std::unique_ptr<GvrDevice> vr_device_;
47 std::unique_ptr<GvrNonPresentingDelegate> non_presenting_delegate_;
48 47
49 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; 48 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
50 49
51 DISALLOW_COPY_AND_ASSIGN(GvrDeviceProvider); 50 DISALLOW_COPY_AND_ASSIGN(GvrDeviceProvider);
52 }; 51 };
53 52
54 } // namespace device 53 } // namespace device
55 54
56 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H 55 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698