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

Issue 275283002: Split EventTargetFactory.in and auto-generate modules-related files. (Closed)

Created:
6 years, 7 months ago by c.shu
Modified:
6 years, 7 months ago
CC:
blink-reviews, tzik, eric.carlson_apple.com, dgrogan, timvolodine, jsbell+serviceworker_chromium.org, arv+blink, alecflett, abarth-chromium, blink-reviews-bindings_chromium.org, philipj_slow, nhiroki, Raymond Toy, kinuko, feature-media-reviews_chromium.org, tommyw+watchlist_chromium.org, ericu+idb_chromium.org, jsbell+idb_chromium.org, alecflett+watch_chromium.org, serviceworker-reviews, falken, mvanouwerkerk+watch_chromium.org, Inactive, cmumford, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Split EventTargetFactory.in into two files that contain core or modules only event targets. Auto-generate modules-related event target files and make it ready for moving all modules-related files to modules directory. BUG=371581 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174218

Patch Set 1 #

Patch Set 2 : rebaseline #

Total comments: 9

Patch Set 3 : Split EventTargetFactory.in and auto-generate modules-related files. #

Patch Set 4 : Split EventTargetFactory.in and auto-generate modules-related files. #

Patch Set 5 : Split EventTargetFactory.in and auto-generate modules-related files. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -142 lines) Patch
M Source/bindings/v8/custom/V8EventTargetCustom.cpp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M Source/build/scripts/license.py View 1 2 1 chunk +3 lines, -30 lines 0 comments Download
M Source/build/scripts/make_event_factory.py View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M Source/build/scripts/make_names.py View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M Source/build/scripts/name_macros.py View 1 2 5 chunks +24 lines, -13 lines 0 comments Download
M Source/build/scripts/templates/MakeNames.cpp.tmpl View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M Source/build/scripts/templates/MakeNames.h.tmpl View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M Source/build/scripts/templates/macros.tmpl View 1 2 1 chunk +3 lines, -29 lines 0 comments Download
M Source/core/Init.cpp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/core.gyp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/core_generated.gyp View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
M Source/core/events/EventTarget.h View 1 2 3 chunks +1 line, -14 lines 0 comments Download
M Source/core/events/EventTargetFactory.in View 1 chunk +0 lines, -26 lines 0 comments Download
A Source/core/events/EventTargetModules.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A + Source/core/events/EventTargetModulesFactory.in View 1 2 3 4 1 chunk +1 line, -21 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
c.shu
This CL moves all modules-related EventTargets out of core. However, some files need to be ...
6 years, 7 months ago (2014-05-09 21:56:14 UTC) #1
abarth-chromium
https://codereview.chromium.org/275283002/diff/20001/Source/modules/EventTargetModulesHeaders.h File Source/modules/EventTargetModulesHeaders.h (right): https://codereview.chromium.org/275283002/diff/20001/Source/modules/EventTargetModulesHeaders.h#newcode29 Source/modules/EventTargetModulesHeaders.h:29: */ Please use a new-style copyright header: http://dev.chromium.org/blink/coding-style#TOC-License https://codereview.chromium.org/275283002/diff/20001/Source/modules/EventTargetModulesHeaders.h#newcode30 ...
6 years, 7 months ago (2014-05-10 00:43:09 UTC) #2
c.shu
> https://codereview.chromium.org/275283002/diff/20001/Source/modules/EventTargetModulesNames.cpp#newcode100 > Source/modules/EventTargetModulesNames.cpp:100: StringImpl* AudioNodeImpl = > StringImpl::createStatic("AudioNode", 9, 5081561); > We need to ...
6 years, 7 months ago (2014-05-10 01:03:37 UTC) #3
abarth-chromium
Yeah, normally that would be fine, but the hard-code hash values are a real problem. ...
6 years, 7 months ago (2014-05-10 01:12:55 UTC) #4
c.shu
On 2014/05/10 01:12:55, abarth wrote: > Yeah, normally that would be fine, but the hard-code ...
6 years, 7 months ago (2014-05-10 01:25:43 UTC) #5
Nils Barth (inactive)
https://codereview.chromium.org/275283002/diff/20001/Source/modules/InitModules.cpp File Source/modules/InitModules.cpp (right): https://codereview.chromium.org/275283002/diff/20001/Source/modules/InitModules.cpp#newcode22 Source/modules/InitModules.cpp:22: // EventNames::init(); TODO: split core and modules names under ...
6 years, 7 months ago (2014-05-12 01:31:40 UTC) #6
Nils Barth (inactive)
On 2014/05/10 01:03:37, c.shu wrote: > Thanks, Adam. I was thinking to separate the effort ...
6 years, 7 months ago (2014-05-12 01:40:14 UTC) #7
Nils Barth (inactive)
On 2014/05/10 01:25:43, c.shu wrote: > On 2014/05/10 01:12:55, abarth wrote: > > Yeah, normally ...
6 years, 7 months ago (2014-05-12 01:41:44 UTC) #8
Nils Barth (inactive)
https://codereview.chromium.org/275283002/diff/20001/Source/modules/EventTargetModules.h File Source/modules/EventTargetModules.h (right): https://codereview.chromium.org/275283002/diff/20001/Source/modules/EventTargetModules.h#newcode14 Source/modules/EventTargetModules.h:14: class AudioContext; Shouldn't you be removing these from core/events/EventTarget.h? ...
6 years, 7 months ago (2014-05-12 01:41:56 UTC) #9
c.shu
On 2014/05/12 01:41:44, Nils Barth wrote: > On 2014/05/10 01:25:43, c.shu wrote: > > On ...
6 years, 7 months ago (2014-05-12 14:34:23 UTC) #10
c.shu
On 2014/05/12 01:40:14, Nils Barth wrote: > On 2014/05/10 01:03:37, c.shu wrote: > > Thanks, ...
6 years, 7 months ago (2014-05-12 14:46:20 UTC) #11
c.shu
https://codereview.chromium.org/275283002/diff/20001/Source/modules/EventTargetModules.h File Source/modules/EventTargetModules.h (right): https://codereview.chromium.org/275283002/diff/20001/Source/modules/EventTargetModules.h#newcode14 Source/modules/EventTargetModules.h:14: class AudioContext; On 2014/05/12 01:41:56, Nils Barth wrote: > ...
6 years, 7 months ago (2014-05-12 19:02:21 UTC) #12
c.shu
On 2014/05/12 01:31:40, Nils Barth wrote: > https://codereview.chromium.org/275283002/diff/20001/Source/modules/InitModules.cpp > File Source/modules/InitModules.cpp (right): > > https://codereview.chromium.org/275283002/diff/20001/Source/modules/InitModules.cpp#newcode22 ...
6 years, 7 months ago (2014-05-12 19:03:35 UTC) #13
c.shu
6 years, 7 months ago (2014-05-12 20:08:35 UTC) #14
c.shu
This CL auto-generates the modules-related event target files but does not touch the modules directory ...
6 years, 7 months ago (2014-05-12 21:27:10 UTC) #15
Nils Barth (inactive)
On 2014/05/12 14:46:20, c.shu wrote: > Thanks, Nils. How about I do the following two ...
6 years, 7 months ago (2014-05-13 02:14:58 UTC) #16
Nils Barth (inactive)
LGTM build-wise: code is clear and well-structured, and avoids duplication. abarth, want to take a ...
6 years, 7 months ago (2014-05-13 08:28:47 UTC) #17
c.shu
On 2014/05/13 08:28:47, Nils Barth wrote: > LGTM build-wise: code is clear and well-structured, and ...
6 years, 7 months ago (2014-05-13 21:03:19 UTC) #18
eseidel
lgtm
6 years, 7 months ago (2014-05-16 21:15:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/c.shu@samsung.com/275283002/80001
6 years, 7 months ago (2014-05-16 21:15:37 UTC) #20
commit-bot: I haz the power
6 years, 7 months ago (2014-05-16 23:44:38 UTC) #21
Message was sent while issue was closed.
Change committed as 174218

Powered by Google App Engine
This is Rietveld 408576698