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

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

Issue 7466002: Reland http://codereview.chromium.org/7452002/, update chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright 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 b99dd32715b76ee8a000d4467f9a4932b3f0faca..5a19f88bdf29da279b8516bc4025a18ffbbb9f03 100644
--- a/remoting/client/plugin/pepper_input_handler.h
+++ b/remoting/client/plugin/pepper_input_handler.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,6 +11,11 @@ struct PP_InputEvent_Character;
struct PP_InputEvent_Key;
struct PP_InputEvent_Mouse;
+namespace pp {
+class KeyboardInputEvent;
+class MouseInputEvent;
+} // namespace pp
+
namespace remoting {
class PepperInputHandler : public InputHandler {
@@ -22,12 +27,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);
« 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