src/3rdparty/webkit/WebCore/html/HTMLImageElement.h
changeset 19 fcece45ef507
parent 0 1918ee327afb
child 30 5dc02b23752f
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
    43     virtual bool mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const;
    43     virtual bool mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const;
    44     virtual void parseMappedAttribute(MappedAttribute*);
    44     virtual void parseMappedAttribute(MappedAttribute*);
    45 
    45 
    46     virtual void attach();
    46     virtual void attach();
    47     virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
    47     virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
    48     virtual void insertedIntoDocument();
       
    49     virtual void removedFromDocument();
       
    50 
    48 
    51     virtual bool canStartSelection() const { return false; }
    49     virtual bool canStartSelection() const { return false; }
    52 
    50 
    53     int width(bool ignorePendingStylesheets = false) const;
    51     int width(bool ignorePendingStylesheets = false) const;
    54     int height(bool ignorePendingStylesheets = false) const;
    52     int height(bool ignorePendingStylesheets = false) const;
   103     bool haveFiredLoadEvent() const { return m_imageLoader.haveFiredLoadEvent(); }
   101     bool haveFiredLoadEvent() const { return m_imageLoader.haveFiredLoadEvent(); }
   104 
   102 
   105     virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
   103     virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
   106 
   104 
   107 private:
   105 private:
       
   106     virtual void insertedIntoDocument();
       
   107     virtual void removedFromDocument();
       
   108     virtual void insertedIntoTree(bool deep);
       
   109     virtual void removedFromTree(bool deep);
       
   110 
   108     HTMLImageLoader m_imageLoader;
   111     HTMLImageLoader m_imageLoader;
   109     String usemap;
   112     String usemap;
   110     bool ismap;
   113     bool ismap;
   111     HTMLFormElement* m_form;
   114     HTMLFormElement* m_form;
   112     AtomicString m_name;
   115     AtomicString m_name;