| OLD | NEW |
| 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_DELEGATE_H | 5 #ifndef DEVICE_VR_ANDROID_GVR_DELEGATE_H |
| 6 #define DEVICE_VR_ANDROID_GVR_DELEGATE_H | 6 #define DEVICE_VR_ANDROID_GVR_DELEGATE_H |
| 7 | 7 |
| 8 #include "device/vr/android/gvr/gvr_device_provider.h" | 8 #include "device/vr/android/gvr/gvr_device_provider.h" |
| 9 #include "device/vr/vr_export.h" | 9 #include "device/vr/vr_export.h" |
| 10 #include "third_party/gvr-android-sdk/src/ndk/include/vr/gvr/capi/include/gvr_ty
pes.h" | 10 #include "third_party/gvr-android-sdk/src/libraries/headers/vr/gvr/capi/include/
gvr_types.h" |
| 11 | 11 |
| 12 namespace gvr { | 12 namespace gvr { |
| 13 class GvrApi; | 13 class GvrApi; |
| 14 } // namespace gvr | 14 } // namespace gvr |
| 15 | 15 |
| 16 namespace device { | 16 namespace device { |
| 17 | 17 |
| 18 constexpr gvr::Sizei kInvalidRenderTargetSize = {0, 0}; | 18 constexpr gvr::Sizei kInvalidRenderTargetSize = {0, 0}; |
| 19 | 19 |
| 20 class DEVICE_VR_EXPORT GvrDelegate { | 20 class DEVICE_VR_EXPORT GvrDelegate { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 44 virtual void DestroyNonPresentingDelegate() = 0; | 44 virtual void DestroyNonPresentingDelegate() = 0; |
| 45 virtual void SetListeningForActivate(bool listening) = 0; | 45 virtual void SetListeningForActivate(bool listening) = 0; |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 static GvrDelegateProvider* delegate_provider_; | 48 static GvrDelegateProvider* delegate_provider_; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace device | 51 } // namespace device |
| 52 | 52 |
| 53 #endif // DEVICE_VR_ANDROID_GVR_DELEGATE_H | 53 #endif // DEVICE_VR_ANDROID_GVR_DELEGATE_H |
| OLD | NEW |