diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-01 17:44:09 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-01 17:44:09 +0000 |
commit | 22bec29bc3684d7b68895057217497beaee450f1 (patch) | |
tree | 5607f8a6d58c62800d9a42f777551358803f22bf | |
parent | 2e397e90870202c0dc96fc426b6de5b34c4e6c7f (diff) | |
download | chromium_src-22bec29bc3684d7b68895057217497beaee450f1.zip chromium_src-22bec29bc3684d7b68895057217497beaee450f1.tar.gz chromium_src-22bec29bc3684d7b68895057217497beaee450f1.tar.bz2 |
Implement custom methods for some Node dom calls
so that we can take advantage of lazy wrapper
initialization.
Dependent on the webkit fix.
will roll the deps for webkit as well.
Review URL: http://codereview.chromium.org/57086
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12958 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | DEPS | 2 | ||||
-rw-r--r-- | webkit/port/bindings/v8/v8_custom.h | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -19,7 +19,7 @@ deps = { "http://googletest.googlecode.com/svn/trunk@214", "src/third_party/WebKit": - "/trunk/deps/third_party/WebKit@12914", + "/trunk/deps/third_party/WebKit@12957", "src/third_party/icu38": "/trunk/deps/third_party/icu38@12390", diff --git a/webkit/port/bindings/v8/v8_custom.h b/webkit/port/bindings/v8/v8_custom.h index ca30a30..73b5f96 100644 --- a/webkit/port/bindings/v8/v8_custom.h +++ b/webkit/port/bindings/v8/v8_custom.h @@ -381,10 +381,13 @@ DECLARE_CALLBACK(LocationReload) DECLARE_CALLBACK(LocationToString) DECLARE_CALLBACK(LocationValueOf) -// Implementation of EventTarget::addEventListener -// and EventTarget::removeEventListener +// Implementation of custom Node methods. DECLARE_CALLBACK(NodeAddEventListener) DECLARE_CALLBACK(NodeRemoveEventListener) +DECLARE_CALLBACK(NodeInsertBefore) +DECLARE_CALLBACK(NodeReplaceChild) +DECLARE_CALLBACK(NodeRemoveChild) +DECLARE_CALLBACK(NodeAppendChild) // Custom implementation is Navigator properties. // We actually only need this because WebKit has |