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

Issue 23819035: Give generatored bindings classes a field remembering an index into a cache of handles on the corre… (Closed)

Created:
7 years, 3 months ago by rmacnak
Modified:
7 years, 3 months ago
Reviewers:
vsm, siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Give each binding class an id to be used as an index into a cache of handles on the corresponding Dart classes. BUG= R=asiva@google.com, vsm@google.com Committed: https://code.google.com/p/dart/source/detail?r=27452

Patch Set 1 #

Patch Set 2 : preassign #

Patch Set 3 : conform to webkit style linter #

Total comments: 1

Patch Set 4 : run go.sh #

Total comments: 1

Patch Set 5 : . #

Patch Set 6 : change cid to Blink style #

Total comments: 1

Patch Set 7 : put enum in a separate header file #

Patch Set 8 : #

Total comments: 6

Patch Set 9 : custom ids in same enum #

Patch Set 10 : #

Total comments: 5

Patch Set 11 : . #

Patch Set 12 : #

Patch Set 13 : run go.sh #

Patch Set 14 : . #

Patch Set 15 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -1 line) Patch
M tools/dom/scripts/dartdomgenerator.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +30 lines, -0 lines 0 comments Download
M tools/dom/templates/html/dartium/cpp_header.template View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/dom/templates/html/dartium/cpp_implementation.template View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
rmacnak
7 years, 3 months ago (2013-09-06 23:41:18 UTC) #1
siva
Adding Vijay to the reviewers list. https://codereview.chromium.org/23819035/diff/7001/tools/dom/scripts/idlnode.py File tools/dom/scripts/idlnode.py (right): https://codereview.chromium.org/23819035/diff/7001/tools/dom/scripts/idlnode.py#newcode9 tools/dom/scripts/idlnode.py:9: class IDLNode(object): This ...
7 years, 3 months ago (2013-09-10 00:22:43 UTC) #2
vsm
Ryan, can you run the go.sh script under tools/dom/scripts and include any modified files in ...
7 years, 3 months ago (2013-09-10 00:29:39 UTC) #3
rmacnak
On 2013/09/10 00:29:39, vsm wrote: > Ryan, can you run the go.sh script under tools/dom/scripts ...
7 years, 3 months ago (2013-09-10 00:35:46 UTC) #4
vsm
lgtm https://codereview.chromium.org/23819035/diff/12001/tools/dom/templates/html/dartium/cpp_header.template File tools/dom/templates/html/dartium/cpp_header.template (right): https://codereview.chromium.org/23819035/diff/12001/tools/dom/templates/html/dartium/cpp_header.template#newcode19 tools/dom/templates/html/dartium/cpp_header.template:19: static intptr_t kBindingCid; Use Blink style instead: static ...
7 years, 3 months ago (2013-09-10 04:41:27 UTC) #5
rmacnak
On 2013/09/10 04:41:27, vsm wrote: > lgtm > > https://codereview.chromium.org/23819035/diff/12001/tools/dom/templates/html/dartium/cpp_header.template > File tools/dom/templates/html/dartium/cpp_header.template (right): > ...
7 years, 3 months ago (2013-09-10 20:01:12 UTC) #6
vsm
https://chromiumcodereview.appspot.com/23819035/diff/9001/tools/dom/templates/html/dartium/cpp_implementation.template File tools/dom/templates/html/dartium/cpp_implementation.template (right): https://chromiumcodereview.appspot.com/23819035/diff/9001/tools/dom/templates/html/dartium/cpp_implementation.template#newcode31 tools/dom/templates/html/dartium/cpp_implementation.template:31: const int Dart$(INTERFACE)::dartClassId = DartDOMWrapper::NumCustomBindingClassIds + $CID; I don't ...
7 years, 3 months ago (2013-09-10 20:17:09 UTC) #7
rmacnak
On 2013/09/10 20:17:09, vsm wrote: > https://chromiumcodereview.appspot.com/23819035/diff/9001/tools/dom/templates/html/dartium/cpp_implementation.template > File tools/dom/templates/html/dartium/cpp_implementation.template (right): > > https://chromiumcodereview.appspot.com/23819035/diff/9001/tools/dom/templates/html/dartium/cpp_implementation.template#newcode31 > ...
7 years, 3 months ago (2013-09-10 20:45:01 UTC) #8
vsm
On 2013/09/10 20:45:01, Ryan Macnak wrote: > On 2013/09/10 20:17:09, vsm wrote: > > > ...
7 years, 3 months ago (2013-09-10 20:53:33 UTC) #9
siva
On 2013/09/10 20:53:33, vsm wrote: > On 2013/09/10 20:45:01, Ryan Macnak wrote: > > On ...
7 years, 3 months ago (2013-09-10 23:46:49 UTC) #10
vsm
On 2013/09/10 23:46:49, siva wrote: > On 2013/09/10 20:53:33, vsm wrote: > > On 2013/09/10 ...
7 years, 3 months ago (2013-09-11 16:53:37 UTC) #11
rmacnak
Now generating an enum in a separate header file.
7 years, 3 months ago (2013-09-12 00:33:12 UTC) #12
vsm
https://chromiumcodereview.appspot.com/23819035/diff/30001/tools/dom/scripts/dartdomgenerator.py File tools/dom/scripts/dartdomgenerator.py (right): https://chromiumcodereview.appspot.com/23819035/diff/30001/tools/dom/scripts/dartdomgenerator.py#newcode141 tools/dom/scripts/dartdomgenerator.py:141: path = os.path.join(cpp_output_dir, 'class_ids.h') The generated bindings files all ...
7 years, 3 months ago (2013-09-12 01:08:49 UTC) #13
rmacnak
https://chromiumcodereview.appspot.com/23819035/diff/30001/tools/dom/scripts/dartdomgenerator.py File tools/dom/scripts/dartdomgenerator.py (right): https://chromiumcodereview.appspot.com/23819035/diff/30001/tools/dom/scripts/dartdomgenerator.py#newcode141 tools/dom/scripts/dartdomgenerator.py:141: path = os.path.join(cpp_output_dir, 'class_ids.h') On 2013/09/12 01:08:50, vsm wrote: ...
7 years, 3 months ago (2013-09-12 17:56:16 UTC) #14
vsm
lgtm
7 years, 3 months ago (2013-09-12 18:04:06 UTC) #15
siva
LGTM do we need sdk/lib/html/dartium/html_dartium.dart to be included in this CL? https://chromiumcodereview.appspot.com/23819035/diff/42001/tools/dom/scripts/dartdomgenerator.py File tools/dom/scripts/dartdomgenerator.py (right): ...
7 years, 3 months ago (2013-09-12 18:18:20 UTC) #16
rmacnak
On 2013/09/12 18:18:20, siva wrote: > LGTM do we need sdk/lib/html/dartium/html_dartium.dart to be included in ...
7 years, 3 months ago (2013-09-12 21:54:07 UTC) #17
rmacnak
7 years, 3 months ago (2013-09-12 21:55:33 UTC) #18
Message was sent while issue was closed.
Committed patchset #15 manually as r27452 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698