From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLTableRowElement.h | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'Source/WebCore/html/HTMLTableRowElement.h') 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 create(Document&); - static PassRefPtr create(const QualifiedName&, Document&); + static Ref create(Document&); + static Ref 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 insertCell(int index, ExceptionCode&); - void deleteCell(int index, ExceptionCode&); + WEBCORE_EXPORT ExceptionOr> insertCell(int index = -1); + WEBCORE_EXPORT ExceptionOr deleteCell(int index); - PassRefPtr cells(); - void setCells(HTMLCollection *, ExceptionCode&); + WEBCORE_EXPORT Ref cells(); private: HTMLTableRowElement(const QualifiedName&, Document&); }; -NODE_TYPE_CASTS(HTMLTableRowElement) - } // namespace - -#endif -- cgit v1.2.1