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_INPUT_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_INPUT_MANAGER_H_ |
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_INPUT_MANAGER_H_ | 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_INPUT_MANAGER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "third_party/WebKit/public/web/WebInputEvent.h" | 9 #include "third_party/WebKit/public/platform/WebGestureEvent.h" |
| 10 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 class WebContents; | 13 class WebContents; |
13 } | 14 } |
14 | 15 |
15 namespace vr_shell { | 16 namespace vr_shell { |
16 | 17 |
17 class VrInputManager : public base::RefCountedThreadSafe<VrInputManager> { | 18 class VrInputManager : public base::RefCountedThreadSafe<VrInputManager> { |
18 public: | 19 public: |
19 explicit VrInputManager(content::WebContents* web_contents); | 20 explicit VrInputManager(content::WebContents* web_contents); |
(...skipping 17 matching lines...) Expand all Loading... |
37 // Device scale factor. | 38 // Device scale factor. |
38 float dpi_scale_; | 39 float dpi_scale_; |
39 content::WebContents* web_contents_; | 40 content::WebContents* web_contents_; |
40 | 41 |
41 DISALLOW_COPY_AND_ASSIGN(VrInputManager); | 42 DISALLOW_COPY_AND_ASSIGN(VrInputManager); |
42 }; | 43 }; |
43 | 44 |
44 } // namespace vr_shell | 45 } // namespace vr_shell |
45 | 46 |
46 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_INPUT_MANAGER_H_ | 47 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_INPUT_MANAGER_H_ |
OLD | NEW |