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

Unified Diff: third_party/WebKit/Source/core/events/EventDispatchResult.h

Issue 2394653003: reflow comments in core/events,core/fileapi (Closed)
Patch Set: Created 4 years, 2 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: 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,
};
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.cpp ('k') | third_party/WebKit/Source/core/events/EventDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698