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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLFormElement.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 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * 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
15 * Library General Public License for more details. 16 * Library General Public License for more details.
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void addToPastNamesMap(Element*, const AtomicString& pastName); 147 void addToPastNamesMap(Element*, const AtomicString& pastName);
147 void removeFromPastNamesMap(HTMLElement&); 148 void removeFromPastNamesMap(HTMLElement&);
148 149
149 typedef HeapHashMap<AtomicString, Member<Element>> PastNamesMap; 150 typedef HeapHashMap<AtomicString, Member<Element>> PastNamesMap;
150 151
151 FormSubmission::Attributes m_attributes; 152 FormSubmission::Attributes m_attributes;
152 Member<PastNamesMap> m_pastNamesMap; 153 Member<PastNamesMap> m_pastNamesMap;
153 154
154 RadioButtonGroupScope m_radioButtonGroupScope; 155 RadioButtonGroupScope m_radioButtonGroupScope;
155 156
156 // Do not access m_associatedElements directly. Use associatedElements() inste ad. 157 // Do not access m_associatedElements directly. Use associatedElements()
158 // instead.
157 FormAssociatedElement::List m_associatedElements; 159 FormAssociatedElement::List m_associatedElements;
158 // Do not access m_imageElements directly. Use imageElements() instead. 160 // Do not access m_imageElements directly. Use imageElements() instead.
159 HeapVector<Member<HTMLImageElement>> m_imageElements; 161 HeapVector<Member<HTMLImageElement>> m_imageElements;
160 162
161 // https://html.spec.whatwg.org/multipage/forms.html#planned-navigation 163 // https://html.spec.whatwg.org/multipage/forms.html#planned-navigation
162 // Unlike the specification, we use this only for web-exposed submit() 164 // Unlike the specification, we use this only for web-exposed submit()
163 // function in 'submit' event handler. 165 // function in 'submit' event handler.
164 Member<FormSubmission> m_plannedNavigation; 166 Member<FormSubmission> m_plannedNavigation;
165 167
166 bool m_isSubmitting = false; 168 bool m_isSubmitting = false;
167 bool m_inUserJSSubmitEvent = false; 169 bool m_inUserJSSubmitEvent = false;
168 170
169 bool m_associatedElementsAreDirty : 1; 171 bool m_associatedElementsAreDirty : 1;
170 bool m_imageElementsAreDirty : 1; 172 bool m_imageElementsAreDirty : 1;
171 bool m_hasElementsAssociatedByParser : 1; 173 bool m_hasElementsAssociatedByParser : 1;
172 bool m_hasElementsAssociatedByFormAttribute : 1; 174 bool m_hasElementsAssociatedByFormAttribute : 1;
173 bool m_didFinishParsingChildren : 1; 175 bool m_didFinishParsingChildren : 1;
174 bool m_isInResetFunction : 1; 176 bool m_isInResetFunction : 1;
175 bool m_wasDemoted : 1; 177 bool m_wasDemoted : 1;
176 }; 178 };
177 179
178 } // namespace blink 180 } // namespace blink
179 181
180 #endif // HTMLFormElement_h 182 #endif // HTMLFormElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698