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

Unified Diff: views/widget/widget.h

Issue 7930014: views: Make mouse state member variables private to Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget.h
diff --git a/views/widget/widget.h b/views/widget/widget.h
index 352a58b5536b2ff2be2be4972217a634bc9554d2..3a19cc3bf71aaa0cf2a7444fb672252d6408a015 100644
--- a/views/widget/widget.h
+++ b/views/widget/widget.h
@@ -625,7 +625,6 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// deliver them. Displaying a window may result in the system generating
// duplicate move events even though the mouse hasn't moved.
bool last_mouse_event_was_move_;
- gfx::Point last_mouse_event_position_;
private:
friend class NativeTextfieldViewsTest;
@@ -731,6 +730,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Tracks whether native widget has been initialized.
bool native_widget_initialized_;
+ gfx::Point last_mouse_event_position_;
+
DISALLOW_COPY_AND_ASSIGN(Widget);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698