Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: chrome/browser/android/vr_shell/vr_input_manager.h

Issue 2661823002: NOT FOR REVIEW: A set of patches for Josh to work on top of. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/vr_shell/vr_input_manager.h
diff --git a/chrome/browser/android/vr_shell/vr_input_manager.h b/chrome/browser/android/vr_shell/vr_input_manager.h
index f80b3318915fca4ffa37eebd8bd675e6348d264f..198bed729b383ffc501b62d4812b637381a7a84a 100644
--- a/chrome/browser/android/vr_shell/vr_input_manager.h
+++ b/chrome/browser/android/vr_shell/vr_input_manager.h
@@ -10,6 +10,7 @@
#include "third_party/WebKit/public/platform/WebGestureEvent.h"
#include "third_party/WebKit/public/platform/WebInputEvent.h"
#include "third_party/WebKit/public/platform/WebMouseEvent.h"
+#include "content/public/browser/native_web_keyboard_event.h"
namespace content {
class WebContents;
@@ -25,11 +26,14 @@ class VrInputManager {
base::WeakPtr<VrInputManager> GetWeakPtr();
void ProcessUpdatedGesture(std::unique_ptr<blink::WebInputEvent> event);
+ void ProcessKeyboardEvent(int char_value, int modifiers);
private:
void SendGesture(const blink::WebGestureEvent& gesture);
void ForwardGestureEvent(const blink::WebGestureEvent& gesture);
void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event);
+ void ForwardKeyboardEvent(
+ const content::NativeWebKeyboardEvent& keyboard_event);
content::WebContents* web_contents_;
« no previous file with comments | « chrome/browser/android/vr_shell/ui_interface.cc ('k') | chrome/browser/android/vr_shell/vr_input_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698