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

Unified Diff: ui/views/widget/widget.h

Issue 560053002: Do not interchange MOUSE_MOVED and MOUSE_DRAGGED events in Widget (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 6 years, 3 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: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 96ab8b2ebff3aa936a9d74fc24f64a9d6e31e8b3..e785d7b1bcf73e749e582a51c801432c8bd61593 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -920,17 +920,13 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Whether native widget has been destroyed.
bool native_widget_destroyed_;
- // TODO(beng): Remove NativeWidgetGtk's dependence on these:
- // If true, the mouse is currently down.
- bool is_mouse_button_pressed_;
-
// True if capture losses should be ignored.
bool ignore_capture_loss_;
- // TODO(beng): Remove NativeWidgetGtk's dependence on these:
// The following are used to detect duplicate mouse move events and not
// deliver them. Displaying a window may result in the system generating
// duplicate move events even though the mouse hasn't moved.
+ // TODO(tdanderson): We may be able to remove these members.
bool last_mouse_event_was_move_;
gfx::Point last_mouse_event_position_;

Powered by Google App Engine
This is Rietveld 408576698