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

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

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 6 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 | « ui/events/latency_info.cc ('k') | ui/events/platform/platform_event_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 87b553197a3b2646d3c6eb035a640c6ae96a6385..d65c89179c14b009a5a38d962cc0ff2fb94c2534 100644
--- a/ui/events/platform/platform_event_source.h
+++ b/ui/events/platform/platform_event_source.h
@@ -81,10 +81,11 @@ class EVENTS_EXPORT PlatformEventSource {
void OnOverriddenDispatcherRestored();
- // Use an ObserverList<> instead of an std::vector<> to store the list of
+ // Use a base::ObserverList<> instead of an std::vector<> to store the list of
// dispatchers, so that adding/removing dispatchers during an event dispatch
// is well-defined.
- typedef ObserverList<PlatformEventDispatcher> PlatformEventDispatcherList;
+ typedef base::ObserverList<PlatformEventDispatcher>
+ PlatformEventDispatcherList;
PlatformEventDispatcherList dispatchers_;
PlatformEventDispatcher* overridden_dispatcher_;
@@ -92,7 +93,7 @@ class EVENTS_EXPORT PlatformEventSource {
// reset and a previous override-dispatcher has been restored.
bool overridden_dispatcher_restored_;
- ObserverList<PlatformEventObserver> observers_;
+ base::ObserverList<PlatformEventObserver> observers_;
DISALLOW_COPY_AND_ASSIGN(PlatformEventSource);
};
« no previous file with comments | « ui/events/latency_info.cc ('k') | ui/events/platform/platform_event_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698