-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add VideoGeometrySetter Service for Cobalt #4810
base: main
Are you sure you want to change the base?
Conversation
1cdc360
to
20fc77f
Compare
Copy chromecast::media::VideoGeometrySetterService to Cobalt folder, as this is needed for youtube#4810. The PR doesn't have any functional changes. b/391938746
b67c02b
to
5bd4dcf
Compare
5bd4dcf
to
d9c3095
Compare
Copy chromecast::media::VideoGeometrySetterService to Cobalt folder, as this is needed for youtube#4810. The PR doesn't have any functional changes. b/391938746
d9c3095
to
0497eb9
Compare
@@ -83,10 +84,17 @@ blink::UserAgentMetadata GetCobaltUserAgentMetadata() { | |||
return metadata; | |||
} | |||
|
|||
CobaltContentBrowserClient::CobaltContentBrowserClient() = default; | |||
CobaltContentBrowserClient::CobaltContentBrowserClient() { | |||
render_process_observer_.reset(new CobaltRenderProcessObserver()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thinksthis CL is not ready for review, but JIC nit: prefer std::make_unique<> instead of new:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This follows CobaltWebContentsObserver
, should we put all of them to std::make_unique<>
?
Copy chromecast::media::VideoGeometrySetterService to Cobalt folder, as this is needed for #4810. The PR doesn't have any functional changes. b/391938746
96701d6
to
c3b20c0
Compare
StarboardRender needs to be informed with the video geometry information from the display compositor. VideoGeometrySetter provides the IPC between the StarobardRenderer and the display compositor so the video geometry information can reach StarboardRenderer. This is from https://chromium-review.googlesource.com/c/chromium/src/+/1799692. b/391938746
c3b20c0
to
d4d4d61
Compare
StarboardRender needs to be informed with the video geometry information from the display compositor. VideoGeometrySetter provides the IPC between the StarobardRenderer and the display compositor so the video geometry information can reach StarboardRenderer.
This refers to https://chromium-review.googlesource.com/c/chromium/src/+/1799692 with the following modifications:
This CL also cleans up the old implementations for setting video bounds: #4385, because it is unnecessary with this PR.
b/391938746