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

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

Issue 99333011: Make sure getAttribute() / setAttribute() callers use AtomicStrings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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
« no previous file with comments | « Source/core/html/HTMLTableColElement.cpp ('k') | Source/core/html/HTMLTableElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void deleteTFoot(); 55 void deleteTFoot();
56 PassRefPtr<HTMLElement> createTBody(); 56 PassRefPtr<HTMLElement> createTBody();
57 PassRefPtr<HTMLElement> createCaption(); 57 PassRefPtr<HTMLElement> createCaption();
58 void deleteCaption(); 58 void deleteCaption();
59 PassRefPtr<HTMLElement> insertRow(int index, ExceptionState&); 59 PassRefPtr<HTMLElement> insertRow(int index, ExceptionState&);
60 void deleteRow(int index, ExceptionState&); 60 void deleteRow(int index, ExceptionState&);
61 61
62 PassRefPtr<HTMLCollection> rows(); 62 PassRefPtr<HTMLCollection> rows();
63 PassRefPtr<HTMLCollection> tBodies(); 63 PassRefPtr<HTMLCollection> tBodies();
64 64
65 String rules() const; 65 const AtomicString& rules() const;
66 String summary() const; 66 const AtomicString& summary() const;
67 67
68 const StylePropertySet* additionalCellStyle(); 68 const StylePropertySet* additionalCellStyle();
69 const StylePropertySet* additionalGroupStyle(bool rows); 69 const StylePropertySet* additionalGroupStyle(bool rows);
70 70
71 private: 71 private:
72 explicit HTMLTableElement(Document&); 72 explicit HTMLTableElement(Document&);
73 73
74 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 74 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
75 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 75 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
76 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE; 76 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 inline bool isHTMLTableElement(const Element* element) 108 inline bool isHTMLTableElement(const Element* element)
109 { 109 {
110 return element->hasTagName(HTMLNames::tableTag); 110 return element->hasTagName(HTMLNames::tableTag);
111 } 111 }
112 112
113 DEFINE_NODE_TYPE_CASTS(HTMLTableElement, hasTagName(HTMLNames::tableTag)); 113 DEFINE_NODE_TYPE_CASTS(HTMLTableElement, hasTagName(HTMLNames::tableTag));
114 114
115 } //namespace 115 } //namespace
116 116
117 #endif 117 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTableColElement.cpp ('k') | Source/core/html/HTMLTableElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698