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

Issue 1986543002: [Media Router WebUI] Import some Polymer elements after initial load. (Closed)

Created:
4 years, 7 months ago by apacible
Modified:
4 years, 7 months ago
Reviewers:
imcheng
CC:
chromium-reviews, media-router+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Router WebUI] Import some Polymer elements after initial load. Not all of the Polymer elements imported into media-router-container are needed on startup, in particular if they require user interaction to trigger. This change moves some of them to be imported afterNextRender(). It would be great to move everything unused at initial load (e.g. route_details.html), but initial data may return before afterNextRender() is called. Initial data load times (n=20 runs, Debug build on Mac): Before: 4.3921s After: 4.1791s BUG=549289, 599693 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/85774de241f2c818a678d490c362e322f6036752 Cr-Commit-Position: refs/heads/master@{#393969}

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html View 1 chunk +0 lines, -3 lines 2 comments Download
M chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
apacible
PTAL, thanks!
4 years, 7 months ago (2016-05-16 21:07:42 UTC) #7
imcheng
Cool! lgtm https://codereview.chromium.org/1986543002/diff/20001/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html File chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html (left): https://codereview.chromium.org/1986543002/diff/20001/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html#oldcode3 chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html:3: <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/web-animations.html"> Where do we use ...
4 years, 7 months ago (2016-05-16 22:45:08 UTC) #8
apacible
https://codereview.chromium.org/1986543002/diff/20001/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html File chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html (left): https://codereview.chromium.org/1986543002/diff/20001/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html#oldcode3 chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html:3: <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/web-animations.html"> On 2016/05/16 22:45:08, imcheng wrote: > ...
4 years, 7 months ago (2016-05-16 22:54:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986543002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986543002/20001
4 years, 7 months ago (2016-05-16 22:55:16 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 7 months ago (2016-05-16 23:07:49 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 23:09:45 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/85774de241f2c818a678d490c362e322f6036752
Cr-Commit-Position: refs/heads/master@{#393969}

Powered by Google App Engine
This is Rietveld 408576698