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

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: tweaks 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
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/pepper_input_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5a19f88bdf29da279b8516bc4025a18ffbbb9f03..7c1c0a908fd7035f1374f0ca0e1d3282d14ad39c 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 pp {
class KeyboardInputEvent;
@@ -18,11 +20,13 @@ class MouseInputEvent;
namespace remoting {
+class PepperViewProxy;
+
class PepperInputHandler : public InputHandler {
public:
PepperInputHandler(ClientContext* context,
protocol::ConnectionToHost* connection,
- ChromotingView* view);
+ PepperViewProxy* view);
virtual ~PepperInputHandler();
virtual void Initialize();
@@ -35,6 +39,8 @@ class PepperInputHandler : public InputHandler {
const pp::MouseInputEvent& event);
private:
+ PepperViewProxy* pepper_view_;
+
DISALLOW_COPY_AND_ASSIGN(PepperInputHandler);
};
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/pepper_input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698