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

Unified Diff: ui/aura/root_window.h

Issue 10545129: aura:Delay call to DispatchHeldMouseMove from RootWindow::ReleaseMouseMoves (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 8 years, 6 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 | ui/aura/root_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 141a109cf07000fffe726e6107c9d39bd82e549d..bf1918c6e1461dbab3cacf42a4c99586d1c4519d 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -388,6 +388,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// while the count is > 0.
int mouse_move_hold_count_;
scoped_ptr<MouseEvent> held_mouse_move_;
+ // Used to schedule DispatchHeldMouseMove() when |mouse_move_hold_count_| goes
+ // to 0.
+ base::WeakPtrFactory<RootWindow> held_mouse_event_factory_;
CompositorLock* compositor_lock_;
bool draw_on_compositor_unlock_;
« no previous file with comments | « no previous file | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698