Description was changed from ========== Implementation of chrome://cast page. ========== to ========== Implementation of chrome://cast ...
4 years, 7 months ago
(2016-05-14 02:13:24 UTC)
#1
Description was changed from
==========
Implementation of chrome://cast page.
==========
to
==========
Implementation of chrome://cast page.
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
sheretov
Description was changed from ========== Implementation of chrome://cast page. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation ========== to ========== Implementation of ...
4 years, 7 months ago
(2016-05-14 02:37:35 UTC)
#2
Description was changed from
==========
Implementation of chrome://cast page.
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
to
==========
Implementation of chrome://cast page.
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
BUG=611758
==========
sheretov
Description was changed from ========== Implementation of chrome://cast page. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation BUG=611758 ========== to ========== Please ...
4 years, 7 months ago
(2016-05-14 05:55:03 UTC)
#3
Description was changed from
==========
Implementation of chrome://cast page.
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
BUG=611758
==========
to
==========
Please take a look at the chrome://cast WebUI implementation.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
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
lgtm if mfoltz is fine wrt method of obtaining the extension id.
https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resourc...
File chrome/browser/resources/cast/cast.js (right):
https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resourc...
chrome/browser/resources/cast/cast.js:36:
ev.load('chrome-extension://enhhojjnijigcajfphajepfemndkmdlo' +
On 2016/05/17 01:59:26, sheretov wrote:
> On 2016/05/16 19:04:07, apacible wrote:
> > If this fails to load, do we expect the default "Page cannot be displayed"
> > error?
>
> We expect to get the default behavior when extensionView fails to load a URL,
> which right now results in a promise rejection error message in the JS
console,
> while the page remains blank. This shouldn't happen unless something is
> seriously broken, however.
If the extensionview fails to load the URL, could we remove/hide the
extensionview element and show an error message? It likely won't happen unless
the 1) component extension wasn't installed 2) there are other issues, so I'm
fine with this being added later.
https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resourc...
chrome/browser/resources/cast/cast.js:36:
ev.load('chrome-extension://enhhojjnijigcajfphajepfemndkmdlo' +
On 2016/05/17 01:59:26, sheretov wrote:
> On 2016/05/16 19:04:07, apacible wrote:
> > For different channels, the extension ID will be different. We keep track of
> it
> > here:
> >
>
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/med...
>
> Done, but I'm not sure if this is the right mechanism in light of
> crbug.com/597778.
mfoltz: thoughts?
sheretov
Description was changed from ========== Please take a look at the chrome://cast WebUI implementation. Spec: ...
4 years, 7 months ago
(2016-05-18 18:11:01 UTC)
#10
Description was changed from
==========
Please take a look at the chrome://cast WebUI implementation.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
to
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
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
https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resourc...
File chrome/browser/resources/cast/cast.js (right):
https://codereview.chromium.org/1820023002/diff/100001/chrome/browser/resourc...
chrome/browser/resources/cast/cast.js:36:
ev.load('chrome-extension://enhhojjnijigcajfphajepfemndkmdlo' +
On 2016/05/18 17:30:42, apacible wrote:
> On 2016/05/17 01:59:26, sheretov wrote:
> > On 2016/05/16 19:04:07, apacible wrote:
> > > If this fails to load, do we expect the default "Page cannot be displayed"
> > > error?
> >
> > We expect to get the default behavior when extensionView fails to load a
URL,
> > which right now results in a promise rejection error message in the JS
> console,
> > while the page remains blank. This shouldn't happen unless something is
> > seriously broken, however.
>
> If the extensionview fails to load the URL, could we remove/hide the
> extensionview element and show an error message? It likely won't happen unless
> the 1) component extension wasn't installed 2) there are other issues, so I'm
> fine with this being added later.
Sounds good. I'll put this in a subsequent CL.
+ 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
+ bauerb for OWNERS review of chrome/browser/...
+ finnur for OWNERS review of extensions/common/api/_api_features.json
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
One comment.
Here's a thought: Is it required that Cast setup be in its own tab? We already
have an <extensionview> in chrome://media-router that is populated with a URL
from Cast (for custom media controls). Did you consider using that to host the
setup UX instead?
https://codereview.chromium.org/1820023002/diff/140001/chrome/browser/ui/webu...
File chrome/browser/ui/webui/cast/cast_ui.cc (right):
https://codereview.chromium.org/1820023002/diff/140001/chrome/browser/ui/webu...
chrome/browser/ui/webui/cast/cast_ui.cc:31: component_extension_id_ =
router->media_route_provider_extension_id();
Digging through the MR to find out the ID of the component is something we are
trying to avoid.
I assume this is so you can construct the right URL for the <extensionview> when
you have a debug component extension installed.
Please add a TODO here like the following so we go back to fix this when we have
a better solution:
// TODO(crbug.com/597778): remove reference to MediaRouterMojoImpl
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
> One comment.
>
> Here's a thought: Is it required that Cast setup be in its own tab? We
already
> have an <extensionview> in chrome://media-router that is populated with a URL
> from Cast (for custom media controls). Did you consider using that to host
the
> setup UX instead?
Technically, merging the two pages is possible, although it would require some
careful refactoring and new logic on both sides. There are also going to be
product implications that we should discuss offline. In the meantime, I'd like
to get this in, so that we can solve the immediate problem of users running
setup on a strange-looking chrome-extension:// URL as outlined in the spec.
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
https://codereview.chromium.org/1820023002/diff/140001/chrome/browser/ui/webu...
File chrome/browser/ui/webui/cast/cast_ui.cc (right):
https://codereview.chromium.org/1820023002/diff/140001/chrome/browser/ui/webu...
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 wrote:
> Digging through the MR to find out the ID of the component is something we are
> trying to avoid.
>
> I assume this is so you can construct the right URL for the <extensionview>
when
> you have a debug component extension installed.
>
> Please add a TODO here like the following so we go back to fix this when we
have
> a better solution:
>
> // TODO(crbug.com/597778): remove reference to MediaRouterMojoImpl
Done.
mark a. foltz
lgtm
4 years, 7 months ago
(2016-05-18 22:07:38 UTC)
#17
lgtm
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
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
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
Sorry for the late reply -- this fell through the cracks.
I think Devlin is a better candidate for blessing this as my work on extensions
predates this API.
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
On 2016/05/23 11:32:47, Finnur wrote:
> Sorry for the late reply -- this fell through the cracks.
>
> I think Devlin is a better candidate for blessing this as my work on
extensions
> predates this API.
ping
Devlin
I'm not an OWNER in resources/ or webui/, sorry.
4 years, 7 months ago
(2016-05-24 19:40:17 UTC)
#24
I'm not an OWNER in resources/ or webui/, sorry.
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
On 2016/05/24 19:40:17, Devlin wrote:
> I'm not an OWNER in resources/ or webui/, sorry.
Oh, I'm just here for extensions, nvm
Devlin
extensions lgtm
4 years, 7 months ago
(2016-05-24 19:41:44 UTC)
#26
extensions lgtm
sheretov
Description was changed from ========== Implementation of chrome://cast WebUI. Spec: go/cast-setup-chrome-webui BUG=611758 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation ========== to ...
4 years, 7 months ago
(2016-05-25 02:35:50 UTC)
#27
Description was changed from
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
to
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
==========
sheretov
Description was changed from ========== Implementation of chrome://cast WebUI. Spec: go/cast-setup-chrome-webui BUG=611758 ========== to ========== ...
4 years, 6 months ago
(2016-05-27 15:48:36 UTC)
#28
Description was changed from
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
==========
to
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
sheretov
Description was changed from ========== Implementation of chrome://cast WebUI. Spec: go/cast-setup-chrome-webui BUG=611758 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation ========== to ...
4 years, 6 months ago
(2016-05-27 15:59:54 UTC)
#29
Description was changed from
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
to
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
sheretov
The CQ bit was checked by sheretov@chromium.org
4 years, 6 months ago
(2016-05-27 17:21:31 UTC)
#30
The patchset sent to the CQ was uploaded after l-g-t-m from apacible@chromium.org, mfoltz@chromium.org, bauerb@chromium.org, rdevlin.cronin@chromium.org ...
4 years, 6 months ago
(2016-05-27 17:21:31 UTC)
#31
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
Description was changed from ========== Implementation of chrome://cast WebUI. Spec: go/cast-setup-chrome-webui BUG=611758 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation ========== to ...
4 years, 6 months ago
(2016-05-27 17:30:02 UTC)
#33
Message was sent while issue was closed.
Description was changed from
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
to
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 6 months ago
(2016-05-27 17:30:04 UTC)
#34
Message was sent while issue was closed.
Committed patchset #11 (id:200001)
commit-bot: I haz the power
Description was changed from ========== Implementation of chrome://cast WebUI. Spec: go/cast-setup-chrome-webui BUG=611758 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation ========== to ...
4 years, 6 months ago
(2016-05-27 17:31:46 UTC)
#35
Message was sent while issue was closed.
Description was changed from
==========
Implementation of chrome://cast WebUI.
Spec: go/cast-setup-chrome-webui
BUG=611758
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
==========
to
==========
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}
==========
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/c16319aaa8a36102549c89e7ab188528dcba813a Cr-Commit-Position: refs/heads/master@{#396501}
4 years, 6 months ago
(2016-05-27 17:31:48 UTC)
#36
Issue 1820023002: Implementation of chrome://cast page.
(Closed)
Created 4 years, 9 months ago by sheretov
Modified 4 years, 6 months ago
Reviewers: mark a. foltz, apacible, Bernhard Bauer, Devlin, Finnur
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 27