diff options
author | Steve Block <steveblock@google.com> | 2011-05-18 13:36:51 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-05-24 15:38:28 +0100 |
commit | 2fc2651226baac27029e38c9d6ef883fa32084db (patch) | |
tree | e396d4bf89dcce6ed02071be66212495b1df1dec /Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp | |
parent | b3725cedeb43722b3b175aaeff70552e562d2c94 (diff) | |
download | external_webkit-2fc2651226baac27029e38c9d6ef883fa32084db.zip external_webkit-2fc2651226baac27029e38c9d6ef883fa32084db.tar.gz external_webkit-2fc2651226baac27029e38c9d6ef883fa32084db.tar.bz2 |
Merge WebKit at r78450: Initial merge by git.
Change-Id: I6d3e5f1f868ec266a0aafdef66182ddc3f265dc1
Diffstat (limited to 'Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp')
-rw-r--r-- | Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp b/Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp index 3ac13d1..0a869fd 100644 --- a/Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp +++ b/Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp @@ -93,6 +93,7 @@ #include "HTMLTextAreaElement.h" #include "HTMLTitleElement.h" #include "HTMLUListElement.h" +#include "HTMLVideoElement.h" #include "webkit/WebKitDOMHTMLAnchorElementPrivate.h" #include "webkit/WebKitDOMHTMLAppletElementPrivate.h" @@ -156,6 +157,7 @@ #if ENABLE(VIDEO) #include "webkit/WebKitDOMHTMLAudioElementPrivate.h" +#include "webkit/WebKitDOMHTMLVideoElementPrivate.h" #endif #include <wtf/text/CString.h> @@ -187,6 +189,11 @@ static gpointer createAudioWrapper(PassRefPtr<HTMLElement> element) { return wrapHTMLAudioElement(static_cast<HTMLAudioElement*>(element.get())); } + +static gpointer createVideoWrapper(PassRefPtr<HTMLElement> element) +{ + return wrapHTMLVideoElement(static_cast<HTMLVideoElement*>(element.get())); +} #endif static gpointer createBaseWrapper(PassRefPtr<HTMLElement> element) @@ -467,6 +474,7 @@ gpointer createHTMLElementWrapper(PassRefPtr<WebCore::HTMLElement> element) map.set(appletTag.localName().impl(), createAppletWrapper); #if ENABLE(VIDEO) map.set(audioTag.localName().impl(), createAudioWrapper); + map.set(videoTag.localName().impl(), createVideoWrapper); #endif map.set(areaTag.localName().impl(), createAreaWrapper); map.set(baseTag.localName().impl(), createBaseWrapper); |