[go: nahoru, domu]

chromeos: wires up pointer event observers for ws2

When a client is notified of events it's told if the event matches a
pointer observer. If the event does match a pointer observer, a single
event is sent to the client. This implies I need a post event
processing hook to determine if the client was notified already and
not send if appropriate. This is why I added
WindowEventDispatcherObserver as a way to deal with this. I'll be more
obvious in a following patch.

BUG=837692
TEST=covered by test

Change-Id: Ifb3e332466b3e6a6ee09c625020d6dbf9ed1a54e
Reviewed-on: https://chromium-review.googlesource.com/1054413
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: Michael Wasserman <msw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557797}
diff --git a/ui/aura/BUILD.gn b/ui/aura/BUILD.gn
index e6aa8fcb..0a6f3bf7 100644
--- a/ui/aura/BUILD.gn
+++ b/ui/aura/BUILD.gn
@@ -74,6 +74,7 @@
     "window.h",
     "window_delegate.h",
     "window_event_dispatcher.h",
+    "window_event_dispatcher_observer.h",
     "window_observer.h",
     "window_occlusion_tracker.h",
     "window_port.h",