| Index: third_party/WebKit/Source/core/html/shadow/MediaControls.h
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.h b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
|
| index b2046b6cbf97cd441b9544e5aaa4bb1c7126c58c..74805310d50a486754080001c24d9494b9eecfb0 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h
|
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
|
| @@ -110,6 +110,13 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
|
| refreshCastButtonVisibility();
|
| }
|
|
|
| + // TODO(mlamouri): this method is needed in order to notify the controls that
|
| + // the `mediaControlsEnabled` setting has changed.
|
| + void onMediaControlsEnabledChange() {
|
| + // There is no update because only the overlay is expected to change.
|
| + refreshCastButtonVisibilityWithoutUpdate();
|
| + }
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
|
|