summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 17:12:48 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 17:12:48 +0000
commit0b8a5349d939bc0d05b9b53547f033ee5f0be02a (patch)
treea41278d5fadde026ea905fceb74425d9ef45a475 /webkit/port/bindings/v8
parentf711c5e2e17977fa49ef51776a2a918f7c70cb01 (diff)
downloadchromium_src-0b8a5349d939bc0d05b9b53547f033ee5f0be02a.zip
chromium_src-0b8a5349d939bc0d05b9b53547f033ee5f0be02a.tar.gz
chromium_src-0b8a5349d939bc0d05b9b53547f033ee5f0be02a.tar.bz2
Chrome-side of WebKit merge 43321:43346
Only interesting change is in v8_custom.cpp to account for recently upstreamed V8 bindings. R=dglazkov,japhet Review URL: http://codereview.chromium.org/115090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/bindings/v8')
-rw-r--r--webkit/port/bindings/v8/v8_custom.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/webkit/port/bindings/v8/v8_custom.cpp b/webkit/port/bindings/v8/v8_custom.cpp
index f3a1c4a..bf8cefc 100644
--- a/webkit/port/bindings/v8/v8_custom.cpp
+++ b/webkit/port/bindings/v8/v8_custom.cpp
@@ -74,7 +74,6 @@
#include "HTMLCanvasElement.h"
#include "HTMLDocument.h"
#include "HTMLEmbedElement.h"
-#include "HTMLFormElement.h"
#include "HTMLFrameElement.h"
#include "HTMLFrameElementBase.h"
#include "HTMLFrameSetElement.h"
@@ -157,17 +156,6 @@ ACCESSOR_GETTER(DocumentImplementation) {
}
-INDEXED_PROPERTY_GETTER(HTMLFormElement) {
- INC_STATS("DOM.HTMLFormElement.IndexedPropertyGetter");
- HTMLFormElement* form =
- V8Proxy::DOMWrapperToNode<HTMLFormElement>(info.Holder());
-
- RefPtr<Node> result = form->elements()->item(index);
- if (!result) return v8::Handle<v8::Value>();
- return V8Proxy::NodeToV8Object(result.get());
-}
-
-
INDEXED_PROPERTY_GETTER(HTMLOptionsCollection) {
INC_STATS("DOM.HTMLOptionsCollection.IndexedPropertyGetter");
HTMLOptionsCollection* collection =
@@ -996,16 +984,6 @@ CALLBACK_FUNC_DECL(DOMWindowNOP)
}
-CALLBACK_FUNC_DECL(HTMLFormElementSubmit) {
- INC_STATS("DOM.HTMLFormElement.submit()");
-
- HTMLFormElement* form =
- V8Proxy::DOMWrapperToNative<HTMLFormElement>(args.Holder());
-
- form->submit(0, false, false);
- return v8::Undefined();
-}
-
static String EventNameFromAttributeName(const String& name) {
ASSERT(name.startsWith("on"));
String event_type = name.substring(2);