diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-24 15:18:05 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-24 15:18:05 (GMT) |
commit | 723dfce0f2af6d93d2c1b50f5e44ad3cf63e058c (patch) | |
tree | f8e1c8693aceea8f1d2fc03d9ad1555b0a441a27 /src/3rdparty/webkit/WebCore/generated/JSHTMLMediaElement.cpp | |
parent | f90d8f3fe7e39a20b93a2ddfe0704bc48f3bd5f9 (diff) | |
parent | dab9d7c67ed2eda150c8da9e41db75f7eeeecd0d (diff) | |
download | Qt-723dfce0f2af6d93d2c1b50f5e44ad3cf63e058c.zip Qt-723dfce0f2af6d93d2c1b50f5e44ad3cf63e058c.tar.gz Qt-723dfce0f2af6d93d2c1b50f5e44ad3cf63e058c.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Conflicts:
src/gui/kernel/qapplication_x11.cpp
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSHTMLMediaElement.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSHTMLMediaElement.cpp | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSHTMLMediaElement.cpp b/src/3rdparty/webkit/WebCore/generated/JSHTMLMediaElement.cpp index 5f435f7..1f04d40 100644 --- a/src/3rdparty/webkit/WebCore/generated/JSHTMLMediaElement.cpp +++ b/src/3rdparty/webkit/WebCore/generated/JSHTMLMediaElement.cpp @@ -20,23 +20,20 @@ #include "config.h" - #if ENABLE(VIDEO) #include "JSHTMLMediaElement.h" -#include <wtf/GetPtr.h> - #include "HTMLMediaElement.h" #include "JSMediaError.h" #include "JSTimeRanges.h" #include "KURL.h" #include "MediaError.h" #include "TimeRanges.h" - #include <runtime/Error.h> #include <runtime/JSNumberCell.h> #include <runtime/JSString.h> +#include <wtf/GetPtr.h> using namespace JSC; @@ -46,7 +43,7 @@ ASSERT_CLASS_FITS_IN_CELL(JSHTMLMediaElement); /* Hash table */ -static const HashTableValue JSHTMLMediaElementTableValues[24] = +static const HashTableValue JSHTMLMediaElementTableValues[25] = { { "error", DontDelete|ReadOnly, (intptr_t)jsHTMLMediaElementError, (intptr_t)0 }, { "src", DontDelete, (intptr_t)jsHTMLMediaElementSrc, (intptr_t)setJSHTMLMediaElementSrc }, @@ -70,6 +67,7 @@ static const HashTableValue JSHTMLMediaElementTableValues[24] = { "controls", DontDelete, (intptr_t)jsHTMLMediaElementControls, (intptr_t)setJSHTMLMediaElementControls }, { "volume", DontDelete, (intptr_t)jsHTMLMediaElementVolume, (intptr_t)setJSHTMLMediaElementVolume }, { "muted", DontDelete, (intptr_t)jsHTMLMediaElementMuted, (intptr_t)setJSHTMLMediaElementMuted }, + { "webkitPreservesPitch", DontDelete, (intptr_t)jsHTMLMediaElementWebkitPreservesPitch, (intptr_t)setJSHTMLMediaElementWebkitPreservesPitch }, { "constructor", DontEnum|ReadOnly, (intptr_t)jsHTMLMediaElementConstructor, (intptr_t)0 }, { 0, 0, 0, 0 } }; @@ -78,7 +76,7 @@ static const HashTable JSHTMLMediaElementTable = #if ENABLE(PERFECT_HASH_SIZE) { 1023, JSHTMLMediaElementTableValues, 0 }; #else - { 67, 63, JSHTMLMediaElementTableValues, 0 }; + { 68, 63, JSHTMLMediaElementTableValues, 0 }; #endif /* Hash table for constructor */ @@ -340,6 +338,13 @@ JSValue jsHTMLMediaElementMuted(ExecState* exec, const Identifier&, const Proper return jsBoolean(imp->muted()); } +JSValue jsHTMLMediaElementWebkitPreservesPitch(ExecState* exec, const Identifier&, const PropertySlot& slot) +{ + UNUSED_PARAM(exec); + HTMLMediaElement* imp = static_cast<HTMLMediaElement*>(static_cast<JSHTMLMediaElement*>(asObject(slot.slotBase()))->impl()); + return jsBoolean(imp->webkitPreservesPitch()); +} + JSValue jsHTMLMediaElementConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot) { return static_cast<JSHTMLMediaElement*>(asObject(slot.slotBase()))->getConstructor(exec); @@ -413,6 +418,12 @@ void setJSHTMLMediaElementMuted(ExecState* exec, JSObject* thisObject, JSValue v imp->setMuted(value.toBoolean(exec)); } +void setJSHTMLMediaElementWebkitPreservesPitch(ExecState* exec, JSObject* thisObject, JSValue value) +{ + HTMLMediaElement* imp = static_cast<HTMLMediaElement*>(static_cast<JSHTMLMediaElement*>(thisObject)->impl()); + imp->setWebkitPreservesPitch(value.toBoolean(exec)); +} + JSValue JSHTMLMediaElement::getConstructor(ExecState* exec) { return getDOMConstructor<JSHTMLMediaElementConstructor>(exec); |