| Index: third_party/WebKit/Source/core/events/EventDispatchResult.h
|
| diff --git a/third_party/WebKit/Source/core/events/EventDispatchResult.h b/third_party/WebKit/Source/core/events/EventDispatchResult.h
|
| index be535ed9b123155beec92f948ff724356c7509b0..a9059ed891af1c3a485b3174b4379d035a107b1c 100644
|
| --- a/third_party/WebKit/Source/core/events/EventDispatchResult.h
|
| +++ b/third_party/WebKit/Source/core/events/EventDispatchResult.h
|
| @@ -10,17 +10,19 @@ namespace blink {
|
| enum class DispatchEventResult {
|
| // Event was not canceled by event handler or default event handler.
|
| NotCanceled,
|
| - // Event was canceled by event handler; i.e. a script handler calling preventDefault.
|
| + // Event was canceled by event handler; i.e. a script handler calling
|
| + // preventDefault.
|
| CanceledByEventHandler,
|
| - // Event was canceled by the default event handler; i.e. executing the default action.
|
| - // This result should be used sparingly as it deviates from the DOM Event Dispatch
|
| - // model. Default event handlers really shouldn't be invoked inside of dispatch.
|
| + // Event was canceled by the default event handler; i.e. executing the default
|
| + // action. This result should be used sparingly as it deviates from the DOM
|
| + // Event Dispatch model. Default event handlers really shouldn't be invoked
|
| + // inside of dispatch.
|
| CanceledByDefaultEventHandler,
|
| - // Event was canceled but suppressed before dispatched to event handler.
|
| - // This result should be used sparingly; and its usage likely indicates
|
| - // there is potential for a bug. Trusted events may return this code; but untrusted
|
| - // events likely should always execute the event handler the developer intends to
|
| - // execute.
|
| + // Event was canceled but suppressed before dispatched to event handler. This
|
| + // result should be used sparingly; and its usage likely indicates there is
|
| + // potential for a bug. Trusted events may return this code; but untrusted
|
| + // events likely should always execute the event handler the developer intends
|
| + // to execute.
|
| CanceledBeforeDispatch,
|
| };
|
|
|
|
|