| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
| 4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
| 5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 void setColSpan(unsigned); | 48 void setColSpan(unsigned); |
| 49 const AtomicString& headers() const; | 49 const AtomicString& headers() const; |
| 50 void setRowSpan(unsigned); | 50 void setRowSpan(unsigned); |
| 51 const AtomicString& scope() const; | 51 const AtomicString& scope() const; |
| 52 | 52 |
| 53 HTMLTableCellElement* cellAbove() const; | 53 HTMLTableCellElement* cellAbove() const; |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 HTMLTableCellElement(const QualifiedName&, Document&); | 56 HTMLTableCellElement(const QualifiedName&, Document&); |
| 57 | 57 |
| 58 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 58 void parseAttribute(const QualifiedName&, const AtomicString&) override; |
| 59 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 59 bool isPresentationAttribute(const QualifiedName&) const override; |
| 60 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 60 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; |
| 61 virtual const StylePropertySet* additionalPresentationAttributeStyle() overr
ide; | 61 const StylePropertySet* additionalPresentationAttributeStyle() override; |
| 62 | 62 |
| 63 virtual bool isURLAttribute(const Attribute&) const override; | 63 bool isURLAttribute(const Attribute&) const override; |
| 64 virtual bool hasLegalLinkAttribute(const QualifiedName&) const override; | 64 bool hasLegalLinkAttribute(const QualifiedName&) const override; |
| 65 virtual const QualifiedName& subResourceAttributeName() const override; | 65 const QualifiedName& subResourceAttributeName() const override; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 inline bool isHTMLTableCellElement(const HTMLElement& element) | 68 inline bool isHTMLTableCellElement(const HTMLElement& element) |
| 69 { | 69 { |
| 70 return element.hasTagName(HTMLNames::tdTag) || element.hasTagName(HTMLNames:
:thTag); | 70 return element.hasTagName(HTMLNames::tdTag) || element.hasTagName(HTMLNames:
:thTag); |
| 71 } | 71 } |
| 72 | 72 |
| 73 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTableCellElement); | 73 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTableCellElement); |
| 74 | 74 |
| 75 } // namespace blink | 75 } // namespace blink |
| 76 | 76 |
| 77 #endif // HTMLTableCellElement_h | 77 #endif // HTMLTableCellElement_h |
| OLD | NEW |