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

Unified Diff: ui/events/event_processor.h

Issue 533323004: Remove RootView::DispatchGestureEvent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test added, member name changed Created 6 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 | ui/events/event_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_processor.h
diff --git a/ui/events/event_processor.h b/ui/events/event_processor.h
index 4ce1ef0522e7ad3965f700d55d7c090bb4e4678a..b4e8f986e6e8adf6bef017a638895a6e823d1733 100644
--- a/ui/events/event_processor.h
+++ b/ui/events/event_processor.h
@@ -33,6 +33,12 @@ class EVENTS_EXPORT EventProcessor : public EventDispatcherDelegate {
// it can be used to updated the location of the event when disptaching from
// an EventSource in high-DPI).
virtual void PrepareEventForDispatch(Event* event);
+
+ // Invoked when the processing of |event| has finished (i.e., when no further
+ // dispatching of |event| will be performed by this EventProcessor). Note
+ // that the last target to which |event| was dispatched may have been
+ // destroyed.
+ virtual void OnEventProcessingFinished(Event* event);
};
} // namespace ui
« no previous file with comments | « no previous file | ui/events/event_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698