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

Issue 2573713002: [Bindings][Refactoring] Remove filters for origin trial features (Closed)

Created:
4 years ago by peria
Modified:
4 years ago
Reviewers:
haraken, bashi, iclelland, Yuki
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove filters for origin trial features It was very confusing to filter all features in .tmpl file. This CL make the context to have origin trial feature contexts together with names and needs_instance. Before: features = [{name, needs_instance}] After: features = [{name, needs_instance, [constants], [attributes], [methods]}] BUG=650150 Committed: https://crrev.com/9c4bd1e5532fbf6b1e7cf87b2a75613f454ef3ce Cr-Commit-Position: refs/heads/master@{#439046}

Patch Set 1 : . #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Work for a comment, and sort them in py #

Patch Set 4 : Refactoring #

Total comments: 4

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -57 lines) Patch
M third_party/WebKit/Source/bindings/scripts/code_generator.py View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_interface.py View 1 2 3 4 1 chunk +24 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_methods.py View 1 2 3 4 1 chunk +1 line, -11 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_utilities.py View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.h.tmpl View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl View 1 2 3 4 2 chunks +12 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl View 1 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 36 (19 generated)
peria
PTL
4 years ago (2016-12-13 13:36:05 UTC) #8
haraken
LGTM
4 years ago (2016-12-14 02:01:35 UTC) #13
Yuki
+iclelland@ FYI LGTM. https://codereview.chromium.org/2573713002/diff/40001/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl File third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl (right): https://codereview.chromium.org/2573713002/diff/40001/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl#newcode538 third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl:538: {% if feature.attributes or feature.methods | ...
4 years ago (2016-12-14 05:35:04 UTC) #15
peria
will commit after iclelland@'s review. https://codereview.chromium.org/2573713002/diff/40001/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl File third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl (right): https://codereview.chromium.org/2573713002/diff/40001/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl#newcode538 third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl:538: {% if feature.attributes or ...
4 years ago (2016-12-14 06:05:30 UTC) #16
peria
Did a refactoring, and revived conditions to filter origin trial methods. PTAL.
4 years ago (2016-12-15 05:21:52 UTC) #17
Yuki
LGTM. https://codereview.chromium.org/2573713002/diff/80001/third_party/WebKit/Source/bindings/scripts/v8_interface.py File third_party/WebKit/Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/2573713002/diff/80001/third_party/WebKit/Source/bindings/scripts/v8_interface.py#newcode110 third_party/WebKit/Source/bindings/scripts/v8_interface.py:110: key = 'origin_trial_feature_name' Constants should be all capital ...
4 years ago (2016-12-15 06:22:59 UTC) #18
peria
https://codereview.chromium.org/2573713002/diff/80001/third_party/WebKit/Source/bindings/scripts/v8_interface.py File third_party/WebKit/Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/2573713002/diff/80001/third_party/WebKit/Source/bindings/scripts/v8_interface.py#newcode110 third_party/WebKit/Source/bindings/scripts/v8_interface.py:110: key = 'origin_trial_feature_name' On 2016/12/15 06:22:59, Yuki wrote: > ...
4 years ago (2016-12-16 02:48:12 UTC) #19
peria
On 2016/12/14 06:05:30, peria wrote: > will commit after iclelland@'s review. > > https://codereview.chromium.org/2573713002/diff/40001/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl > ...
4 years ago (2016-12-16 02:49:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2573713002/100001
4 years ago (2016-12-16 02:51:25 UTC) #23
iclelland
https://codereview.chromium.org/2573713002/diff/80001/third_party/WebKit/Source/bindings/scripts/v8_interface.py File third_party/WebKit/Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/2573713002/diff/80001/third_party/WebKit/Source/bindings/scripts/v8_interface.py#newcode116 third_party/WebKit/Source/bindings/scripts/v8_interface.py:116: return [member for member in members if member[key] == ...
4 years ago (2016-12-16 04:19:22 UTC) #24
iclelland
On 2016/12/16 02:49:47, peria wrote: > On 2016/12/14 06:05:30, peria wrote: > > will commit ...
4 years ago (2016-12-16 04:19:39 UTC) #25
peria
On 2016/12/16 04:19:39, iclelland wrote: > On 2016/12/16 02:49:47, peria wrote: > > On 2016/12/14 ...
4 years ago (2016-12-16 05:01:56 UTC) #26
peria
https://codereview.chromium.org/2573713002/diff/80001/third_party/WebKit/Source/bindings/scripts/v8_interface.py File third_party/WebKit/Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/2573713002/diff/80001/third_party/WebKit/Source/bindings/scripts/v8_interface.py#newcode116 third_party/WebKit/Source/bindings/scripts/v8_interface.py:116: return [member for member in members if member[key] == ...
4 years ago (2016-12-16 05:02:10 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/290247)
4 years ago (2016-12-16 05:23:15 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2573713002/100001
4 years ago (2016-12-16 05:28:24 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years ago (2016-12-16 06:20:12 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-16 06:23:53 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9c4bd1e5532fbf6b1e7cf87b2a75613f454ef3ce
Cr-Commit-Position: refs/heads/master@{#439046}

Powered by Google App Engine
This is Rietveld 408576698