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 CHROME_BROWSER_ANDROID_VR_SHELL_VR_GESTURE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_GESTURE_H_ |
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_GESTURE_H_ | 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_GESTURE_H_ |
7 | 7 |
8 #include "third_party/WebKit/public/web/WebInputEvent.h" | 8 #include "third_party/WebKit/public/web/WebInputEvent.h" |
9 #include "third_party/gvr-android-sdk/src/ndk-beta/include/vr/gvr/capi/include/g
vr_types.h" | 9 #include "third_party/gvr-android-sdk/src/ndk/include/vr/gvr/capi/include/gvr_ty
pes.h" |
10 | 10 |
11 using blink::WebInputEvent; | 11 using blink::WebInputEvent; |
12 | 12 |
13 namespace vr_shell { | 13 namespace vr_shell { |
14 | 14 |
15 typedef struct { | 15 typedef struct { |
16 gvr_vec3f delta; | 16 gvr_vec3f delta; |
17 } GestureAngularMove; | 17 } GestureAngularMove; |
18 | 18 |
19 typedef struct { | 19 typedef struct { |
(...skipping 24 matching lines...) Expand all Loading... |
44 GestureButtonsChange buttons; | 44 GestureButtonsChange buttons; |
45 GestureAngularMove move; | 45 GestureAngularMove move; |
46 } details; | 46 } details; |
47 gvr::Vec2f velocity; | 47 gvr::Vec2f velocity; |
48 gvr::Vec2f displacement; | 48 gvr::Vec2f displacement; |
49 }; | 49 }; |
50 | 50 |
51 } // namespace vr_shell | 51 } // namespace vr_shell |
52 | 52 |
53 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GESTURE_H_ | 53 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GESTURE_H_ |
OLD | NEW |