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

Unified Diff: ui/events/platform/platform_event_source.h

Issue 274383002: events: Remove ability to terminate a nested message-loop from the event-source. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 7 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/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();

Powered by Google App Engine
This is Rietveld 408576698