diff options
Diffstat (limited to 'Source/WebCore/html/HTMLTableRowElement.h')
-rw-r--r-- | Source/WebCore/html/HTMLTableRowElement.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/Source/WebCore/html/HTMLTableRowElement.h b/Source/WebCore/html/HTMLTableRowElement.h index 58de7678f..ad77d8a92 100644 --- a/Source/WebCore/html/HTMLTableRowElement.h +++ b/Source/WebCore/html/HTMLTableRowElement.h @@ -23,36 +23,31 @@ * */ -#ifndef HTMLTableRowElement_h -#define HTMLTableRowElement_h +#pragma once +#include "HTMLTableCellElement.h" #include "HTMLTablePartElement.h" namespace WebCore { class HTMLTableRowElement final : public HTMLTablePartElement { public: - static PassRefPtr<HTMLTableRowElement> create(Document&); - static PassRefPtr<HTMLTableRowElement> create(const QualifiedName&, Document&); + static Ref<HTMLTableRowElement> create(Document&); + static Ref<HTMLTableRowElement> create(const QualifiedName&, Document&); - int rowIndex() const; + WEBCORE_EXPORT int rowIndex() const; void setRowIndex(int); - int sectionRowIndex() const; + WEBCORE_EXPORT int sectionRowIndex() const; void setSectionRowIndex(int); - PassRefPtr<HTMLElement> insertCell(int index, ExceptionCode&); - void deleteCell(int index, ExceptionCode&); + WEBCORE_EXPORT ExceptionOr<Ref<HTMLTableCellElement>> insertCell(int index = -1); + WEBCORE_EXPORT ExceptionOr<void> deleteCell(int index); - PassRefPtr<HTMLCollection> cells(); - void setCells(HTMLCollection *, ExceptionCode&); + WEBCORE_EXPORT Ref<HTMLCollection> cells(); private: HTMLTableRowElement(const QualifiedName&, Document&); }; -NODE_TYPE_CASTS(HTMLTableRowElement) - } // namespace - -#endif |