Lines Matching refs:HTMLDocument
36 #include "HTMLDocument.h"
59 shadowTemplate->SetClassName(v8::String::New("HTMLDocument"));
76 v8::Handle<v8::Value> V8HTMLDocument::GetNamedProperty(HTMLDocument* htmlDocument, const AtomicString& key)
78 if (!htmlDocument->hasNamedItem(key.impl()) && !htmlDocument->hasExtraNamedItem(key.impl()))
81 RefPtr<HTMLCollection> items = htmlDocument->documentNamedItems(key);
97 // HTMLDocument ----------------------------------------------------------------
113 INC_STATS("DOM.HTMLDocument.write()");
114 HTMLDocument* htmlDocument = V8HTMLDocument::toNative(args.Holder());
116 htmlDocument->write(writeHelperGetString(args), frame ? frame->document() : NULL);
122 INC_STATS("DOM.HTMLDocument.writeln()");
123 HTMLDocument* htmlDocument = V8HTMLDocument::toNative(args.Holder());
125 htmlDocument->writeln(writeHelperGetString(args), frame ? frame->document() : NULL);
131 INC_STATS("DOM.HTMLDocument.open()");
132 HTMLDocument* htmlDocument = V8HTMLDocument::toNative(args.Holder());
135 if (Frame* frame = htmlDocument->frame()) {
164 htmlDocument->open(frame ? frame->document() : NULL);
171 INC_STATS("DOM.HTMLDocument.all._get");
173 HTMLDocument* htmlDocument = V8HTMLDocument::toNative(holder);
174 return toV8(htmlDocument->all());
183 v8::Handle<v8::Value> toV8(HTMLDocument* impl, bool forceNewObject)