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

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

Issue 2431583004: Media Controls: don't activate buttons when tapping on hidden controls. (Closed)
Patch Set: review comments 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 f9a769e38e3d3288e2079948a0fec80f6adb5875..ed01012ff4cb30e2c8a80bf5d6a1335c43686478 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
@@ -174,6 +174,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