| 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..e89b20e49ac6247582b8b618d10290ab4face02f 100644
|
| --- a/ui/events/platform/platform_event_source.cc
|
| +++ b/ui/events/platform/platform_event_source.cc
|
| @@ -63,7 +63,7 @@ void PlatformEventSource::RemovePlatformEventObserver(
|
| }
|
|
|
| uint32_t PlatformEventSource::DispatchEvent(PlatformEvent platform_event) {
|
| - uint32_t action = POST_DISPATCH_PERFORM_DEFAULT;
|
| + uint32_t action = kPostDispatchPerformDefault;
|
|
|
| FOR_EACH_OBSERVER(PlatformEventObserver, observers_,
|
| WillProcessEvent(platform_event));
|
| @@ -71,13 +71,13 @@ uint32_t PlatformEventSource::DispatchEvent(PlatformEvent platform_event) {
|
| if (overridden_dispatcher_)
|
| action = overridden_dispatcher_->DispatchEvent(platform_event);
|
|
|
| - if ((action & POST_DISPATCH_PERFORM_DEFAULT) &&
|
| + if ((action & kPostDispatchPerformDefault) &&
|
| dispatchers_.might_have_observers()) {
|
| ObserverList<PlatformEventDispatcher>::Iterator iter(dispatchers_);
|
| while (PlatformEventDispatcher* dispatcher = iter.GetNext()) {
|
| if (dispatcher->CanDispatchEvent(platform_event))
|
| action = dispatcher->DispatchEvent(platform_event);
|
| - if (action & POST_DISPATCH_STOP_PROPAGATION)
|
| + if (action & kPostDispatchStopPropagation)
|
| break;
|
| }
|
| }
|
|
|