diff options
author | dglazkov@google.com <dglazkov@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-11 16:53:57 +0000 |
---|---|---|
committer | dglazkov@google.com <dglazkov@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-11 16:53:57 +0000 |
commit | a8584d1e50d984f782bcc5d67a3efff83057255a (patch) | |
tree | 1a3d3e6bff5a6f4910d5636ceb26cf73b482da10 /webkit | |
parent | 1dca0cbebf145b2982842798ea25808b81b81bee (diff) | |
download | chromium_src-a8584d1e50d984f782bcc5d67a3efff83057255a.zip chromium_src-a8584d1e50d984f782bcc5d67a3efff83057255a.tar.gz chromium_src-a8584d1e50d984f782bcc5d67a3efff83057255a.tar.bz2 |
Scrubbing HTML options/collections, Chromium side.
R=darin
Review URL: http://codereview.chromium.org/21237
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9568 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/build/V8Bindings/SConscript | 9 | ||||
-rw-r--r-- | webkit/build/V8Bindings/V8Bindings.vcproj | 32 | ||||
-rw-r--r-- | webkit/port/bindings/v8/v8_custom.cpp | 229 | ||||
-rw-r--r-- | webkit/port/bindings/v8/v8_custom.h | 25 | ||||
-rw-r--r-- | webkit/port/bindings/v8/v8_vectornodelist.cpp | 58 | ||||
-rw-r--r-- | webkit/port/bindings/v8/v8_vectornodelist.h | 34 | ||||
-rw-r--r-- | webkit/webkit.xcodeproj/project.pbxproj | 26 |
7 files changed, 78 insertions, 335 deletions
diff --git a/webkit/build/V8Bindings/SConscript b/webkit/build/V8Bindings/SConscript index 4c368ca..c863fea 100644 --- a/webkit/build/V8Bindings/SConscript +++ b/webkit/build/V8Bindings/SConscript @@ -338,7 +338,6 @@ inputs = [ '$PORT_DIR/bindings/v8/v8_np_utils.cpp', '$PORT_DIR/bindings/v8/v8_npobject.cpp', '$PORT_DIR/bindings/v8/v8_proxy.cpp', - '$PORT_DIR/bindings/v8/v8_vectornodelist.cpp', '$PORT_DIR/bindings/v8/V8CanvasPixelArrayCustom.cpp', '$PORT_DIR/bindings/v8/V8MessagePortCustom.cpp', '$PORT_DIR/bindings/v8/V8WorkerContextCustom.cpp', @@ -350,8 +349,16 @@ inputs = [ '$PORT_DIR/bindings/v8/extensions/Interval.cpp', '$PORT_DIR/bindings/v8/extensions/Playback.cpp', + '$WEBCORE_DIR/bindings/v8/custom/V8HTMLCollectionCustom.cpp', + '$WEBCORE_DIR/bindings/v8/custom/V8HTMLFormElementCustom.cpp', '$WEBCORE_DIR/bindings/v8/custom/V8HTMLInputElementCustom.cpp', '$WEBCORE_DIR/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp', + '$WEBCORE_DIR/bindings/v8/custom/V8HTMLInputElementCustom.cpp', + '$WEBCORE_DIR/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp', + '$WEBCORE_DIR/bindings/v8/custom/V8HTMLSelectElementCustom.cpp', + '$WEBCORE_DIR/bindings/v8/custom/V8HTMLSelectElementCustom.h', + '$WEBCORE_DIR/bindings/v8/custom/V8NamedNodesCollection.cpp', + '$WEBCORE_DIR/bindings/v8/custom/V8NamedNodesCollection.h', '$WEBCORE_DIR/bindings/v8/custom/V8SVGElementInstanceCustom.cpp', '$WEBCORE_DIR/bindings/v8/custom/V8SVGLengthCustom.cpp', '$WEBCORE_DIR/bindings/v8/custom/V8SVGMatrixCustom.cpp', diff --git a/webkit/build/V8Bindings/V8Bindings.vcproj b/webkit/build/V8Bindings/V8Bindings.vcproj index d390b16..b836735 100644 --- a/webkit/build/V8Bindings/V8Bindings.vcproj +++ b/webkit/build/V8Bindings/V8Bindings.vcproj @@ -136,6 +136,14 @@ > </File> <File + RelativePath="..\..\..\third_party\WebKit\WebCore\bindings\v8\custom\V8HTMLCollectionCustom.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\WebCore\bindings\v8\custom\V8HTMLFormElementCustom.cpp" + > + </File> + <File RelativePath="..\..\..\third_party\WebKit\WebCore\bindings\v8\custom\V8HTMLInputElementCustom.cpp" > </File> @@ -144,6 +152,22 @@ > </File> <File + RelativePath="..\..\..\third_party\WebKit\WebCore\bindings\v8\custom\V8HTMLSelectElementCustom.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\WebCore\bindings\v8\custom\V8HTMLSelectElementCustom.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\WebCore\bindings\v8\custom\V8NamedNodesCollection.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\WebCore\bindings\v8\custom\V8NamedNodesCollection.h" + > + </File> + <File RelativePath="..\..\..\third_party\WebKit\WebCore\bindings\v8\custom\V8SVGElementInstanceCustom.cpp" > </File> @@ -2685,14 +2709,6 @@ > </File> <File - RelativePath="..\..\port\bindings\v8\v8_vectornodelist.cpp" - > - </File> - <File - RelativePath="..\..\port\bindings\v8\v8_vectornodelist.h" - > - </File> - <File RelativePath="..\..\..\third_party\WebKit\WebCore\bindings\v8\V8Binding.h" > </File> diff --git a/webkit/port/bindings/v8/v8_custom.cpp b/webkit/port/bindings/v8/v8_custom.cpp index d238471..5001a4a 100644 --- a/webkit/port/bindings/v8/v8_custom.cpp +++ b/webkit/port/bindings/v8/v8_custom.cpp @@ -30,7 +30,6 @@ #include "v8_events.h" #include "v8_binding.h" #include "v8_npobject.h" -#include "v8_vectornodelist.h" #include "v8_custom.h" #include "V8Attr.h" @@ -93,6 +92,7 @@ #include "MessagePort.h" #include "MouseEvent.h" #include "NodeIterator.h" +#include "NodeList.h" #include "Page.h" #include "PlatformScreen.h" #include "RGBColor.h" @@ -127,31 +127,6 @@ static const int kPopupTilePixels = 10; namespace WebCore { -#define NAMED_PROPERTY_GETTER(NAME) \ -v8::Handle<v8::Value> V8Custom::v8##NAME##NamedPropertyGetter(\ - v8::Local<v8::String> name, const v8::AccessorInfo& info) - -#define NAMED_PROPERTY_SETTER(NAME) \ -v8::Handle<v8::Value> V8Custom::v8##NAME##NamedPropertySetter(\ - v8::Local<v8::String> name, v8::Local<v8::Value> value, \ - const v8::AccessorInfo& info) - -#define NAMED_PROPERTY_DELETER(NAME) \ -v8::Handle<v8::Boolean> V8Custom::v8##NAME##NamedPropertyDeleter(\ - v8::Local<v8::String> name, const v8::AccessorInfo& info) - -#define NAMED_ACCESS_CHECK(NAME) \ -bool V8Custom::v8##NAME##NamedSecurityCheck(v8::Local<v8::Object> host, \ - v8::Local<v8::Value> key, \ - v8::AccessType type, \ - v8::Local<v8::Value> data) - -#define INDEXED_ACCESS_CHECK(NAME) \ -bool V8Custom::v8##NAME##IndexedSecurityCheck(v8::Local<v8::Object> host, \ - uint32_t index, \ - v8::AccessType type, \ - v8::Local<v8::Value> data) - class V8ScheduledAction : public ScheduledAction { public: V8ScheduledAction(v8::Handle<v8::Function> func, int argc, @@ -644,179 +619,6 @@ ACCESSOR_GETTER(EventClipboardData) { } -static v8::Handle<v8::Value> HTMLCollectionGetNamedItems( - HTMLCollection* collection, String name) { - Vector<RefPtr<Node> > namedItems; - collection->namedItems(name, namedItems); - switch (namedItems.size()) { - case 0: - return v8::Handle<v8::Value>(); - case 1: - return V8Proxy::NodeToV8Object(namedItems.at(0).get()); - default: - NodeList* list = new V8VectorNodeList(namedItems); - return V8Proxy::ToV8Object(V8ClassIndex::NODELIST, list); - } -} - - -static v8::Handle<v8::Value> HTMLCollectionGetItem( - HTMLCollection* collection, v8::Handle<v8::Value> argument) { - v8::Local<v8::Uint32> index = argument->ToArrayIndex(); - if (index.IsEmpty()) { - v8::Handle<v8::String> str = argument->ToString(); - v8::Handle<v8::Value> result = - HTMLCollectionGetNamedItems(collection, ToWebCoreString(str)); - if (result.IsEmpty()) - return v8::Undefined(); - else - return result; - } - unsigned i = index->Uint32Value(); - RefPtr<Node> result = collection->item(i); - return V8Proxy::NodeToV8Object(result.get()); -} - - -NAMED_PROPERTY_GETTER(HTMLCollection) { - INC_STATS("DOM.HTMLCollection.NamedPropertyGetter"); - // Search the prototype chain first. - v8::Handle<v8::Value> value = - info.Holder()->GetRealNamedPropertyInPrototypeChain(name); - - if (!value.IsEmpty()) { - return value; - } - - // Search local callback properties next to find IDL defined - // properties. - if (info.Holder()->HasRealNamedCallbackProperty(name)) { - return v8::Handle<v8::Value>(); - } - - // Finally, search the DOM structure. - HTMLCollection* imp = V8Proxy::ToNativeObject<HTMLCollection>( - V8ClassIndex::HTMLCOLLECTION, info.Holder()); - String key = ToWebCoreString(name); - return HTMLCollectionGetNamedItems(imp, key); -} - - -CALLBACK_FUNC_DECL(HTMLCollectionItem) { - INC_STATS("DOM.HTMLCollection.item()"); - HTMLCollection* imp = V8Proxy::ToNativeObject<HTMLCollection>( - V8ClassIndex::HTMLCOLLECTION, args.Holder()); - return HTMLCollectionGetItem(imp, args[0]); -} - - -CALLBACK_FUNC_DECL(HTMLCollectionNamedItem) { - INC_STATS("DOM.HTMLCollection.namedItem()"); - HTMLCollection* imp = V8Proxy::ToNativeObject<HTMLCollection>( - V8ClassIndex::HTMLCOLLECTION, args.Holder()); - String name = ToWebCoreString(args[0]); - v8::Handle<v8::Value> result = - HTMLCollectionGetNamedItems(imp, name); - if (result.IsEmpty()) - return v8::Undefined(); - else - return result; -} - - -CALLBACK_FUNC_DECL(HTMLCollectionCallAsFunction) { - INC_STATS("DOM.HTMLCollection.callAsFunction()"); - if (args.Length() < 1) return v8::Undefined(); - - HTMLCollection* imp = V8Proxy::ToNativeObject<HTMLCollection>( - V8ClassIndex::HTMLCOLLECTION, args.Holder()); - - if (args.Length() == 1) { - return HTMLCollectionGetItem(imp, args[0]); - } - - // If there is a second argument it is the index of the item we - // want. - String name = ToWebCoreString(args[0]); - v8::Local<v8::Uint32> index = args[1]->ToArrayIndex(); - if (index.IsEmpty()) return v8::Undefined(); - unsigned i = index->Uint32Value(); - Node* node = imp->namedItem(name); - while (node) { - if (i == 0) return V8Proxy::NodeToV8Object(node); - node = imp->nextNamedItem(name); - i--; - } - - return v8::Undefined(); -} - - -static v8::Handle<v8::Value> V8HTMLSelectElementRemoveHelper( - HTMLSelectElement* imp, const v8::Arguments& args) { - if (V8HTMLOptionElement::HasInstance(args[0])) { - HTMLOptionElement* element = - V8Proxy::DOMWrapperToNode<HTMLOptionElement>(args[0]); - imp->remove(element->index()); - return v8::Undefined(); - } - - imp->remove(ToInt32(args[0])); - return v8::Undefined(); -} - -CALLBACK_FUNC_DECL(HTMLSelectElementRemove) { - INC_STATS("DOM.HTMLSelectElement.remove"); - HTMLSelectElement* imp = - V8Proxy::DOMWrapperToNode<HTMLSelectElement>(args.Holder()); - return V8HTMLSelectElementRemoveHelper(imp, args); -} - -CALLBACK_FUNC_DECL(HTMLOptionsCollectionRemove) { - INC_STATS("DOM.HTMLOptionsCollection.remove()"); - HTMLOptionsCollection* imp = - V8Proxy::ToNativeObject<HTMLOptionsCollection>( - V8ClassIndex::HTMLOPTIONSCOLLECTION, args.Holder()); - HTMLSelectElement* base = static_cast<HTMLSelectElement*>(imp->base()); - return V8HTMLSelectElementRemoveHelper(base, args); -} - - -CALLBACK_FUNC_DECL(HTMLOptionsCollectionAdd) { - INC_STATS("DOM.HTMLOptionsCollection.add()"); - if (!V8HTMLOptionElement::HasInstance(args[0])) { - V8Proxy::SetDOMException(TYPE_MISMATCH_ERR); - return v8::Undefined(); - } - HTMLOptionsCollection* imp = - V8Proxy::ToNativeObject<HTMLOptionsCollection>( - V8ClassIndex::HTMLOPTIONSCOLLECTION, args.Holder()); - HTMLOptionElement* option = - V8Proxy::DOMWrapperToNode<HTMLOptionElement>(args[0]); - - ExceptionCode ec = 0; - if (args.Length() < 2) { - imp->add(option, ec); - } else { - bool ok; - v8::TryCatch try_catch; - int index = ToInt32(args[1], ok); - if (try_catch.HasCaught()) { - return v8::Undefined(); - } - if (!ok) { - ec = TYPE_MISMATCH_ERR; - } else { - imp->add(option, index, ec); - } - } - if (ec != 0) { - V8Proxy::SetDOMException(ec); - } - return v8::Undefined(); -} - - INDEXED_PROPERTY_GETTER(DOMStringList) { INC_STATS("DOM.DOMStringList.IndexedPropertyGetter"); DOMStringList* imp = @@ -1503,35 +1305,6 @@ NAMED_PROPERTY_GETTER(HTMLFrameSetElement) } -NAMED_PROPERTY_GETTER(HTMLFormElement) { - INC_STATS("DOM.HTMLFormElement.NamedPropertyGetter"); - HTMLFormElement* imp = - V8Proxy::DOMWrapperToNode<HTMLFormElement>(info.Holder()); - String v = ToWebCoreString(name); - - // Call getNamedElements twice, first time check if it has a value - // and let HTMLFormElement update its cache. - // See issue: 867404 - { - Vector<RefPtr<Node> > elements; - imp->getNamedElements(v, elements); - if (elements.size() == 0) - return v8::Handle<v8::Value>(); - } - // Second call may return different results from the first call, - // but if the first the size cannot be zero. - Vector<RefPtr<Node> > elements; - imp->getNamedElements(v, elements); - ASSERT(elements.size() != 0); - if (elements.size() == 1) { - return V8Proxy::NodeToV8Object(elements.at(0).get()); - } else { - NodeList* collection = new V8VectorNodeList(elements); - return V8Proxy::ToV8Object(V8ClassIndex::NODELIST, collection); - } -} - - INDEXED_PROPERTY_GETTER(NamedNodeMap) { INC_STATS("DOM.NamedNodeMap.IndexedPropertyGetter"); NamedNodeMap* imp = V8Proxy::ToNativeObject<NamedNodeMap>( diff --git a/webkit/port/bindings/v8/v8_custom.h b/webkit/port/bindings/v8/v8_custom.h index d27ed41..ea6c1da 100644 --- a/webkit/port/bindings/v8/v8_custom.h +++ b/webkit/port/bindings/v8/v8_custom.h @@ -34,6 +34,31 @@ v8::Handle<v8::Value> V8Custom::v8##NAME##IndexedPropertySetter(\ v8::Handle<v8::Boolean> V8Custom::v8##NAME##IndexedPropertyDeleter(\ uint32_t index, const v8::AccessorInfo& info) +#define NAMED_PROPERTY_GETTER(NAME) \ + v8::Handle<v8::Value> V8Custom::v8##NAME##NamedPropertyGetter(\ + v8::Local<v8::String> name, const v8::AccessorInfo& info) + +#define NAMED_PROPERTY_SETTER(NAME) \ + v8::Handle<v8::Value> V8Custom::v8##NAME##NamedPropertySetter(\ + v8::Local<v8::String> name, v8::Local<v8::Value> value, \ + const v8::AccessorInfo& info) + +#define NAMED_PROPERTY_DELETER(NAME) \ + v8::Handle<v8::Boolean> V8Custom::v8##NAME##NamedPropertyDeleter(\ + v8::Local<v8::String> name, const v8::AccessorInfo& info) + +#define NAMED_ACCESS_CHECK(NAME) \ + bool V8Custom::v8##NAME##NamedSecurityCheck(v8::Local<v8::Object> host, \ + v8::Local<v8::Value> key, \ + v8::AccessType type, \ + v8::Local<v8::Value> data) + +#define INDEXED_ACCESS_CHECK(NAME) \ + bool V8Custom::v8##NAME##IndexedSecurityCheck(v8::Local<v8::Object> host, \ + uint32_t index, \ + v8::AccessType type, \ + v8::Local<v8::Value> data) + namespace WebCore { class Frame; diff --git a/webkit/port/bindings/v8/v8_vectornodelist.cpp b/webkit/port/bindings/v8/v8_vectornodelist.cpp deleted file mode 100644 index f9341aa..0000000 --- a/webkit/port/bindings/v8/v8_vectornodelist.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) 2008, Google Inc. -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -#include "config.h" - -#include "v8_vectornodelist.h" -#include "Element.h" -#include "NamedAttrMap.h" // Node::attributes - -namespace WebCore { - -unsigned V8VectorNodeList::length() const { - return m_nodes.size(); -} - -Node* V8VectorNodeList::item(unsigned index) const { - if (index < m_nodes.size()) - return m_nodes[index].get(); - return 0; -} - -Node* V8VectorNodeList::itemWithName(const AtomicString& id) const { - for (unsigned i = 0; i < m_nodes.size(); i++) { - Node* node = m_nodes[i].get(); - if (node->hasAttributes() && node->attributes()->id() == id) { - return node; - } - } - return 0; -} - -} // namespace WebCore diff --git a/webkit/port/bindings/v8/v8_vectornodelist.h b/webkit/port/bindings/v8/v8_vectornodelist.h deleted file mode 100644 index 2b7d0c6..0000000 --- a/webkit/port/bindings/v8/v8_vectornodelist.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef V8_VECTORNODELIST_H__ -#define V8_VECTORNODELIST_H__ - -#include "config.h" -#include <v8.h> -#include "Node.h" -#include "NodeList.h" -#include <wtf/RefPtr.h> -#include <wtf/Vector.h> - -namespace WebCore { - -// A NodeList backed by a Vector of Nodes. -class V8VectorNodeList : public NodeList { - public: - explicit V8VectorNodeList(const Vector<RefPtr<Node> >& nodes) - : m_nodes(nodes) { } - virtual unsigned length() const; - virtual Node* item(unsigned index) const; - virtual Node* itemWithName(const AtomicString& name) const; - - private: - Vector<RefPtr<Node> > m_nodes; -}; - - -} // namespace WebCore - -#endif // V8_VECTORNODELIST_H__ - diff --git a/webkit/webkit.xcodeproj/project.pbxproj b/webkit/webkit.xcodeproj/project.pbxproj index cef7942..d390d27 100644 --- a/webkit/webkit.xcodeproj/project.pbxproj +++ b/webkit/webkit.xcodeproj/project.pbxproj @@ -53,6 +53,10 @@ 41DE748E0F3CDBCB0049BC24 /* V8SVGMatrixCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41DE748B0F3CDBCB0049BC24 /* V8SVGMatrixCustom.cpp */; }; 41DE7B6C0F40EA5F0049BC24 /* V8HTMLOptionsCollectionCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41DE7B6B0F40EA5F0049BC24 /* V8HTMLOptionsCollectionCustom.cpp */; }; 41DE7B6F0F40EA7C0049BC24 /* V8HTMLInputElementCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41DE7B6E0F40EA7C0049BC24 /* V8HTMLInputElementCustom.cpp */; }; + 41DE7C970F424AAC0049BC24 /* V8HTMLCollectionCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41DE7C960F424AAC0049BC24 /* V8HTMLCollectionCustom.cpp */; }; + 41DE7C9E0F424ACD0049BC24 /* V8HTMLFormElementCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41DE7C9D0F424ACD0049BC24 /* V8HTMLFormElementCustom.cpp */; }; + 41DE7CA00F424AE80049BC24 /* V8HTMLSelectElementCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41DE7C9F0F424AE80049BC24 /* V8HTMLSelectElementCustom.cpp */; }; + 41DE7CA30F424B020049BC24 /* V8NamedNodesCollection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41DE7CA20F424B020049BC24 /* V8NamedNodesCollection.cpp */; }; 41DEA0680F27C0F900E40D43 /* BackForwardListChromium.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41DEA0670F27C0F900E40D43 /* BackForwardListChromium.cpp */; }; 453FFDF935221CD484A3AFED /* Interval.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35DEC96C125DC674B5C9FA27 /* Interval.cpp */; }; 489B04B64226A8BC625C0DDB /* RenderLineBoxList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 03F1A9ED31C43E9C91A48AE0 /* RenderLineBoxList.cpp */; }; @@ -1000,7 +1004,6 @@ 938447970F16B06E0075F4C5 /* v8_np_utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B0095E60DAFF0DC00F72082 /* v8_np_utils.cpp */; }; 938447980F16B06E0075F4C5 /* v8_npobject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B0095E80DAFF0DD00F72082 /* v8_npobject.cpp */; }; 938447990F16B06E0075F4C5 /* v8_proxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B0095EA0DAFF0DD00F72082 /* v8_proxy.cpp */; }; - 9384479A0F16B06E0075F4C5 /* v8_vectornodelist.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B0095ED0DAFF0DD00F72082 /* v8_vectornodelist.cpp */; }; 9384479B0F16B06E0075F4C5 /* V8Attr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B00913F0DAFEFE200F72082 /* V8Attr.cpp */; }; 9384479C0F16B06E0075F4C5 /* V8BarInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B0091410DAFEFE200F72082 /* V8BarInfo.cpp */; }; 9384479D0F16B06E0075F4C5 /* V8CanvasGradient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B0091430DAFEFE200F72082 /* V8CanvasGradient.cpp */; }; @@ -1571,6 +1574,12 @@ 41DE748B0F3CDBCB0049BC24 /* V8SVGMatrixCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = V8SVGMatrixCustom.cpp; sourceTree = "<group>"; }; 41DE7B6B0F40EA5F0049BC24 /* V8HTMLOptionsCollectionCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = V8HTMLOptionsCollectionCustom.cpp; sourceTree = "<group>"; }; 41DE7B6E0F40EA7C0049BC24 /* V8HTMLInputElementCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = V8HTMLInputElementCustom.cpp; sourceTree = "<group>"; }; + 41DE7C960F424AAC0049BC24 /* V8HTMLCollectionCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = V8HTMLCollectionCustom.cpp; sourceTree = "<group>"; }; + 41DE7C9D0F424ACD0049BC24 /* V8HTMLFormElementCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = V8HTMLFormElementCustom.cpp; sourceTree = "<group>"; }; + 41DE7C9F0F424AE80049BC24 /* V8HTMLSelectElementCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = V8HTMLSelectElementCustom.cpp; sourceTree = "<group>"; }; + 41DE7CA10F424B020049BC24 /* V8NamedNodesCollection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = V8NamedNodesCollection.h; sourceTree = "<group>"; }; + 41DE7CA20F424B020049BC24 /* V8NamedNodesCollection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = V8NamedNodesCollection.cpp; sourceTree = "<group>"; }; + 41DE7CA40F424BEE0049BC24 /* V8HTMLSelectElementCustom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = V8HTMLSelectElementCustom.h; sourceTree = "<group>"; }; 41DEA0670F27C0F900E40D43 /* BackForwardListChromium.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BackForwardListChromium.cpp; sourceTree = "<group>"; }; 41F1D4620EF70D1600DA8753 /* FontFastPath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FontFastPath.cpp; sourceTree = "<group>"; }; 4C04BF9CDE7B0B591087B440 /* RenderObjectChildList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderObjectChildList.h; sourceTree = "<group>"; }; @@ -2432,8 +2441,6 @@ 7B0095EA0DAFF0DD00F72082 /* v8_proxy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = v8_proxy.cpp; sourceTree = "<group>"; }; 7B0095EB0DAFF0DD00F72082 /* v8_proxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = v8_proxy.h; sourceTree = "<group>"; }; 7B0095EC0DAFF0DD00F72082 /* v8_utility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = v8_utility.h; sourceTree = "<group>"; }; - 7B0095ED0DAFF0DD00F72082 /* v8_vectornodelist.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = v8_vectornodelist.cpp; sourceTree = "<group>"; }; - 7B0095EE0DAFF0DD00F72082 /* v8_vectornodelist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = v8_vectornodelist.h; sourceTree = "<group>"; }; 7B0E595B0DB3D195007D4907 /* IconDatabase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IconDatabase.h; path = icon/IconDatabase.h; sourceTree = "<group>"; }; 7B0E595C0DB3D195007D4907 /* IconDatabaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IconDatabaseClient.h; path = icon/IconDatabaseClient.h; sourceTree = "<group>"; }; 7B0E595D0DB3D195007D4907 /* IconDatabaseNone.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IconDatabaseNone.cpp; path = icon/IconDatabaseNone.cpp; sourceTree = "<group>"; }; @@ -4518,8 +4525,14 @@ children = ( 41DE74870F3CDBCB0049BC24 /* V8CustomBinding.h */, 41DE74880F3CDBCB0049BC24 /* V8CustomEventListener.h */, + 41DE7C960F424AAC0049BC24 /* V8HTMLCollectionCustom.cpp */, + 41DE7C9D0F424ACD0049BC24 /* V8HTMLFormElementCustom.cpp */, 41DE7B6E0F40EA7C0049BC24 /* V8HTMLInputElementCustom.cpp */, 41DE7B6B0F40EA5F0049BC24 /* V8HTMLOptionsCollectionCustom.cpp */, + 41DE7CA40F424BEE0049BC24 /* V8HTMLSelectElementCustom.h */, + 41DE7C9F0F424AE80049BC24 /* V8HTMLSelectElementCustom.cpp */, + 41DE7CA20F424B020049BC24 /* V8NamedNodesCollection.cpp */, + 41DE7CA10F424B020049BC24 /* V8NamedNodesCollection.h */, 41DE74890F3CDBCB0049BC24 /* V8SVGElementInstanceCustom.cpp */, 41DE748A0F3CDBCB0049BC24 /* V8SVGLengthCustom.cpp */, 41DE748B0F3CDBCB0049BC24 /* V8SVGMatrixCustom.cpp */, @@ -4688,8 +4701,6 @@ 7B0095EA0DAFF0DD00F72082 /* v8_proxy.cpp */, 7B0095EB0DAFF0DD00F72082 /* v8_proxy.h */, 7B0095EC0DAFF0DD00F72082 /* v8_utility.h */, - 7B0095ED0DAFF0DD00F72082 /* v8_vectornodelist.cpp */, - 7B0095EE0DAFF0DD00F72082 /* v8_vectornodelist.h */, 89F4A1FC0F2101F8000A326A /* V8CanvasPixelArrayCustom.cpp */, ABBD24780EB7B31B00BEC658 /* V8MessagePortCustom.cpp */, 4DB7F55A0E9BD66300C66CE0 /* V8SVGPODTypeWrapper.h */, @@ -8294,7 +8305,6 @@ 938447970F16B06E0075F4C5 /* v8_np_utils.cpp in Sources */, 938447980F16B06E0075F4C5 /* v8_npobject.cpp in Sources */, 938447990F16B06E0075F4C5 /* v8_proxy.cpp in Sources */, - 9384479A0F16B06E0075F4C5 /* v8_vectornodelist.cpp in Sources */, 9384479B0F16B06E0075F4C5 /* V8Attr.cpp in Sources */, 9384479C0F16B06E0075F4C5 /* V8BarInfo.cpp in Sources */, 9384479D0F16B06E0075F4C5 /* V8CanvasGradient.cpp in Sources */, @@ -8350,6 +8360,7 @@ 938447D00F16B06E0075F4C5 /* V8HTMLButtonElement.cpp in Sources */, 938447D10F16B06E0075F4C5 /* V8HTMLCanvasElement.cpp in Sources */, 938447D20F16B06E0075F4C5 /* V8HTMLCollection.cpp in Sources */, + 41DE7C970F424AAC0049BC24 /* V8HTMLCollectionCustom.cpp in Sources */, 938447D30F16B06E0075F4C5 /* V8HTMLDirectoryElement.cpp in Sources */, 938447D40F16B06E0075F4C5 /* V8HTMLDivElement.cpp in Sources */, 938447D50F16B06E0075F4C5 /* V8HTMLDListElement.cpp in Sources */, @@ -8359,6 +8370,7 @@ 938447D90F16B06E0075F4C5 /* V8HTMLFieldSetElement.cpp in Sources */, 938447DA0F16B06E0075F4C5 /* V8HTMLFontElement.cpp in Sources */, 938447DB0F16B06E0075F4C5 /* V8HTMLFormElement.cpp in Sources */, + 41DE7C9E0F424ACD0049BC24 /* V8HTMLFormElementCustom.cpp in Sources */, 938447DC0F16B06E0075F4C5 /* V8HTMLFrameElement.cpp in Sources */, 938447DD0F16B06E0075F4C5 /* V8HTMLFrameSetElement.cpp in Sources */, 938447DE0F16B06E0075F4C5 /* V8HTMLHeadElement.cpp in Sources */, @@ -8392,6 +8404,7 @@ 938447F80F16B06E0075F4C5 /* V8HTMLQuoteElement.cpp in Sources */, 938447F90F16B06E0075F4C5 /* V8HTMLScriptElement.cpp in Sources */, 938447FA0F16B06E0075F4C5 /* V8HTMLSelectElement.cpp in Sources */, + 41DE7CA00F424AE80049BC24 /* V8HTMLSelectElementCustom.cpp in Sources */, 938447FB0F16B06E0075F4C5 /* V8HTMLSourceElement.cpp in Sources */, 938447FC0F16B06E0075F4C5 /* V8HTMLStyleElement.cpp in Sources */, 938447FD0F16B06E0075F4C5 /* V8HTMLTableCaptionElement.cpp in Sources */, @@ -8419,6 +8432,7 @@ 938448130F16B06E0075F4C5 /* V8MouseEvent.cpp in Sources */, 938448140F16B06E0075F4C5 /* V8MutationEvent.cpp in Sources */, 938448150F16B06E0075F4C5 /* V8NamedNodeMap.cpp in Sources */, + 41DE7CA30F424B020049BC24 /* V8NamedNodesCollection.cpp in Sources */, 938448160F16B06E0075F4C5 /* V8Navigator.cpp in Sources */, 938448170F16B06E0075F4C5 /* V8Node.cpp in Sources */, 938448180F16B06E0075F4C5 /* V8NodeFilter.cpp in Sources */, |