Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: Source/core/html/HTMLTableElement.h

Issue 334713006: Use stricter typing for NodeLists throughout the code base (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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, 2008 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008 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
11 * License as published by the Free Software Foundation; either 11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version. 12 * version 2 of the License, or (at your option) any later version.
13 * 13 *
14 * This library is distributed in the hope that it will be useful, 14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details. 17 * Library General Public License for more details.
18 * 18 *
19 * You should have received a copy of the GNU Library General Public License 19 * You should have received a copy of the GNU Library General Public License
20 * along with this library; see the file COPYING.LIB. If not, write to 20 * along with this library; see the file COPYING.LIB. If not, write to
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA. 22 * Boston, MA 02110-1301, USA.
23 * 23 *
24 */ 24 */
25 25
26 #ifndef HTMLTableElement_h 26 #ifndef HTMLTableElement_h
27 #define HTMLTableElement_h 27 #define HTMLTableElement_h
28 28
29 #include "core/html/HTMLElement.h" 29 #include "core/html/HTMLElement.h"
30 #include "core/html/HTMLTableRowsCollection.h"
adamk 2014/06/16 20:23:17 Again interested why the include was needed. Perha
Inactive 2014/06/16 20:35:51 Same reason. The V8TableElement.cpp wouldn't build
30 31
31 namespace WebCore { 32 namespace WebCore {
32 33
33 class ExceptionState; 34 class ExceptionState;
34 class HTMLCollection; 35 class HTMLCollection;
35 class HTMLTableCaptionElement; 36 class HTMLTableCaptionElement;
36 class HTMLTableRowsCollection;
37 class HTMLTableSectionElement; 37 class HTMLTableSectionElement;
38 38
39 class HTMLTableElement FINAL : public HTMLElement { 39 class HTMLTableElement FINAL : public HTMLElement {
40 public: 40 public:
41 DECLARE_NODE_FACTORY(HTMLTableElement); 41 DECLARE_NODE_FACTORY(HTMLTableElement);
42 42
43 HTMLTableCaptionElement* caption() const; 43 HTMLTableCaptionElement* caption() const;
44 void setCaption(PassRefPtrWillBeRawPtr<HTMLTableCaptionElement>, ExceptionSt ate&); 44 void setCaption(PassRefPtrWillBeRawPtr<HTMLTableCaptionElement>, ExceptionSt ate&);
45 45
46 HTMLTableSectionElement* tHead() const; 46 HTMLTableSectionElement* tHead() const;
47 void setTHead(PassRefPtrWillBeRawPtr<HTMLTableSectionElement>, ExceptionStat e&); 47 void setTHead(PassRefPtrWillBeRawPtr<HTMLTableSectionElement>, ExceptionStat e&);
48 48
49 HTMLTableSectionElement* tFoot() const; 49 HTMLTableSectionElement* tFoot() const;
50 void setTFoot(PassRefPtrWillBeRawPtr<HTMLTableSectionElement>, ExceptionStat e&); 50 void setTFoot(PassRefPtrWillBeRawPtr<HTMLTableSectionElement>, ExceptionStat e&);
51 51
52 PassRefPtrWillBeRawPtr<HTMLElement> createTHead(); 52 PassRefPtrWillBeRawPtr<HTMLElement> createTHead();
53 void deleteTHead(); 53 void deleteTHead();
54 PassRefPtrWillBeRawPtr<HTMLElement> createTFoot(); 54 PassRefPtrWillBeRawPtr<HTMLElement> createTFoot();
55 void deleteTFoot(); 55 void deleteTFoot();
56 PassRefPtrWillBeRawPtr<HTMLElement> createTBody(); 56 PassRefPtrWillBeRawPtr<HTMLElement> createTBody();
57 PassRefPtrWillBeRawPtr<HTMLElement> createCaption(); 57 PassRefPtrWillBeRawPtr<HTMLElement> createCaption();
58 void deleteCaption(); 58 void deleteCaption();
59 PassRefPtrWillBeRawPtr<HTMLElement> insertRow(ExceptionState&); 59 PassRefPtrWillBeRawPtr<HTMLElement> insertRow(ExceptionState&);
60 PassRefPtrWillBeRawPtr<HTMLElement> insertRow(int index, ExceptionState&); 60 PassRefPtrWillBeRawPtr<HTMLElement> insertRow(int index, ExceptionState&);
61 void deleteRow(int index, ExceptionState&); 61 void deleteRow(int index, ExceptionState&);
62 62
63 PassRefPtrWillBeRawPtr<HTMLCollection> rows(); 63 PassRefPtrWillBeRawPtr<HTMLTableRowsCollection> rows();
64 PassRefPtrWillBeRawPtr<HTMLCollection> tBodies(); 64 PassRefPtrWillBeRawPtr<HTMLCollection> tBodies();
65 65
66 const AtomicString& rules() const; 66 const AtomicString& rules() const;
67 const AtomicString& summary() const; 67 const AtomicString& summary() const;
68 68
69 const StylePropertySet* additionalCellStyle(); 69 const StylePropertySet* additionalCellStyle();
70 const StylePropertySet* additionalGroupStyle(bool rows); 70 const StylePropertySet* additionalGroupStyle(bool rows);
71 71
72 virtual void trace(Visitor*) OVERRIDE; 72 virtual void trace(Visitor*) OVERRIDE;
73 73
(...skipping 27 matching lines...) Expand all
101 TableRules m_rulesAttr; // Implies a thin border width, a collapsing bor der model, and all borders on the table becoming set to hidden (if frame/border 101 TableRules m_rulesAttr; // Implies a thin border width, a collapsing bor der model, and all borders on the table becoming set to hidden (if frame/border
102 // are present, to none otherwise). 102 // are present, to none otherwise).
103 103
104 unsigned short m_padding; 104 unsigned short m_padding;
105 RefPtrWillBeMember<StylePropertySet> m_sharedCellStyle; 105 RefPtrWillBeMember<StylePropertySet> m_sharedCellStyle;
106 }; 106 };
107 107
108 } //namespace 108 } //namespace
109 109
110 #endif 110 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698