| 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 int type; | 17 int type; |
| 18 } GestureAngularMove; | 18 } GestureAngularMove; |
| 19 | 19 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 45 GestureButtonsChange buttons; | 45 GestureButtonsChange buttons; |
| 46 GestureAngularMove move; | 46 GestureAngularMove move; |
| 47 } details; | 47 } details; |
| 48 gvr::Vec2f velocity; | 48 gvr::Vec2f velocity; |
| 49 gvr::Vec2f displacement; | 49 gvr::Vec2f displacement; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace vr_shell | 52 } // namespace vr_shell |
| 53 | 53 |
| 54 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GESTURE_H_ | 54 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GESTURE_H_ |
| OLD | NEW |