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

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

Issue 16140022: Issue 245137: Mouse-move events not sent after clicking on drop-down toolbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 822c3cacd73800318bcb76721225b2ce6f25e20c..2983b07a73dfae3aa8a108628d209f40b969e10e 100644
--- a/remoting/client/plugin/pepper_input_handler.h
+++ b/remoting/client/plugin/pepper_input_handler.h
@@ -23,20 +23,11 @@ class PepperInputHandler {
explicit PepperInputHandler(protocol::InputStub* input_stub);
virtual ~PepperInputHandler();
- // Called by ChromotingInstance::DidChangeFocus when the instance
- // goes in or out of focus. Sets or clears the has_focus_ flag
- // which controls whether the client passes mouse and wheel
- // events to the remoting server.
- void OnFocusChanged(bool has_focus);
-
bool HandleInputEvent(const pp::InputEvent& event);
private:
protocol::InputStub* input_stub_;
- // Flag indicating whether the calling plugin has focus.
- bool has_focus_;
-
// Accumulated sub-pixel deltas from wheel events.
float wheel_delta_x_;
float wheel_delta_y_;
« 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