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

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

Issue 2245263005: Split HTMLFormElement::m_isSubmittingOrInUserJSSubmitEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change the order of AutoReset<> and EventQueueScope Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLFormElement.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) 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 reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 FormSubmission::Attributes m_attributes; 143 FormSubmission::Attributes m_attributes;
144 Member<PastNamesMap> m_pastNamesMap; 144 Member<PastNamesMap> m_pastNamesMap;
145 145
146 RadioButtonGroupScope m_radioButtonGroupScope; 146 RadioButtonGroupScope m_radioButtonGroupScope;
147 147
148 // Do not access m_associatedElements directly. Use associatedElements() ins tead. 148 // Do not access m_associatedElements directly. Use associatedElements() ins tead.
149 FormAssociatedElement::List m_associatedElements; 149 FormAssociatedElement::List m_associatedElements;
150 // Do not access m_imageElements directly. Use imageElements() instead. 150 // Do not access m_imageElements directly. Use imageElements() instead.
151 HeapVector<Member<HTMLImageElement>> m_imageElements; 151 HeapVector<Member<HTMLImageElement>> m_imageElements;
152 152
153 bool m_isSubmitting = false;
154 bool m_inUserJSSubmitEvent = false;
155
153 bool m_associatedElementsAreDirty : 1; 156 bool m_associatedElementsAreDirty : 1;
154 bool m_imageElementsAreDirty : 1; 157 bool m_imageElementsAreDirty : 1;
155 bool m_hasElementsAssociatedByParser : 1; 158 bool m_hasElementsAssociatedByParser : 1;
156 bool m_hasElementsAssociatedByFormAttribute : 1; 159 bool m_hasElementsAssociatedByFormAttribute : 1;
157 bool m_didFinishParsingChildren : 1; 160 bool m_didFinishParsingChildren : 1;
158
159 bool m_isSubmittingOrInUserJSSubmitEvent : 1;
160 bool m_shouldSubmit : 1; 161 bool m_shouldSubmit : 1;
161
162 bool m_isInResetFunction : 1; 162 bool m_isInResetFunction : 1;
163
164 bool m_wasDemoted : 1; 163 bool m_wasDemoted : 1;
165 }; 164 };
166 165
167 } // namespace blink 166 } // namespace blink
168 167
169 #endif // HTMLFormElement_h 168 #endif // HTMLFormElement_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698