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

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

Issue 1001833005: Update from https://crrev.com/320343 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Supress Created 5 years, 9 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 | « tools/valgrind/memcheck/suppressions_mac.txt ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/platform/platform_event_source.cc
diff --git a/ui/events/platform/platform_event_source.cc b/ui/events/platform/platform_event_source.cc
index 9607ab78232e971d8b4b099829f5395b47722694..bf957f07476f590f917e017280e3a0b8cfcd4880 100644
--- a/ui/events/platform/platform_event_source.cc
+++ b/ui/events/platform/platform_event_source.cc
@@ -51,6 +51,9 @@ scoped_ptr<ScopedEventDispatcher> PlatformEventSource::OverrideDispatcher(
new ScopedEventDispatcher(&overridden_dispatcher_, dispatcher));
}
+void PlatformEventSource::StopCurrentEventStream() {
+}
+
void PlatformEventSource::AddPlatformEventObserver(
PlatformEventObserver* observer) {
CHECK(observer);
@@ -73,7 +76,7 @@ uint32_t PlatformEventSource::DispatchEvent(PlatformEvent platform_event) {
if ((action & POST_DISPATCH_PERFORM_DEFAULT) &&
dispatchers_.might_have_observers()) {
- ObserverList<PlatformEventDispatcher>::Iterator iter(dispatchers_);
+ ObserverList<PlatformEventDispatcher>::Iterator iter(&dispatchers_);
while (PlatformEventDispatcher* dispatcher = iter.GetNext()) {
if (dispatcher->CanDispatchEvent(platform_event))
action = dispatcher->DispatchEvent(platform_event);
@@ -97,9 +100,6 @@ uint32_t PlatformEventSource::DispatchEvent(PlatformEvent platform_event) {
return action;
}
-void PlatformEventSource::StopCurrentEventStream() {
-}
-
void PlatformEventSource::OnDispatcherListChanged() {
}
« no previous file with comments | « tools/valgrind/memcheck/suppressions_mac.txt ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698