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

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

Issue 2654123002: Autoplay muted video when visible and pause when invisible (Closed)
Patch Set: fixed tests Created 3 years, 10 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/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index d3d8cb9ff2129ed1bb357ade23ccad1ae4dbd8a0..1b3a7d95135ecac2a6aae4dffedc9f3a5ecdfd55 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -487,8 +487,6 @@ class CORE_EXPORT HTMLMediaElement
void changeNetworkStateFromLoadingToIdle();
- bool isAutoplaying() const { return m_autoplaying; }
-
WebMediaPlayer::CORSMode corsMode() const;
// Returns the "direction of playback" value as specified in the HTML5 spec.
@@ -639,7 +637,7 @@ class CORE_EXPORT HTMLMediaElement
bool m_playing : 1;
bool m_shouldDelayLoadEvent : 1;
bool m_haveFiredLoadedData : 1;
- bool m_autoplaying : 1;
+ bool m_canAutoplay : 1;
bool m_muted : 1;
bool m_paused : 1;
bool m_seeking : 1;

Powered by Google App Engine
This is Rietveld 408576698