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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLFormControlsCollection.h

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments Created 4 years, 2 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights
5 * reserved.
5 * Copyright (C) 2014 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2014 Samsung Electronics. All rights reserved.
6 * 7 *
7 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 11 * version 2 of the License, or (at your option) any later version.
11 * 12 *
12 * This library is distributed in the hope that it will be useful, 13 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
(...skipping 12 matching lines...) Expand all
27 #include "core/html/FormAssociatedElement.h" 28 #include "core/html/FormAssociatedElement.h"
28 #include "core/html/HTMLCollection.h" 29 #include "core/html/HTMLCollection.h"
29 #include "core/html/HTMLElement.h" 30 #include "core/html/HTMLElement.h"
30 #include "core/html/RadioNodeList.h" 31 #include "core/html/RadioNodeList.h"
31 32
32 namespace blink { 33 namespace blink {
33 34
34 class HTMLImageElement; 35 class HTMLImageElement;
35 class RadioNodeListOrElement; 36 class RadioNodeListOrElement;
36 37
37 // This class is just a big hack to find form elements even in malformed HTML el ements. 38 // This class is just a big hack to find form elements even in malformed HTML
38 // The famous <table><tr><form><td> problem. 39 // elements. The famous <table><tr><form><td> problem.
39 40
40 class HTMLFormControlsCollection final : public HTMLCollection { 41 class HTMLFormControlsCollection final : public HTMLCollection {
41 DEFINE_WRAPPERTYPEINFO(); 42 DEFINE_WRAPPERTYPEINFO();
42 43
43 public: 44 public:
44 static HTMLFormControlsCollection* create(ContainerNode&, CollectionType); 45 static HTMLFormControlsCollection* create(ContainerNode&, CollectionType);
45 46
46 ~HTMLFormControlsCollection() override; 47 ~HTMLFormControlsCollection() override;
47 48
48 HTMLElement* item(unsigned offset) const { 49 HTMLElement* item(unsigned offset) const {
(...skipping 21 matching lines...) Expand all
70 }; 71 };
71 DEFINE_TYPE_CASTS(HTMLFormControlsCollection, 72 DEFINE_TYPE_CASTS(HTMLFormControlsCollection,
72 LiveNodeListBase, 73 LiveNodeListBase,
73 collection, 74 collection,
74 collection->type() == FormControls, 75 collection->type() == FormControls,
75 collection.type() == FormControls); 76 collection.type() == FormControls);
76 77
77 } // namespace blink 78 } // namespace blink
78 79
79 #endif // HTMLFormControlsCollection_h 80 #endif // HTMLFormControlsCollection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698