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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.h

Issue 11299339: Fix unwanted mouse move on pointer unlock. (GTK) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | content/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_gtk.h
diff --git a/content/browser/renderer_host/render_widget_host_view_gtk.h b/content/browser/renderer_host/render_widget_host_view_gtk.h
index b29a5c7c81cb902deee77d301c030210c9b7b880..4b5acf0f98ff0855000c60da645e88014b31ba5f 100644
--- a/content/browser/renderer_host/render_widget_host_view_gtk.h
+++ b/content/browser/renderer_host/render_widget_host_view_gtk.h
@@ -272,6 +272,9 @@ class CONTENT_EXPORT RenderWidgetHostViewGtk
gfx::Point global_mouse_position_;
// Indicates when mouse motion is valid after the widget has moved.
bool mouse_has_been_warped_to_new_center_;
+ // Indicates the cursor has been warped to the unlocked position,
+ // but a move event has not yet been received for it there.
+ bool mouse_is_being_warped_to_unlocked_position_;
// For full-screen windows we have a OnDestroy handler that we need to remove,
// so we keep it ID here.
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698