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

Unified Diff: remoting/client/plugin/pepper_input_handler.h

Issue 7453003: Change Chromoting client to use Pepper's new Resource-base InputEvents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 9 years, 5 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: remoting/client/plugin/pepper_input_handler.h
diff --git a/remoting/client/plugin/pepper_input_handler.h b/remoting/client/plugin/pepper_input_handler.h
index b99dd32715b76ee8a000d4467f9a4932b3f0faca..83665dea4728eea1ad20b36f18ca4f016e693984 100644
--- a/remoting/client/plugin/pepper_input_handler.h
+++ b/remoting/client/plugin/pepper_input_handler.h
@@ -7,9 +7,11 @@
#include "remoting/client/input_handler.h"
-struct PP_InputEvent_Character;
-struct PP_InputEvent_Key;
-struct PP_InputEvent_Mouse;
+namespace pp {
+class KeyboardInputEvent;
+class MouseInputEvent;
+class WheelInputEvent;
+}
namespace remoting {
@@ -22,12 +24,12 @@ class PepperInputHandler : public InputHandler {
virtual void Initialize();
- void HandleKeyEvent(bool keydown, const PP_InputEvent_Key& event);
- void HandleCharacterEvent(const PP_InputEvent_Character& event);
+ void HandleKeyEvent(bool keydown, const pp::KeyboardInputEvent& event);
+ void HandleCharacterEvent(const pp::KeyboardInputEvent& event);
- void HandleMouseMoveEvent(const PP_InputEvent_Mouse& event);
+ void HandleMouseMoveEvent(const pp::MouseInputEvent& event);
void HandleMouseButtonEvent(bool button_down,
- const PP_InputEvent_Mouse& event);
+ const pp::MouseInputEvent& event);
private:
DISALLOW_COPY_AND_ASSIGN(PepperInputHandler);

Powered by Google App Engine
This is Rietveld 408576698