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

Issue 1820023002: Implementation of chrome://cast page. (Closed)

Created:
4 years, 9 months ago by sheretov
Modified:
4 years, 6 months ago
CC:
arv+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, media-router+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implementation of chrome://cast WebUI. Spec: go/cast-setup-chrome-webui BUG=611758 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/c16319aaa8a36102549c89e7ab188528dcba813a Cr-Commit-Position: refs/heads/master@{#396501}

Patch Set 1 #

Patch Set 2 : Implementation of chrome://cast page. #

Patch Set 3 : Updated hash logic and CSS to work around extensionview rendering artifacts. #

Patch Set 4 : Minor update of cast.js logic. #

Patch Set 5 : Separated chrome://cast files from chrome://media-router files. #

Patch Set 6 : Added guestViewInternal permission for chrome://cast/* #

Total comments: 15

Patch Set 7 : Addressed review comments, added extension ID detection logic. #

Patch Set 8 : Added c/b/ui/webui/cast/OWNERS and c/b/resources/cast/OWNERS. #

Total comments: 2

Patch Set 9 : Added a TODO(crbug.com/597778) comment. #

Total comments: 10

Patch Set 10 : Addressed review comments, simplified extension ID retrieval logic to use a string resource. #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -5 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/resources/cast/OWNERS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/browser/resources/cast/cast.css View 1 2 3 4 8 9 1 chunk +13 lines, -2 lines 0 comments Download
A chrome/browser/resources/cast/cast.html View 1 2 3 4 5 6 7 8 9 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/resources/cast/cast.js View 1 2 3 4 5 6 7 8 9 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/resources/cast/cast_favicon.ico View 1 2 3 4 Binary file 0 comments Download
A chrome/browser/ui/webui/cast/OWNERS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/ui/webui/cast/cast_ui.h View 1 2 3 4 5 6 7 8 9 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/cast/cast_ui.cc View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +15 lines, -2 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M extensions/common/api/_api_features.json View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 36 (15 generated)
apacible
https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resources/cast/cast.html File chrome/browser/resources/cast/cast.html (right): https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resources/cast/cast.html#newcode5 chrome/browser/resources/cast/cast.html:5: <title>Google Cast</title> This should be translated. https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resources/cast/cast.js File chrome/browser/resources/cast/cast.js ...
4 years, 7 months ago (2016-05-16 19:04:07 UTC) #6
sheretov
https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resources/cast/cast.html File chrome/browser/resources/cast/cast.html (right): https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resources/cast/cast.html#newcode5 chrome/browser/resources/cast/cast.html:5: <title>Google Cast</title> On 2016/05/16 19:04:07, apacible wrote: > This ...
4 years, 7 months ago (2016-05-17 01:59:27 UTC) #7
sheretov
4 years, 7 months ago (2016-05-17 01:59:27 UTC) #8
apacible
lgtm if mfoltz is fine wrt method of obtaining the extension id. https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resources/cast/cast.js File chrome/browser/resources/cast/cast.js ...
4 years, 7 months ago (2016-05-18 17:30:42 UTC) #9
sheretov
https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resources/cast/cast.js File chrome/browser/resources/cast/cast.js (right): https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resources/cast/cast.js#newcode36 chrome/browser/resources/cast/cast.js:36: ev.load('chrome-extension://enhhojjnijigcajfphajepfemndkmdlo' + On 2016/05/18 17:30:42, apacible wrote: > On ...
4 years, 7 months ago (2016-05-18 18:11:11 UTC) #11
sheretov
+ bauerb for OWNERS review of chrome/browser/... + finnur for OWNERS review of extensions/common/api/_api_features.json
4 years, 7 months ago (2016-05-18 18:47:42 UTC) #13
mark a. foltz
One comment. Here's a thought: Is it required that Cast setup be in its own ...
4 years, 7 months ago (2016-05-18 21:21:05 UTC) #14
sheretov
> One comment. > > Here's a thought: Is it required that Cast setup be ...
4 years, 7 months ago (2016-05-18 21:58:32 UTC) #15
sheretov
https://codereview.chromium.org/1820023002/diff/140001/chrome/browser/ui/webui/cast/cast_ui.cc File chrome/browser/ui/webui/cast/cast_ui.cc (right): https://codereview.chromium.org/1820023002/diff/140001/chrome/browser/ui/webui/cast/cast_ui.cc#newcode31 chrome/browser/ui/webui/cast/cast_ui.cc:31: component_extension_id_ = router->media_route_provider_extension_id(); On 2016/05/18 21:21:05, mark a. foltz ...
4 years, 7 months ago (2016-05-18 21:58:47 UTC) #16
mark a. foltz
lgtm
4 years, 7 months ago (2016-05-18 22:07:38 UTC) #17
Bernhard Bauer
https://codereview.chromium.org/1820023002/diff/160001/chrome/browser/resources/cast/cast.js File chrome/browser/resources/cast/cast.js (right): https://codereview.chromium.org/1820023002/diff/160001/chrome/browser/resources/cast/cast.js#newcode11 chrome/browser/resources/cast/cast.js:11: var ev = document.querySelector('extensionview'); Don't use abbreviations in variable ...
4 years, 7 months ago (2016-05-19 14:34:07 UTC) #18
sheretov
PTAL https://codereview.chromium.org/1820023002/diff/160001/chrome/browser/resources/cast/cast.js File chrome/browser/resources/cast/cast.js (right): https://codereview.chromium.org/1820023002/diff/160001/chrome/browser/resources/cast/cast.js#newcode11 chrome/browser/resources/cast/cast.js:11: var ev = document.querySelector('extensionview'); On 2016/05/19 14:34:07, Bernhard ...
4 years, 7 months ago (2016-05-19 16:16:46 UTC) #19
Bernhard Bauer
lgtm
4 years, 7 months ago (2016-05-19 17:07:32 UTC) #20
Finnur
Sorry for the late reply -- this fell through the cracks. I think Devlin is ...
4 years, 7 months ago (2016-05-23 11:32:47 UTC) #22
sheretov
On 2016/05/23 11:32:47, Finnur wrote: > Sorry for the late reply -- this fell through ...
4 years, 7 months ago (2016-05-24 18:51:26 UTC) #23
Devlin
I'm not an OWNER in resources/ or webui/, sorry.
4 years, 7 months ago (2016-05-24 19:40:17 UTC) #24
Devlin
On 2016/05/24 19:40:17, Devlin wrote: > I'm not an OWNER in resources/ or webui/, sorry. ...
4 years, 7 months ago (2016-05-24 19:40:46 UTC) #25
Devlin
extensions lgtm
4 years, 7 months ago (2016-05-24 19:41:44 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820023002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820023002/200001
4 years, 6 months ago (2016-05-27 17:21:55 UTC) #32
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 6 months ago (2016-05-27 17:30:04 UTC) #34
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 17:31:48 UTC) #36
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/c16319aaa8a36102549c89e7ab188528dcba813a
Cr-Commit-Position: refs/heads/master@{#396501}

Powered by Google App Engine
This is Rietveld 408576698