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

Issue 182193002: [polymer] interop with polymer-element and polymer.js (Closed)

Created:
6 years, 9 months ago by Jennifer Messerly
Modified:
6 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

[polymer] interop with polymer-element and polymer.js * let polymer.js register polymer-element * let polymer.js bootstrap for polymer.dart * hook polymer-element's register, if it's a Dart class go down the Dart code path building polymer.concat.js (debug only) requires https://github.com/Polymer/polymer-dev/pull/9 R=sigmund@google.com Committed: https://code.google.com/p/dart/source/detail?r=33398

Patch Set 1 #

Patch Set 2 : polymer interop working #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : trying again #

Patch Set 6 : #

Total comments: 22

Patch Set 7 : #

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3965 lines, -837 lines) Patch
M pkg/pkg.status View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
D pkg/polymer/.bowerrc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M pkg/polymer/CHANGELOG.md View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -2 lines 0 comments Download
D pkg/polymer/bower.json View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -12 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/deploy2_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/deploy3_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/deploy_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/dev2_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/dev3_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/dev_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/dir/deploy2_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/dir/deploy_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/dir/dev2_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization/test/dir/dev_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization2/test/bad_lib_import2_negative_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization2/test/bad_lib_import_negative_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization3/test/bad_lib_import2_negative_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/canonicalization3/test/bad_lib_import_negative_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/example/component/news/test/news_index_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/lib/polymer.dart View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -3 lines 0 comments Download
A pkg/polymer/lib/polymer.html View 1 2 3 4 5 6 7 8 9 1 chunk +26 lines, -0 lines 0 comments Download
D pkg/polymer/lib/src/boot.dart View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -42 lines 0 comments Download
M pkg/polymer/lib/src/declaration.dart View 1 2 3 4 5 6 7 8 9 15 chunks +41 lines, -152 lines 0 comments Download
M pkg/polymer/lib/src/instance.dart View 1 2 3 4 5 6 7 8 9 6 chunks +8 lines, -38 lines 0 comments Download
A + pkg/polymer/lib/src/js/polymer/AUTHORS View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/CONTRIBUTING.md View 1 2 3 4 5 6 7 8 9 1 chunk +73 lines, -0 lines 0 comments Download
A + pkg/polymer/lib/src/js/polymer/LICENSE View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A + pkg/polymer/lib/src/js/polymer/PATENTS View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/README.md View 1 2 3 4 5 6 7 8 9 1 chunk +17 lines, -0 lines 0 comments Download
pkg/polymer/lib/src/js/polymer/bower.json View 1 2 3 4 5 6 7 8 9 1 chunk +20 lines, -0 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/bower.json View 1 2 3 4 5 6 7 8 9 1 chunk +20 lines, -0 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/build.log View 1 2 3 4 5 6 7 8 9 1 chunk +38 lines, -0 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/polymer.html View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/polymer.js View 1 2 3 4 5 6 7 8 9 1 chunk +33 lines, -0 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/polymer-body.html View 1 2 3 4 5 6 7 8 9 1 chunk +33 lines, -0 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/polymer.concat.js View 1 2 3 4 5 6 7 8 9 1 chunk +2357 lines, -0 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/polymer.concat.js.map View 1 2 3 4 5 6 7 8 9 1 chunk +60 lines, -0 lines 0 comments Download
A pkg/polymer/lib/src/js/polymer/polymer.js.map View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A pkg/polymer/lib/src/js/use_native_dartium_shadowdom.js View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
M pkg/polymer/lib/src/loader.dart View 1 2 3 4 5 6 7 8 9 4 chunks +96 lines, -17 lines 0 comments Download
M pkg/polymer/pubspec.yaml View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/polymer/test/attr_deserialize_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/attr_mustache_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/bind_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
pkg/polymer/test/custom_event_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/custom_event_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/entered_view_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/event_handlers_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/event_path_declarative_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/event_path_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/events_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/instance_attrs_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A pkg/polymer/test/js_interop_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +71 lines, -0 lines 0 comments Download
A pkg/polymer/test/js_interop_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +40 lines, -0 lines 0 comments Download
M pkg/polymer/test/nested_binding_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/noscript_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -7 lines 0 comments Download
M pkg/polymer/test/noscript_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/prop_attr_bind_reflection_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/prop_attr_reflection_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/property_change_test.dart View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/polymer/test/property_change_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/property_observe_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/publish_attributes_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/polymer/test/publish_attributes_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
pkg/polymer/test/publish_attributes_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/publish_inherited_properties_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -3 lines 0 comments Download
pkg/polymer/test/publish_inherited_properties_test.html View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -1 line 0 comments Download
M pkg/polymer/test/publish_inherited_properties_test.html View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -1 line 0 comments Download
M pkg/polymer/test/register_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/take_attributes_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/template_distribute_dynamic_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/unbind_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M pkg/template_binding/test/utils.dart View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M pkg/web_components/lib/build.log View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -13 lines 0 comments Download
M pkg/web_components/lib/dart_support.js View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -1 line 0 comments Download
M pkg/web_components/lib/platform.js View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -7 lines 0 comments Download
M pkg/web_components/lib/platform.concat.js View 1 2 3 4 5 6 7 8 9 50 chunks +363 lines, -235 lines 0 comments Download
M pkg/web_components/lib/platform.concat.js.map View 1 2 3 4 5 6 7 8 9 5 chunks +20 lines, -16 lines 0 comments Download
M pkg/web_components/pubspec.yaml View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M samples/polymer_intl/test/polymer_intl_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M samples/searchable_list/test/demo_app_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M samples/third_party/todomvc/pubspec.yaml View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -4 lines 0 comments Download
M samples/third_party/todomvc/test/listorder_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M samples/third_party/todomvc/test/mainpage_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M samples/third_party/todomvc/test/markdone_shadow_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M samples/third_party/todomvc/test/markdone_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M samples/third_party/todomvc/web/elements/td_todos.dart View 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M samples/third_party/todomvc/web/elements/td_todos.html View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -4 lines 0 comments Download
M samples/third_party/todomvc/web/index.html View 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A samples/third_party/todomvc/web/lib-elements/polymer-selection.html View 1 2 3 4 5 6 7 8 9 1 chunk +151 lines, -0 lines 0 comments Download
A samples/third_party/todomvc/web/lib-elements/polymer-selector.html View 1 2 3 4 5 6 7 8 9 1 chunk +353 lines, -0 lines 0 comments Download
M samples/third_party/todomvc/web/lib-elements/polymer_localstorage.dart View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
D samples/third_party/todomvc/web/lib-elements/polymer_selection.dart View 2 3 4 5 6 7 8 9 1 chunk +0 lines, -66 lines 0 comments Download
D samples/third_party/todomvc/web/lib-elements/polymer_selection.html View 2 3 4 5 6 7 8 9 1 chunk +0 lines, -17 lines 0 comments Download
D samples/third_party/todomvc/web/lib-elements/polymer_selector.dart View 2 3 4 5 6 7 8 9 1 chunk +0 lines, -138 lines 0 comments Download
D samples/third_party/todomvc/web/lib-elements/polymer_selector.html View 2 3 4 5 6 7 8 9 1 chunk +0 lines, -47 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Jennifer Messerly
This is ready for review! As usual, Rietveld is having issues :| ... but if ...
6 years, 9 months ago (2014-03-06 04:39:28 UTC) #1
Jennifer Messerly
Note: most of the files changed are trivial test changes. It's not as big of ...
6 years, 9 months ago (2014-03-06 04:40:10 UTC) #2
Siggi Cherem (dart-lang)
This looks great! By any chance do you have some data about the extra download ...
6 years, 9 months ago (2014-03-06 18:18:07 UTC) #3
Jennifer Messerly
Thanks Siggi! PTAL. For size: it is the same as https://github.com/Polymer/polymer/blob/master/polymer.js, or ~25KB as of ...
6 years, 9 months ago (2014-03-06 21:05:07 UTC) #4
Jennifer Messerly
also. I forgot to update pkg/polymer/pubspec.yaml. Doing so now.
6 years, 9 months ago (2014-03-06 21:06:17 UTC) #5
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/182193002/diff/60001/pkg/polymer/CHANGELOG.md File pkg/polymer/CHANGELOG.md (right): https://codereview.chromium.org/182193002/diff/60001/pkg/polymer/CHANGELOG.md#newcode8 pkg/polymer/CHANGELOG.md:8: #### Pub version 0.10.0-dev On 2014/03/06 21:05:08, John ...
6 years, 9 months ago (2014-03-06 21:26:44 UTC) #6
Jennifer Messerly
6 years, 9 months ago (2014-03-06 22:04:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #10 manually as r33398 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698