Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1192)

Unified Diff: Source/core/html/shadow/MediaControls.h

Issue 1156993013: New media playback UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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; }

Powered by Google App Engine
This is Rietveld 408576698