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

Issue 2691393005: MD WebUI: create a Chrome-only <paper-ripple> that's resistant to JS jank (via web animations API) (Closed)

Created:
3 years, 10 months ago by Dan Beam
Modified:
3 years, 9 months ago
Reviewers:
oka, yawano, dpapad
CC:
chromium-reviews, dbeam+watch-polymer_chromium.org, michaelpg+watch-polymer_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD WebUI: create a Chrome-only <paper-ripple> that's resistant to JS jank (via web animations API) BUG=669592 R=dpapad@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2691393005 Cr-Commit-Position: refs/heads/master@{#452727} Committed: https://chromium.googlesource.com/chromium/src/+/8c3875d433e85fc3868d5aa1f0350c0127175973

Patch Set 1 : will-change: paper-ripple; #

Patch Set 2 : ownerDocument #

Total comments: 15

Patch Set 3 : dpapad@ review #

Total comments: 8

Patch Set 4 : . #

Patch Set 5 : closure #

Patch Set 6 : closure #

Patch Set 7 : closure #

Total comments: 4

Patch Set 8 : oka@ review #

Patch Set 9 : fix some quirks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -660 lines) Patch
M third_party/polymer/README.chromium View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple.html View 1 2 3 1 chunk +14 lines, -55 lines 0 comments Download
M third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js View 1 2 3 4 5 6 7 8 1 chunk +195 lines, -599 lines 0 comments Download
M ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/elements/files_ripple.js View 1 2 3 4 5 6 5 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 62 (46 generated)
Dan Beam
3 years, 10 months ago (2017-02-22 03:19:27 UTC) #16
dpapad
https://codereview.chromium.org/2691393005/diff/180001/third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js File third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js (right): https://codereview.chromium.org/2691393005/diff/180001/third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js#newcode3 third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js:3: var MAX_RADIUS = 300; Can we add units (px, ...
3 years, 10 months ago (2017-02-22 18:48:10 UTC) #24
Dan Beam
https://codereview.chromium.org/2691393005/diff/180001/third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js File third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js (right): https://codereview.chromium.org/2691393005/diff/180001/third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js#newcode3 third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js:3: var MAX_RADIUS = 300; On 2017/02/22 18:48:10, dpapad wrote: ...
3 years, 10 months ago (2017-02-22 20:19:14 UTC) #25
dpapad
https://codereview.chromium.org/2691393005/diff/180001/third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js File third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js (right): https://codereview.chromium.org/2691393005/diff/180001/third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js#newcode25 third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js:25: this.ripples = []; On 2017/02/22 at 20:19:14, Dan Beam ...
3 years, 10 months ago (2017-02-22 21:07:26 UTC) #26
Dan Beam
https://codereview.chromium.org/2691393005/diff/200001/third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js File third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js (right): https://codereview.chromium.org/2691393005/diff/200001/third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js#newcode3 third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js:3: var MAX_RADIUS_PX = 300; On 2017/02/22 21:07:26, dpapad wrote: ...
3 years, 10 months ago (2017-02-23 00:23:43 UTC) #27
dpapad
LGTM. There are some compilation errors to be fixed though (pasting below). ## /usr/local/google/home/dpapad/workspace/chromium1/src/third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js:47: ERROR ...
3 years, 10 months ago (2017-02-23 00:36:59 UTC) #29
Dan Beam
+yawano@ for ui/file_manager/ PaperRippleElement#animate() existing was allowing FileRipple#animate() to pass closure compilation because closure has ...
3 years, 9 months ago (2017-02-23 05:50:23 UTC) #40
yawano
ui/file_manager lgtm
3 years, 9 months ago (2017-02-23 06:22:33 UTC) #43
oka
https://codereview.chromium.org/2691393005/diff/300001/ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp File ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp (right): https://codereview.chromium.org/2691393005/diff/300001/ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp#newcode32 ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp:32: '<(DEPTH)/third_party/polymer/v1_0/components-chromium/paper-ripple/compiled_resources2.gyp:paper-ripple-extracted', Could you remove this line?
3 years, 9 months ago (2017-02-23 06:40:43 UTC) #47
oka
https://codereview.chromium.org/2691393005/diff/300001/ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp File ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp (right): https://codereview.chromium.org/2691393005/diff/300001/ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp#newcode32 ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp:32: '<(DEPTH)/third_party/polymer/v1_0/components-chromium/paper-ripple/compiled_resources2.gyp:paper-ripple-extracted', On 2017/02/23 06:40:43, oka wrote: > Could you ...
3 years, 9 months ago (2017-02-23 06:41:30 UTC) #48
Dan Beam
https://codereview.chromium.org/2691393005/diff/300001/ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp File ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp (right): https://codereview.chromium.org/2691393005/diff/300001/ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp#newcode32 ui/file_manager/file_manager/foreground/elements/compiled_resources2.gyp:32: '<(DEPTH)/third_party/polymer/v1_0/components-chromium/paper-ripple/compiled_resources2.gyp:paper-ripple-extracted', On 2017/02/23 06:41:30, oka wrote: > On 2017/02/23 ...
3 years, 9 months ago (2017-02-23 20:01:15 UTC) #49
oka
lgtm Thank you!
3 years, 9 months ago (2017-02-24 00:35:53 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2691393005/340001
3 years, 9 months ago (2017-02-24 02:54:12 UTC) #57
commit-bot: I haz the power
Committed patchset #9 (id:340001) as https://chromium.googlesource.com/chromium/src/+/8c3875d433e85fc3868d5aa1f0350c0127175973
3 years, 9 months ago (2017-02-24 02:59:31 UTC) #60
stevenjb
On 2017/02/24 02:59:31, commit-bot: I haz the power wrote: > Committed patchset #9 (id:340001) as ...
3 years, 9 months ago (2017-02-24 19:03:36 UTC) #61
Dan Beam
3 years, 9 months ago (2017-02-24 19:05:39 UTC) #62
Message was sent while issue was closed.
On 2017/02/24 19:03:36, stevenjb wrote:
> On 2017/02/24 02:59:31, commit-bot: I haz the power wrote:
> > Committed patchset #9 (id:340001) as
> >
>
https://chromium.googlesource.com/chromium/src/+/8c3875d433e85fc3868d5aa1f035...
> 
> Shouldn't we modify bower.json somehow so that reproduce.sh doesn't overwrite
> the custom paper-ripple files? (I tried locally and they were indeed
> overwritten).

what would you modify it to...?

Powered by Google App Engine
This is Rietveld 408576698