Show
Ignore:
Timestamp:
03/19/06 18:57:59 (3 years ago)
Author:
darin
Message:
  • global rename, done by script
  • <lots of files>: Renamed XXXImpl to XXX, and a number of other renames. See WebKitTools/Scripts/do-webcore-rename version 13392 for details.
Files:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/khtml/html/HTMLDocument.h

    r13167 r13393  
    2727 
    2828#include "CachedObjectClient.h" 
    29 #include "DocumentImpl.h" 
    30 #include "HTMLCollectionImpl.h" 
     29#include "Document.h" 
     30#include "HTMLCollection.h" 
    3131#include <kxmlcore/HashMap.h> 
    3232 
    33 class QString; 
     33class DeprecatedString; 
    3434 
    3535namespace WebCore { 
    3636 
    3737class FrameView; 
    38 class HTMLElementImpl; 
     38class HTMLElement; 
    3939 
    40 class HTMLDocumentImpl : public DOM::DocumentImpl, public khtml::CachedObjectClient 
     40class HTMLDocument : public WebCore::Document, public WebCore::CachedObjectClient 
    4141{ 
    4242public: 
    43     HTMLDocumentImpl(DOMImplementationImpl *_implementation, FrameView *v = 0); 
    44     ~HTMLDocumentImpl(); 
     43    HTMLDocument(DOMImplementation *_implementation, FrameView *v = 0); 
     44    ~HTMLDocument(); 
    4545 
    4646    virtual bool isHTMLDocument() const { return true; } 
    47     virtual ElementImpl* documentElement() const; 
     47    virtual Element* documentElement() const; 
    4848 
    4949    String lastModified() const; 
     
    5151    void setCookie(const String&); 
    5252 
    53     void setBody(HTMLElementImpl*, ExceptionCode& ec); 
     53    void setBody(HTMLElement*, ExceptionCode& ec); 
    5454 
    5555    virtual Tokenizer* createTokenizer(); 
    5656 
    57     virtual bool childAllowed(NodeImpl*); 
     57    virtual bool childAllowed(Node*); 
    5858 
    59     virtual PassRefPtr<ElementImpl> createElement(const String& tagName, ExceptionCode&); 
     59    virtual PassRefPtr<Element> createElement(const String& tagName, ExceptionCode&); 
    6060 
    61     virtual void determineParseMode(const QString&); 
     61    virtual void determineParseMode(const DeprecatedString&); 
    6262 
    6363    void addNamedItem(const String& name); 
     
    6969    bool hasDocExtraNamedItem(const String& name); 
    7070 
    71     HTMLCollectionImpl::CollectionInfo* collectionInfo(int type) 
     71    HTMLCollection::CollectionInfo* collectionInfo(int type) 
    7272    {  
    73         if (type < HTMLCollectionImpl::NUM_CACHEABLE_TYPES)  
     73        if (type < HTMLCollection::NUM_CACHEABLE_TYPES)  
    7474            return m_collection_info + type;  
    7575        return 0; 
    7676    } 
    7777 
    78     virtual DocumentTypeImpl* doctype() const; 
     78    virtual DocumentType* doctype() const; 
    7979 
    8080    typedef HashMap<StringImpl*, int> NameCountMap; 
    8181 
    8282protected: 
    83     HTMLElementImpl* bodyElement; 
    84     HTMLElementImpl* htmlElement; 
     83    HTMLElement* bodyElement; 
     84    HTMLElement* htmlElement; 
    8585 
    8686private: 
    87     HTMLCollectionImpl::CollectionInfo m_collection_info[HTMLCollectionImpl::NUM_CACHEABLE_TYPES]; 
     87    HTMLCollection::CollectionInfo m_collection_info[HTMLCollection::NUM_CACHEABLE_TYPES]; 
    8888 
    8989    NameCountMap namedItemCounts;