| Index: chrome/browser/android/vr_shell/vr_controller.h
|
| diff --git a/chrome/browser/android/vr_shell/vr_controller.h b/chrome/browser/android/vr_shell/vr_controller.h
|
| index de6d03b7b2395a5959520ae5941c2d272412c776..8bcc6c18a63af32f653f1f10c4379294a97c4ca9 100644
|
| --- a/chrome/browser/android/vr_shell/vr_controller.h
|
| +++ b/chrome/browser/android/vr_shell/vr_controller.h
|
| @@ -9,6 +9,7 @@
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| +#include "base/time/time.h"
|
| #include "chrome/browser/android/vr_shell/vr_controller_model.h"
|
| #include "device/vr/android/gvr/gvr_gamepad_data_provider.h"
|
| #include "third_party/gvr-android-sdk/src/libraries/headers/vr/gvr/capi/include/gvr_types.h"
|
| @@ -80,6 +81,10 @@ class VrController {
|
|
|
| bool IsConnected();
|
|
|
| + base::TimeTicks GetLastOrientationTimestamp() const;
|
| + base::TimeTicks GetLastTouchTimestamp() const;
|
| + base::TimeTicks GetLastButtonTimestamp() const;
|
| +
|
| private:
|
| enum GestureDetectorState {
|
| WAITING, // waiting for user to touch down
|
|
|