diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLTableRowElement.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/html/HTMLTableRowElement.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLTableRowElement.h b/chromium/third_party/WebKit/Source/core/html/HTMLTableRowElement.h index 1fe3867218b..539856ef5d5 100644 --- a/chromium/third_party/WebKit/Source/core/html/HTMLTableRowElement.h +++ b/chromium/third_party/WebKit/Source/core/html/HTMLTableRowElement.h @@ -34,27 +34,24 @@ class ExceptionState; class HTMLTableRowElement FINAL : public HTMLTablePartElement { public: - static PassRefPtr<HTMLTableRowElement> create(Document&); + DECLARE_NODE_FACTORY(HTMLTableRowElement); int rowIndex() const; int sectionRowIndex() const; - PassRefPtr<HTMLElement> insertCell(int index, ExceptionState&); + PassRefPtrWillBeRawPtr<HTMLElement> insertCell(ExceptionState&); + PassRefPtrWillBeRawPtr<HTMLElement> insertCell(int index, ExceptionState&); void deleteCell(int index, ExceptionState&); - PassRefPtr<HTMLCollection> cells(); + PassRefPtrWillBeRawPtr<HTMLCollection> cells(); private: explicit HTMLTableRowElement(Document&); -}; - -inline bool isHTMLTableRowElement(const Node* node) -{ - return node->hasTagName(HTMLNames::trTag); -} -DEFINE_NODE_TYPE_CASTS(HTMLTableRowElement, hasTagName(HTMLNames::trTag)); + virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE; + virtual const QualifiedName& subResourceAttributeName() const OVERRIDE; +}; } // namespace |