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

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

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 private: 107 private:
108 explicit HTMLFormElement(Document&); 108 explicit HTMLFormElement(Document&);
109 109
110 bool layoutObjectIsNeeded(const ComputedStyle&) override; 110 bool layoutObjectIsNeeded(const ComputedStyle&) override;
111 InsertionNotificationRequest insertedInto(ContainerNode*) override; 111 InsertionNotificationRequest insertedInto(ContainerNode*) override;
112 void removedFrom(ContainerNode*) override; 112 void removedFrom(ContainerNode*) override;
113 void finishParsingChildren() override; 113 void finishParsingChildren() override;
114 114
115 void handleLocalEvents(Event&) override; 115 void handleLocalEvents(Event&) override;
116 116
117 void parseAttribute(const QualifiedName&, 117 void parseAttribute(const AttributeModificationParams&) override;
118 const AtomicString&,
119 const AtomicString&) override;
120 bool isURLAttribute(const Attribute&) const override; 118 bool isURLAttribute(const Attribute&) const override;
121 bool hasLegalLinkAttribute(const QualifiedName&) const override; 119 bool hasLegalLinkAttribute(const QualifiedName&) const override;
122 120
123 bool shouldRegisterAsNamedItem() const override { return true; } 121 bool shouldRegisterAsNamedItem() const override { return true; }
124 122
125 void copyNonAttributePropertiesFromElement(const Element&) override; 123 void copyNonAttributePropertiesFromElement(const Element&) override;
126 124
127 void submitDialog(FormSubmission*); 125 void submitDialog(FormSubmission*);
128 void submit(Event*, HTMLFormControlElement* submitButton); 126 void submit(Event*, HTMLFormControlElement* submitButton);
129 127
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 bool m_hasElementsAssociatedByParser : 1; 170 bool m_hasElementsAssociatedByParser : 1;
173 bool m_hasElementsAssociatedByFormAttribute : 1; 171 bool m_hasElementsAssociatedByFormAttribute : 1;
174 bool m_didFinishParsingChildren : 1; 172 bool m_didFinishParsingChildren : 1;
175 bool m_isInResetFunction : 1; 173 bool m_isInResetFunction : 1;
176 bool m_wasDemoted : 1; 174 bool m_wasDemoted : 1;
177 }; 175 };
178 176
179 } // namespace blink 177 } // namespace blink
180 178
181 #endif // HTMLFormElement_h 179 #endif // HTMLFormElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698