diff options
author | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-20 18:24:03 +0000 |
---|---|---|
committer | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-20 18:24:03 +0000 |
commit | 07b46427420baf9709fb6302ce4c53d76c6d29a2 (patch) | |
tree | 7741f660bc77b11e7a3ce70c13dcce8c41de74c4 /webkit/port/bindings/v8/v8_custom.h | |
parent | 836fc7063dbc85a98ab902ae768bd21d81d8f7ba (diff) | |
download | chromium_src-07b46427420baf9709fb6302ce4c53d76c6d29a2.zip chromium_src-07b46427420baf9709fb6302ce4c53d76c6d29a2.tar.gz chromium_src-07b46427420baf9709fb6302ce4c53d76c6d29a2.tar.bz2 |
what Use third_party/WebKit plugin, pluginarray, mimetype and
mimetypearray. In order to get this working, I had to
change the v8 templates to allow for both void* and
RefPtr<> types.
This has a short-term hack for using namedItem instead
of nameGetter, which I will be able to undo once I fix
https://bugs.webkit.org/show_bug.cgi?id=21606
Also, unforks Navigator.h, which will need some love
from scons/mac folk for updating build files since
Navigator.h/cpp have moved.
Review URL: http://codereview.chromium.org/7373
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/bindings/v8/v8_custom.h')
-rw-r--r-- | webkit/port/bindings/v8/v8_custom.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/port/bindings/v8/v8_custom.h b/webkit/port/bindings/v8/v8_custom.h index 101a1a5..302b80a 100644 --- a/webkit/port/bindings/v8/v8_custom.h +++ b/webkit/port/bindings/v8/v8_custom.h @@ -279,6 +279,12 @@ DECLARE_CALLBACK(ElementSetAttributeNodeNS) DECLARE_CALLBACK(EventTargetNodeAddEventListener) DECLARE_CALLBACK(EventTargetNodeRemoveEventListener) +// Custom implementation is Navigator properties. +// We actually only need this because WebKit has +// navigator.appVersion as custom. Our version just +// passes through. +DECLARE_PROPERTY_ACCESSOR(NavigatorAppVersion) + // Custom implementation of XMLHttpRequest properties DECLARE_PROPERTY_ACCESSOR(XMLHttpRequestOnabort) DECLARE_PROPERTY_ACCESSOR(XMLHttpRequestOnerror) |