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

Unified Diff: components/mus/ws/event_dispatcher_delegate.h

Issue 1883263002: mash: Repost mouse pressed event when closing Ash system tray (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 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
« no previous file with comments | « components/mus/ws/event_dispatcher.cc ('k') | components/mus/ws/test_change_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/event_dispatcher_delegate.h
diff --git a/components/mus/ws/event_dispatcher_delegate.h b/components/mus/ws/event_dispatcher_delegate.h
index a762df51a8ff2c25e20a7d1ae72f21b0eb390f6d..fb19af7cc599b7dde217b5b679341f6ff0baa02d 100644
--- a/components/mus/ws/event_dispatcher_delegate.h
+++ b/components/mus/ws/event_dispatcher_delegate.h
@@ -36,9 +36,11 @@ class EventDispatcherDelegate {
virtual void OnServerWindowCaptureLost(ServerWindow* window) = 0;
// |in_nonclient_area| is true if the event occurred in the non-client area.
+ // For pointer events the event has a location in the coordinates of the
+ // target window.
virtual void DispatchInputEventToWindow(ServerWindow* target,
bool in_nonclient_area,
- const ui::Event& event,
+ const ui::Event& transformed_event,
Accelerator* accelerator) = 0;
protected:
« no previous file with comments | « components/mus/ws/event_dispatcher.cc ('k') | components/mus/ws/test_change_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698