Chromium Code Reviews

Unified Diff: Source/core/html/HTMLMediaElement.h

Issue 1018593004: Implement <video controls> dodging for text track layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: braces Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index 06cb425ff88e530813761940ec6ea550653efed8..6749d07d3465b3053d65296d1043b9749a3befe8 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -236,6 +236,10 @@ public:
// Note that this can be non-null even if there is no controls attribute.
MediaControls* mediaControls() const;
+ // Notifies the media element that the media controls became visible, so
+ // that text track layout may be updated to avoid overlapping them.
+ void mediaControlsDidBecomeVisible();
+
void sourceWasRemoved(HTMLSourceElement*);
void sourceWasAdded(HTMLSourceElement*);

Powered by Google App Engine