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

Issue 11094082: Convert legacy 'native code' to JS-forms in dart:html (Closed)

Created:
8 years, 2 months ago by sra1
Modified:
8 years, 2 months ago
CC:
reviews_dartlang.org, ngeoffray, dgrove
Visibility:
Public.

Description

Convert legacy 'native code' to JS-forms in dart:html This should enable minification to rename function arguments. Issue 5821 and Issue 5822 need to be fixed first. BUG=dart:5808 Committed: https://code.google.com/p/dart/source/detail?r=13690

Patch Set 1 : #

Total comments: 15

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+698 lines, -543 lines) Patch
M lib/html/dart2js/html_dart2js.dart View 142 chunks +436 lines, -361 lines 0 comments Download
M lib/html/scripts/systemhtml.py View 1 2 6 chunks +29 lines, -12 lines 0 comments Download
M lib/html/src/dart2js_FactoryProviders.dart View 1 chunk +10 lines, -10 lines 0 comments Download
M lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart View 1 chunk +13 lines, -13 lines 0 comments Download
M lib/html/src/dart2js_LocationWrapper.dart View 1 chunk +6 lines, -11 lines 0 comments Download
M lib/html/src/dart2js_MutationObserverSupported.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M lib/html/src/dart2js_TypedArrayFactoryProvider.dart View 1 chunk +54 lines, -27 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider.darttemplate View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_AudioElement.darttemplate View 1 chunk +4 lines, -4 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_Blob.darttemplate View 1 chunk +4 lines, -4 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_DataView.darttemplate View 1 chunk +10 lines, -7 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_FormData.darttemplate View 1 chunk +4 lines, -4 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_HttpRequest.darttemplate View 1 chunk +2 lines, -1 line 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_MutationObserver.darttemplate View 1 chunk +10 lines, -0 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate View 1 chunk +17 lines, -8 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_ShadowRoot.darttemplate View 1 chunk +3 lines, -3 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate View 1 chunk +4 lines, -5 lines 0 comments Download
M lib/html/templates/html/dart2js/factoryprovider_TextTrackCue.darttemplate View 1 chunk +15 lines, -8 lines 0 comments Download
M lib/html/templates/html/dart2js/html_dart2js.darttemplate View 2 chunks +9 lines, -9 lines 0 comments Download
M lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate View 1 chunk +2 lines, -1 line 0 comments Download
M lib/html/templates/html/dart2js/impl_LocalWindow.darttemplate View 4 chunks +39 lines, -24 lines 0 comments Download
M lib/html/templates/html/dart2js/impl_MouseEvent.darttemplate View 2 chunks +5 lines, -8 lines 0 comments Download
M lib/html/templates/html/impl/impl_CSSStyleDeclaration.darttemplate View 1 chunk +5 lines, -5 lines 0 comments Download
M lib/html/templates/html/impl/impl_Element.darttemplate View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M lib/html/templates/html/impl/impl_WheelEvent.darttemplate View 1 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
sra1
This + issue 5821 + issue 5822 is too big for M1, so we need ...
8 years, 2 months ago (2012-10-12 03:02:27 UTC) #1
erikcorry
https://codereview.chromium.org/11094082/diff/5001/lib/html/dart2js/html_dart2js.dart File lib/html/dart2js/html_dart2js.dart (left): https://codereview.chromium.org/11094082/diff/5001/lib/html/dart2js/html_dart2js.dart#oldcode18538 lib/html/dart2js/html_dart2js.dart:18538: var vendors = ['ms', 'moz', 'webkit', 'o']; This way ...
8 years, 2 months ago (2012-10-12 07:13:03 UTC) #2
Anton Muhin
DBC https://codereview.chromium.org/11094082/diff/5001/lib/html/scripts/systemhtml.py File lib/html/scripts/systemhtml.py (right): https://codereview.chromium.org/11094082/diff/5001/lib/html/scripts/systemhtml.py#newcode856 lib/html/scripts/systemhtml.py:856: ' $MODIFIERS$TYPE $(HTML_NAME)($PARAMS) native "$NAME";\n') just for my ...
8 years, 2 months ago (2012-10-12 11:40:38 UTC) #3
floitsch
LGTM. I would appreciate if somebody else could look at the python code too, though. ...
8 years, 2 months ago (2012-10-12 13:40:17 UTC) #4
blois
lgtm JS changes look good to me. https://codereview.chromium.org/11094082/diff/5001/lib/html/scripts/systemhtml.py File lib/html/scripts/systemhtml.py (right): https://codereview.chromium.org/11094082/diff/5001/lib/html/scripts/systemhtml.py#newcode791 lib/html/scripts/systemhtml.py:791: ' JS("void", ...
8 years, 2 months ago (2012-10-12 16:55:19 UTC) #5
sra1
I'll check in after M1 is cut. https://codereview.chromium.org/11094082/diff/5001/lib/html/dart2js/html_dart2js.dart File lib/html/dart2js/html_dart2js.dart (left): https://codereview.chromium.org/11094082/diff/5001/lib/html/dart2js/html_dart2js.dart#oldcode18538 lib/html/dart2js/html_dart2js.dart:18538: var vendors ...
8 years, 2 months ago (2012-10-12 21:39:46 UTC) #6
Anton Muhin
https://codereview.chromium.org/11094082/diff/5001/lib/html/scripts/systemhtml.py File lib/html/scripts/systemhtml.py (right): https://codereview.chromium.org/11094082/diff/5001/lib/html/scripts/systemhtml.py#newcode856 lib/html/scripts/systemhtml.py:856: ' $MODIFIERS$TYPE $(HTML_NAME)($PARAMS) native "$NAME";\n') I see, thanks, Stephen. ...
8 years, 2 months ago (2012-10-15 10:27:34 UTC) #7
ngeoffray
8 years, 2 months ago (2012-10-15 14:25:54 UTC) #8
Can't wait to see this landed! Great progress Stephen!

Powered by Google App Engine
This is Rietveld 408576698