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

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

Issue 1143943002: Filter spurious mouse move events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer feedback. Created 5 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 | « no previous file | remoting/client/plugin/normalizing_input_filter_cros.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/normalizing_input_filter_cros.h
diff --git a/remoting/client/plugin/normalizing_input_filter_cros.h b/remoting/client/plugin/normalizing_input_filter_cros.h
index 68b88c3fcd15d7e861d801a52d23fe937e41bdc5..c239dfcd391806c63baeb0a8494413c48ecca949 100644
--- a/remoting/client/plugin/normalizing_input_filter_cros.h
+++ b/remoting/client/plugin/normalizing_input_filter_cros.h
@@ -51,6 +51,10 @@ class NormalizingInputFilterCros : public protocol::InputFilter {
// True if the left Alt key is pressed.
bool left_alt_is_pressed_;
+ // Previous mouse coordinates.
+ int previous_mouse_x_;
+ int previous_mouse_y_;
+
DISALLOW_COPY_AND_ASSIGN(NormalizingInputFilterCros);
};
« no previous file with comments | « no previous file | remoting/client/plugin/normalizing_input_filter_cros.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698