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

Unified Diff: third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp

Issue 276011: [v8] Check for availablity of the media engine (Closed)
Patch Set: only diffs Created 11 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/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
diff --git a/third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp b/third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
index c3d781e93def6e126d144af29ee0754083cb27b9..03d480e7b0dfdc3e7b4330be4fc37b9675b5f22e 100644
--- a/third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
+++ b/third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
@@ -242,6 +242,26 @@ ACCESSOR_RUNTIME_ENABLER(DOMWindowAudio)
return MediaPlayer::isAvailable();
}
+ACCESSOR_RUNTIME_ENABLER(DOMWindowHTMLMediaElement)
+{
+ return MediaPlayer::isAvailable();
+}
+
+ACCESSOR_RUNTIME_ENABLER(DOMWindowHTMLAudioElement)
+{
+ return MediaPlayer::isAvailable();
+}
+
+ACCESSOR_RUNTIME_ENABLER(DOMWindowHTMLVideoElement)
+{
+ return MediaPlayer::isAvailable();
+}
+
+ACCESSOR_RUNTIME_ENABLER(DOMWindowMediaError)
+{
+ return MediaPlayer::isAvailable();
+}
+
#endif
#if ENABLE(SHARED_WORKERS)

Powered by Google App Engine
This is Rietveld 408576698