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

Issue 950603002: Port sky-scrollable to Dart (Closed)

Created:
5 years, 10 months ago by abarth-chromium
Modified:
5 years, 10 months ago
Reviewers:
eseidel, esprehn, ojan
CC:
esprehn, mojo-reviews_chromium.org, ojan, qsr+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Port sky-scrollable to Dart This CL ports sky-scrollable to the new sky-element. R=esprehn@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/dff4b5f6f62c9cab61cb3954f0e7fc17e03de75a

Patch Set 1 #

Total comments: 7

Patch Set 2 : Now with more importNode #

Patch Set 3 : less setAttributes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -165 lines) Patch
M sky/engine/core/dom/Document.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/html/parser/HTMLDocumentParser.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M sky/examples/data/cities.sky View 1 chunk +1 line, -1 line 0 comments Download
D sky/examples/example-scrollable.sky View 1 chunk +0 lines, -43 lines 0 comments Download
A sky/examples/example-scrollable/example-scrollable.sky View 1 chunk +38 lines, -0 lines 0 comments Download
A + sky/examples/example-scrollable/index.sky View 1 chunk +2 lines, -2 lines 0 comments Download
A sky/framework/fling-curve.dart View 1 chunk +51 lines, -0 lines 0 comments Download
D sky/framework/fling-curve.sky View 1 chunk +0 lines, -47 lines 0 comments Download
M sky/framework/sky-element.sky View 1 1 chunk +2 lines, -2 lines 0 comments Download
M sky/framework/sky-scrollable.sky View 2 chunks +72 lines, -67 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
abarth-chromium
5 years, 10 months ago (2015-02-21 09:08:01 UTC) #2
abarth-chromium
https://codereview.chromium.org/950603002/diff/1/sky/engine/core/dom/Element.idl File sky/engine/core/dom/Element.idl (right): https://codereview.chromium.org/950603002/diff/1/sky/engine/core/dom/Element.idl#newcode15 sky/engine/core/dom/Element.idl:15: [CustomElementCallbacks, RaisesException] void setAttributes(sequence<Attr> attributes); Adding this API seemed ...
5 years, 10 months ago (2015-02-21 09:15:50 UTC) #3
esprehn
You don't need setAttributes or the _clone methods, just use importNode. https://codereview.chromium.org/950603002/diff/1/sky/framework/sky-element.sky File sky/framework/sky-element.sky (right): ...
5 years, 10 months ago (2015-02-21 09:57:13 UTC) #5
abarth-chromium
On 2015/02/21 at 09:57:13, esprehn wrote: > You don't need setAttributes or the _clone methods, ...
5 years, 10 months ago (2015-02-21 16:00:39 UTC) #6
abarth-chromium
This appears to work the same way in the web: http://jsbin.com/tacepidigo/1/edit?html,console,output <!DOCTYPE html> <html> <body> ...
5 years, 10 months ago (2015-02-21 17:05:31 UTC) #7
abarth-chromium
Ah, *importNode*. Done. PTAL.
5 years, 10 months ago (2015-02-21 17:35:21 UTC) #8
esprehn
Please remove the Element::setAttributes code before landing, if we want that we should do it ...
5 years, 10 months ago (2015-02-21 17:41:43 UTC) #9
abarth-chromium
5 years, 10 months ago (2015-02-21 17:56:27 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
dff4b5f6f62c9cab61cb3954f0e7fc17e03de75a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698