|
Rework dispatchEvent so it is consistent for isTrusted support.
Make dispatchEvent a non-virtual method on EventTarget; make
the current dispatchEvent a protected method and rename it to
dispatchEventInternal.
The goal of this is that there are two main entry points to dispatching
events.
1) dispatchEventForBindings (from JS)
2) dispatchEvent() (from C++)
The trusted event code will take advantage of this to assign the
trusted value in these implementations; so this change will make more
sense in the context of that change.
This CL has no behavior changes.
BUG= 334015
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198996
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+59 lines, -37 lines) |
Patch |
|
M |
Source/core/animation/Animation.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/animation/Animation.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Node.h
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Node.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/events/EventTarget.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/events/EventTarget.cpp
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCue.h
|
View
|
|
2 chunks |
+1 line, -3 lines |
1 comment
|
Download
|
|
M |
Source/core/html/track/TextTrackCue.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerEventQueue.cpp
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
1 comment
|
Download
|
|
M |
Source/modules/indexeddb/IDBDatabase.h
|
View
|
1
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBDatabase.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBOpenDBRequest.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBOpenDBRequest.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBRequest.h
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBRequest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBTransaction.h
|
View
|
1
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBTransaction.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/notifications/Notification.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/notifications/Notification.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 29 (9 generated)
|