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

Issue 36793003: IDL compiler: constructor attributes (Closed)

Created:
7 years, 2 months ago by Nils Barth (inactive)
Modified:
7 years, 2 months ago
Reviewers:
haraken
CC:
blink-reviews, kojih, jsbell+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, Inactive, kouhei (in TOK)
Visibility:
Public.

Description

IDL compiler: constructor attributes (Attributes named *Constructor.) Pretty straightforward; some reordering for clarity. BUG=239771 NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160434

Patch Set 1 #

Total comments: 2

Patch Set 2 : Typo #

Patch Set 3 : Simpler loop #

Total comments: 12

Patch Set 4 : Revised #

Total comments: 6

Patch Set 5 : Revised #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -17 lines) Patch
M Source/bindings/scripts/code_generator_v8.pm View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/scripts/unstable/v8_attributes.py View 1 2 3 4 5 8 chunks +41 lines, -14 lines 0 comments Download
M Source/bindings/scripts/unstable/v8_types.py View 1 2 3 4 5 3 chunks +7 lines, -0 lines 0 comments Download
M Source/bindings/scripts/unstable/v8_utilities.py View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M Source/bindings/templates/interface.cpp View 1 2 3 4 1 chunk +21 lines, -2 lines 0 comments Download
M Source/bindings/templates/interface_base.cpp View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M Source/bindings/tests/idls/TestObjectPython.idl View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.cpp View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nils Barth (inactive)
https://codereview.chromium.org/36793003/diff/1/Source/bindings/scripts/code_generator_v8.pm File Source/bindings/scripts/code_generator_v8.pm (right): https://codereview.chromium.org/36793003/diff/1/Source/bindings/scripts/code_generator_v8.pm#newcode1249 Source/bindings/scripts/code_generator_v8.pm:1249: Consistency: blank line after function. https://codereview.chromium.org/36793003/diff/1/Source/bindings/scripts/unstable/v8_attributes.py File Source/bindings/scripts/unstable/v8_attributes.py (right): ...
7 years, 2 months ago (2013-10-23 11:31:34 UTC) #1
haraken
[Constructor] on attributes is used only by Window.HTMLImageElement, right? hmm, actually I might not want ...
7 years, 2 months ago (2013-10-23 12:01:26 UTC) #2
Nils Barth (inactive)
On 2013/10/23 12:01:26, haraken wrote: > [Constructor] on attributes is used only by Window.HTMLImageElement, right? ...
7 years, 2 months ago (2013-10-24 02:23:32 UTC) #3
haraken
Sorry about the confusion! This CL is about XXXConstructor in Window.idl... https://codereview.chromium.org/36793003/diff/80001/Source/bindings/scripts/unstable/v8_attributes.py File Source/bindings/scripts/unstable/v8_attributes.py (right): ...
7 years, 2 months ago (2013-10-24 03:33:02 UTC) #4
Nils Barth (inactive)
On 2013/10/24 03:33:02, haraken wrote: > Sorry about the confusion! n/p > This CL is ...
7 years, 2 months ago (2013-10-24 05:28:38 UTC) #5
Nils Barth (inactive)
Revised! I have 3 or 4 followups (if that's ok): 1. Always have includes_for_type for ...
7 years, 2 months ago (2013-10-24 05:33:03 UTC) #6
haraken
LGTM. https://codereview.chromium.org/36793003/diff/150001/Source/bindings/scripts/unstable/v8_attributes.py File Source/bindings/scripts/unstable/v8_attributes.py (right): https://codereview.chromium.org/36793003/diff/150001/Source/bindings/scripts/unstable/v8_attributes.py#newcode324 Source/bindings/scripts/unstable/v8_attributes.py:324: if attribute.data_type.endswith('Constructor'): Not related to this CL, data_type ...
7 years, 2 months ago (2013-10-24 09:13:53 UTC) #7
Nils Barth (inactive)
Thanks for comments; 2 followups: 1. ReplaceableAttributeSetter => ForceSetAttributeOnThis 2. data_type => idl_type https://codereview.chromium.org/36793003/diff/150001/Source/bindings/scripts/unstable/v8_attributes.py File ...
7 years, 2 months ago (2013-10-24 09:41:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/36793003/210001
7 years, 2 months ago (2013-10-24 09:42:21 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/bindings/scripts/unstable/v8_attributes.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-24 09:42:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/36793003/260001
7 years, 2 months ago (2013-10-24 09:46:11 UTC) #11
commit-bot: I haz the power
7 years, 2 months ago (2013-10-24 09:46:28 UTC) #12
Message was sent while issue was closed.
Change committed as 160434

Powered by Google App Engine
This is Rietveld 408576698