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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp

Issue 2451653003: Media Controls: don't activate buttons when tapping on hidden controls. (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
index 3116e0f67293f68331caa3f4ec1337b03d7c43fd..3be765399d73867380fc59875efa5416c53f35aa 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
@@ -175,6 +175,10 @@ void MediaControlPanelElement::didBecomeVisible() {
mediaElement().mediaControlsDidBecomeVisible();
}
+bool MediaControlPanelElement::isOpaque() const {
+ return m_opaque;
+}
+
void MediaControlPanelElement::makeOpaque() {
if (m_opaque)
return;

Powered by Google App Engine
This is Rietveld 408576698