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

Unified Diff: ui/aura/window_event_dispatcher.h

Issue 2779093004: Update event states in Env when target window has been destroyed. (Closed)
Patch Set: window null Created 3 years, 8 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/aura/window_event_dispatcher.h
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
index de5753c1232caa48193f9675acd7fff44871b46f..7d6a8dbdfe871361103f20a1d97fa848452100c6 100644
--- a/ui/aura/window_event_dispatcher.h
+++ b/ui/aura/window_event_dispatcher.h
@@ -59,6 +59,8 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
explicit WindowEventDispatcher(WindowTreeHost* host);
~WindowEventDispatcher() override;
+ EnvInputStateController* env_controller() { return env_controller_.get(); }
+
Window* mouse_pressed_handler() { return mouse_pressed_handler_; }
Window* mouse_moved_handler() { return mouse_moved_handler_; }
« ui/aura/mus/window_tree_client.cc ('K') | « ui/aura/mus/window_tree_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698