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

Issue 8548019: Add a script for determining which DOM methods correspond to which HTML methods. (Closed)

Created:
9 years, 1 month ago by nweiz
Modified:
9 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a script for determining which DOM methods correspond to which HTML methods. Ultimately, this will be used for generating documentation. Currently, though, it just prints out information to the console. This also includes some annotations to the HTML library, where the DOM correspondence couldn't be auto-detected. Committed: https://code.google.com/p/dart/source/detail?r=1767

Patch Set 1 #

Total comments: 2

Patch Set 2 : Nicer hashCode #

Total comments: 13

Patch Set 3 : Code review changes #

Total comments: 2

Patch Set 4 : More code review changes #

Total comments: 10

Patch Set 5 : More code review changes #

Patch Set 6 : Use "Window" instead of "DOMWindow". #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -4 lines) Patch
M client/html/release/html.dart View 1 2 3 4 5 17 chunks +50 lines, -1 line 0 comments Download
A client/html/scripts/html-diff.dart View 1 2 3 4 5 1 chunk +247 lines, -0 lines 0 comments Download
M client/html/src/DocumentFragmentWrappingImplementation.dart View 1 chunk +1 line, -0 lines 0 comments Download
M client/html/src/DocumentWrappingImplementation.dart View 1 chunk +30 lines, -0 lines 0 comments Download
M client/html/src/ElementWrappingImplementation.dart View 1 2 3 4 5 6 chunks +10 lines, -0 lines 0 comments Download
M client/html/src/NodeWrappingImplementation.dart View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M client/html/src/OverflowEventWrappingImplementation.dart View 1 chunk +1 line, -0 lines 0 comments Download
M client/html/src/TextWrappingImplementation.dart View 1 chunk +1 line, -0 lines 0 comments Download
M client/html/src/TouchEventWrappingImplementation.dart View 1 chunk +1 line, -1 line 0 comments Download
M client/html/src/WindowWrappingImplementation.dart View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M client/html/src/XMLHttpRequestWrappingImplementation.dart View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M client/html/src/_FactoryProviders.dart View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M frog/member.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M utils/dartdoc/dartdoc.dart View 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
nweiz
Looping in John and Bob to review minor changes in Frog and DartDoc, respectively.
9 years, 1 month ago (2011-11-18 22:20:25 UTC) #1
Jennifer Messerly
frog changes lgtm. it's going to be so cool having this help http://codereview.chromium.org/8548019/diff/1/frog/member.dart File frog/member.dart ...
9 years, 1 month ago (2011-11-18 22:41:16 UTC) #2
nweiz
http://codereview.chromium.org/8548019/diff/1/frog/member.dart File frog/member.dart (right): http://codereview.chromium.org/8548019/diff/1/frog/member.dart#newcode214 frog/member.dart:214: int hashCode() => '${declaringType.hashCode()}:$name'.hashCode(); On 2011/11/18 22:41:16, John Messerly ...
9 years, 1 month ago (2011-11-18 22:48:56 UTC) #3
Jacob
This will be very useful! http://codereview.chromium.org/8548019/diff/4002/client/html/release/html.dart File client/html/release/html.dart (right): http://codereview.chromium.org/8548019/diff/4002/client/html/release/html.dart#newcode16830 client/html/release/html.dart:16830: /** @domName DOMWindow.createWebKitPoint */ ...
9 years, 1 month ago (2011-11-21 18:51:16 UTC) #4
nweiz
http://codereview.chromium.org/8548019/diff/4002/client/html/release/html.dart File client/html/release/html.dart (right): http://codereview.chromium.org/8548019/diff/4002/client/html/release/html.dart#newcode16830 client/html/release/html.dart:16830: /** @domName DOMWindow.createWebKitPoint */ On 2011/11/21 18:51:17, Jacob wrote: ...
9 years, 1 month ago (2011-11-21 19:34:21 UTC) #5
Jacob
http://codereview.chromium.org/8548019/diff/4002/client/html/scripts/html-diff.dart File client/html/scripts/html-diff.dart (right): http://codereview.chromium.org/8548019/diff/4002/client/html/scripts/html-diff.dart#newcode30 client/html/scripts/html-diff.dart:30: htmlMember.name; On 2011/11/21 19:34:22, nweiz wrote: > On 2011/11/21 ...
9 years, 1 month ago (2011-11-21 19:47:23 UTC) #6
nweiz
http://codereview.chromium.org/8548019/diff/4002/client/html/scripts/html-diff.dart File client/html/scripts/html-diff.dart (right): http://codereview.chromium.org/8548019/diff/4002/client/html/scripts/html-diff.dart#newcode30 client/html/scripts/html-diff.dart:30: htmlMember.name; On 2011/11/21 19:47:23, Jacob wrote: > On 2011/11/21 ...
9 years, 1 month ago (2011-11-21 23:01:32 UTC) #7
Jacob
All the code to autogen looks good. Went through the annotations added to client/html and ...
9 years, 1 month ago (2011-11-21 23:12:11 UTC) #8
nweiz
http://codereview.chromium.org/8548019/diff/13001/client/html/src/ElementWrappingImplementation.dart File client/html/src/ElementWrappingImplementation.dart (right): http://codereview.chromium.org/8548019/diff/13001/client/html/src/ElementWrappingImplementation.dart#newcode724 client/html/src/ElementWrappingImplementation.dart:724: /** @domName getClientRects */ On 2011/11/21 23:12:11, Jacob wrote: ...
9 years, 1 month ago (2011-11-22 01:11:09 UTC) #9
Jacob
9 years, 1 month ago (2011-11-22 22:48:45 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698