summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLTableRowElement.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLTableRowElement.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/HTMLTableRowElement.h')
-rw-r--r--Source/WebCore/html/HTMLTableRowElement.h23
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