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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLTableColElement.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
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, 2010 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2010 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 #include "core/html/HTMLTableColElement.h" 25 #include "core/html/HTMLTableColElement.h"
26 26
27 #include <algorithm>
27 #include "core/CSSPropertyNames.h" 28 #include "core/CSSPropertyNames.h"
28 #include "core/HTMLNames.h" 29 #include "core/HTMLNames.h"
29 #include "core/html/HTMLTableCellElement.h" 30 #include "core/html/HTMLTableCellElement.h"
30 #include "core/html/HTMLTableElement.h" 31 #include "core/html/HTMLTableElement.h"
31 #include "core/html/parser/HTMLParserIdioms.h" 32 #include "core/html/parser/HTMLParserIdioms.h"
32 #include "core/layout/LayoutTableCol.h" 33 #include "core/layout/LayoutTableCol.h"
33 #include <algorithm>
34 34
35 namespace blink { 35 namespace blink {
36 36
37 using namespace HTMLNames; 37 using namespace HTMLNames;
38 38
39 inline HTMLTableColElement::HTMLTableColElement(const QualifiedName& tagName, 39 inline HTMLTableColElement::HTMLTableColElement(const QualifiedName& tagName,
40 Document& document) 40 Document& document)
41 : HTMLTablePartElement(tagName, document), m_span(1) {} 41 : HTMLTablePartElement(tagName, document), m_span(1) {}
42 42
43 DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLTableColElement) 43 DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLTableColElement)
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 void HTMLTableColElement::setSpan(unsigned n) { 101 void HTMLTableColElement::setSpan(unsigned n) {
102 setUnsignedIntegralAttribute(spanAttr, n ? n : 1); 102 setUnsignedIntegralAttribute(spanAttr, n ? n : 1);
103 } 103 }
104 104
105 const AtomicString& HTMLTableColElement::width() const { 105 const AtomicString& HTMLTableColElement::width() const {
106 return getAttribute(widthAttr); 106 return getAttribute(widthAttr);
107 } 107 }
108 108
109 } // namespace blink 109 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLStyleElement.h ('k') | third_party/WebKit/Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698