Changeset 13393 for trunk/WebCore/khtml/html/HTMLDocument.h
- Timestamp:
- 03/19/06 18:57:59 (3 years ago)
- Files:
-
- 1 moved
-
trunk/WebCore/khtml/html/HTMLDocument.h (moved) (moved from trunk/WebCore/khtml/html/html_documentimpl.h) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/khtml/html/HTMLDocument.h
r13167 r13393 27 27 28 28 #include "CachedObjectClient.h" 29 #include "Document Impl.h"30 #include "HTMLCollection Impl.h"29 #include "Document.h" 30 #include "HTMLCollection.h" 31 31 #include <kxmlcore/HashMap.h> 32 32 33 class QString;33 class DeprecatedString; 34 34 35 35 namespace WebCore { 36 36 37 37 class FrameView; 38 class HTMLElement Impl;38 class HTMLElement; 39 39 40 class HTMLDocument Impl : public DOM::DocumentImpl, public khtml::CachedObjectClient40 class HTMLDocument : public WebCore::Document, public WebCore::CachedObjectClient 41 41 { 42 42 public: 43 HTMLDocument Impl(DOMImplementationImpl*_implementation, FrameView *v = 0);44 ~HTMLDocument Impl();43 HTMLDocument(DOMImplementation *_implementation, FrameView *v = 0); 44 ~HTMLDocument(); 45 45 46 46 virtual bool isHTMLDocument() const { return true; } 47 virtual Element Impl* documentElement() const;47 virtual Element* documentElement() const; 48 48 49 49 String lastModified() const; … … 51 51 void setCookie(const String&); 52 52 53 void setBody(HTMLElement Impl*, ExceptionCode& ec);53 void setBody(HTMLElement*, ExceptionCode& ec); 54 54 55 55 virtual Tokenizer* createTokenizer(); 56 56 57 virtual bool childAllowed(Node Impl*);57 virtual bool childAllowed(Node*); 58 58 59 virtual PassRefPtr<Element Impl> createElement(const String& tagName, ExceptionCode&);59 virtual PassRefPtr<Element> createElement(const String& tagName, ExceptionCode&); 60 60 61 virtual void determineParseMode(const QString&);61 virtual void determineParseMode(const DeprecatedString&); 62 62 63 63 void addNamedItem(const String& name); … … 69 69 bool hasDocExtraNamedItem(const String& name); 70 70 71 HTMLCollection Impl::CollectionInfo* collectionInfo(int type)71 HTMLCollection::CollectionInfo* collectionInfo(int type) 72 72 { 73 if (type < HTMLCollection Impl::NUM_CACHEABLE_TYPES)73 if (type < HTMLCollection::NUM_CACHEABLE_TYPES) 74 74 return m_collection_info + type; 75 75 return 0; 76 76 } 77 77 78 virtual DocumentType Impl* doctype() const;78 virtual DocumentType* doctype() const; 79 79 80 80 typedef HashMap<StringImpl*, int> NameCountMap; 81 81 82 82 protected: 83 HTMLElement Impl* bodyElement;84 HTMLElement Impl* htmlElement;83 HTMLElement* bodyElement; 84 HTMLElement* htmlElement; 85 85 86 86 private: 87 HTMLCollection Impl::CollectionInfo m_collection_info[HTMLCollectionImpl::NUM_CACHEABLE_TYPES];87 HTMLCollection::CollectionInfo m_collection_info[HTMLCollection::NUM_CACHEABLE_TYPES]; 88 88 89 89 NameCountMap namedItemCounts;