Commit 3c57a7ac authored by Yuanyao Zhong's avatar Yuanyao Zhong Committed by Commit Bot

[chromecast] Add force_720p_resolution in CastWebView::CreateParams

Bug: b/74442987
Test: build cast_shell
Change-Id: Id8b10f928176682ac940dffdaadbbe2853e41cca
Reviewed-on: https://chromium-review.googlesource.com/1096354Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
Commit-Queue: Yuanyao Zhong <yyzhong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566645}
parent 6c448b73
......@@ -29,4 +29,6 @@ void CastWebView::RemoveObserver(CastWebView::Observer* observer) {
observer_list_.RemoveObserver(observer);
}
CastWebView::CreateParams::CreateParams() {}
} // namespace chromecast
......@@ -94,6 +94,11 @@ class CastWebView {
// functionality for the WebContents, like remote debugging and debugging
// interfaces.
bool enabled_for_dev = false;
// Enable/Force 720p resolution for this CastWebView instance.
bool force_720p_resolution = false;
CreateParams();
};
CastWebView();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment