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

Issue 297103002: Move modules-dependent Event code out of core. (Closed)

Created:
6 years, 7 months ago by c.shu
Modified:
6 years, 7 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Move modules-dependent Event code out of core. This is a follow-up of https://codereview.chromium.org/298893006/. BUG=376506 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174888

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : fix test failures #

Patch Set 4 : rebaseline #

Total comments: 9

Patch Set 5 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -66 lines) Patch
M Source/bindings/v8/custom/V8DocumentCustom.cpp View 1 2 3 4 3 chunks +24 lines, -0 lines 0 comments Download
M Source/build/scripts/templates/EventFactory.cpp.tmpl View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/dom/Document.idl View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/events/Event.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/events/EventFactory.h View 1 chunk +0 lines, -5 lines 0 comments Download
A + Source/modules/EventModules.h View 1 1 chunk +8 lines, -5 lines 0 comments Download
A Source/modules/EventModulesFactory.h View 1 chunk +23 lines, -0 lines 0 comments Download
M Source/modules/InitModules.h View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/modules/InitModules.cpp View 2 chunks +11 lines, -0 lines 0 comments Download
M Source/modules/battery/BatteryDispatcher.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/battery/BatteryManager.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/device_light/DeviceLightController.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_light/DeviceLightEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceMotionController.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceMotionEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceOrientationController.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceOrientationEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/encryptedmedia/MediaKeyMessageEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/encryptedmedia/MediaKeyNeededEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/filesystem/InspectorFileSystemAgent.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/gamepad/GamepadEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/geolocation/Coordinates.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/geolocation/Geoposition.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBDatabase.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBEventDispatcher.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBTransaction.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBVersionChangeEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/InspectorIndexedDBAgent.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/mediasource/MediaSourceBase.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/mediasource/SourceBuffer.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/mediasource/SourceBufferList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediastream/MediaStream.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/mediastream/MediaStreamEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediastream/MediaStreamTrack.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/mediastream/MediaStreamTrackEvent.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediastream/RTCDTMFToneChangeEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediastream/RTCDataChannel.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/mediastream/RTCDataChannelEvent.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediastream/RTCIceCandidateEvent.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediastream/RTCPeerConnection.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/screen_orientation/ScreenOrientationController.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/serviceworkers/FetchEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/InstallPhaseEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/speech/SpeechRecognitionError.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/speech/SpeechRecognitionEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/speech/SpeechSynthesisEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webaudio/AudioProcessingEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webaudio/AudioScheduledSourceNode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/webaudio/OfflineAudioCompletionEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webmidi/MIDIConnectionEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webmidi/MIDIMessageEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/websockets/CloseEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/websockets/WebSocket.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/web/WebDocument.cpp View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
c.shu
only when you have time, Eric. Thanks.
6 years, 7 months ago (2014-05-23 19:55:43 UTC) #1
c.shu
The failures on bots are real. The problem is that the generated V8Document.cpp is still ...
6 years, 7 months ago (2014-05-24 01:00:22 UTC) #2
c.shu
6 years, 7 months ago (2014-05-24 01:01:04 UTC) #3
c.shu
6 years, 7 months ago (2014-05-26 01:00:21 UTC) #4
Nils Barth (inactive)
On 2014/05/24 01:00:22, c.shu wrote: > The failures on bots are real. The problem is ...
6 years, 7 months ago (2014-05-27 05:59:59 UTC) #5
Nils Barth (inactive)
Couple comments https://codereview.chromium.org/297103002/diff/60001/Source/bindings/v8/custom/V8DocumentCustom.cpp File Source/bindings/v8/custom/V8DocumentCustom.cpp (right): https://codereview.chromium.org/297103002/diff/60001/Source/bindings/v8/custom/V8DocumentCustom.cpp#newcode88 Source/bindings/v8/custom/V8DocumentCustom.cpp:88: void V8Document::createEventMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) Please add a ...
6 years, 7 months ago (2014-05-27 06:01:27 UTC) #6
Nils Barth (inactive)
(Added blink-reviews@, seemed missing.)
6 years, 7 months ago (2014-05-27 06:02:19 UTC) #7
c.shu
On 2014/05/27 05:59:59, Nils Barth wrote: > On 2014/05/24 01:00:22, c.shu wrote: > > The ...
6 years, 7 months ago (2014-05-27 15:27:51 UTC) #8
c.shu
https://codereview.chromium.org/297103002/diff/60001/Source/build/scripts/templates/EventFactory.cpp.tmpl File Source/build/scripts/templates/EventFactory.cpp.tmpl (right): https://codereview.chromium.org/297103002/diff/60001/Source/build/scripts/templates/EventFactory.cpp.tmpl#newcode5 Source/build/scripts/templates/EventFactory.cpp.tmpl:5: {% if suffix == "Modules" %} On 2014/05/27 06:01:27, ...
6 years, 7 months ago (2014-05-27 15:28:01 UTC) #9
c.shu
https://codereview.chromium.org/297103002/diff/60001/Source/bindings/v8/custom/V8DocumentCustom.cpp File Source/bindings/v8/custom/V8DocumentCustom.cpp (right): https://codereview.chromium.org/297103002/diff/60001/Source/bindings/v8/custom/V8DocumentCustom.cpp#newcode88 Source/bindings/v8/custom/V8DocumentCustom.cpp:88: void V8Document::createEventMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) On 2014/05/27 06:01:27, Nils Barth ...
6 years, 7 months ago (2014-05-27 15:34:07 UTC) #10
eseidel
lgtm
6 years, 7 months ago (2014-05-27 17:36:08 UTC) #11
c.shu
On 2014/05/27 17:36:08, eseidel wrote: > lgtm Thanks, Eric. Nils, do you have additional comments?
6 years, 7 months ago (2014-05-27 17:39:22 UTC) #12
c.shu
On 2014/05/27 17:39:22, c.shu wrote: > On 2014/05/27 17:36:08, eseidel wrote: > > lgtm > ...
6 years, 7 months ago (2014-05-27 18:34:39 UTC) #13
c.shu
The CQ bit was checked by c.shu@samsung.com
6 years, 7 months ago (2014-05-27 18:34:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/c.shu@samsung.com/297103002/80001
6 years, 7 months ago (2014-05-27 18:36:00 UTC) #15
commit-bot: I haz the power
Change committed as 174888
6 years, 7 months ago (2014-05-27 19:55:50 UTC) #16
Nils Barth (inactive)
On 2014/05/27 15:27:51, c.shu wrote: > Thanks, Nils. That's exactly true. I put some comments ...
6 years, 7 months ago (2014-05-28 00:55:26 UTC) #17
Nils Barth (inactive)
On 2014/05/27 18:34:39, c.shu wrote: > On 2014/05/27 17:39:22, c.shu wrote: > > Nils, do ...
6 years, 7 months ago (2014-05-28 00:57:58 UTC) #18
Nils Barth (inactive)
6 years, 7 months ago (2014-05-28 00:58:06 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/297103002/diff/60001/Source/build/scripts/tem...
File Source/build/scripts/templates/EventFactory.cpp.tmpl (right):

https://codereview.chromium.org/297103002/diff/60001/Source/build/scripts/tem...
Source/build/scripts/templates/EventFactory.cpp.tmpl:6: #include
"modules/{{namespace}}{{suffix}}Factory.h"
On 2014/05/27 15:28:02, c.shu wrote:
> Sounds good, Nils. Is it Ok I move all event related files under modules/ to
> modules/events in a separate patch? The patch will impact many files in
modules.

Yup, that's fine!

Powered by Google App Engine
This is Rietveld 408576698