Index: ui/events/platform/platform_event_source.h |
diff --git a/ui/events/platform/platform_event_source.h b/ui/events/platform/platform_event_source.h |
index 4905efb2cfcff5c1f2a086b940ec44bf4b9f7156..87b553197a3b2646d3c6eb035a640c6ae96a6385 100644 |
--- a/ui/events/platform/platform_event_source.h |
+++ b/ui/events/platform/platform_event_source.h |
@@ -70,6 +70,11 @@ class EVENTS_EXPORT PlatformEventSource { |
friend class ScopedEventDispatcher; |
static PlatformEventSource* instance_; |
+ // Called to indicate that the source should stop dispatching the current |
+ // stream of events and wait until the next iteration of the message-loop to |
+ // dispatch the rest of the events. |
+ virtual void StopCurrentEventStream(); |
+ |
// This is invoked when the list of dispatchers changes (i.e. a new dispatcher |
// is added, or a dispatcher is removed). |
virtual void OnDispatcherListChanged(); |