Index: Source/core/html/shadow/MediaControls.h |
diff --git a/Source/core/html/shadow/MediaControls.h b/Source/core/html/shadow/MediaControls.h |
index b35d6211a2bd11578c60f2f1f82997304b228e4f..66130e793f9d72f8ab9e28bea220e13ab2642439 100644 |
--- a/Source/core/html/shadow/MediaControls.h |
+++ b/Source/core/html/shadow/MediaControls.h |
@@ -103,6 +103,9 @@ private: |
// element in the page, it will be hidden. |
void tryShowOverlayCastButton(); |
+ // For the new UI, hide elements that don't fit. |
+ void hideControlsForSpace(); |
+ |
// Node |
virtual bool isMediaControls() const override { return true; } |
virtual bool willRespondToMouseMoveEvents() override { return true; } |