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

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

Issue 6697024: client-side wheel mouse support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: acculumate subticks Created 9 years, 2 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 7c1c0a908fd7035f1374f0ca0e1d3282d14ad39c..de87a4885c140032ba354b69118523f69628d1c9 100644
--- a/remoting/client/plugin/pepper_input_handler.h
+++ b/remoting/client/plugin/pepper_input_handler.h
@@ -13,11 +13,6 @@ class MouseInputEvent;
class WheelInputEvent;
}
-namespace pp {
-class KeyboardInputEvent;
-class MouseInputEvent;
-} // namespace pp
-
namespace remoting {
class PepperViewProxy;
@@ -37,10 +32,14 @@ class PepperInputHandler : public InputHandler {
void HandleMouseMoveEvent(const pp::MouseInputEvent& event);
void HandleMouseButtonEvent(bool button_down,
const pp::MouseInputEvent& event);
+ void HandleMouseWheelEvent(const pp::WheelInputEvent& event);
private:
PepperViewProxy* pepper_view_;
+ float wheel_ticks_x_;
Lambros 2011/10/14 21:00:25 You'll probably want these to be doubles, if you d
+ float wheel_ticks_y_;
+
DISALLOW_COPY_AND_ASSIGN(PepperInputHandler);
};

Powered by Google App Engine
This is Rietveld 408576698