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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLFormControlElement.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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 String nameForAutofill() const; 128 String nameForAutofill() const;
129 129
130 void copyNonAttributePropertiesFromElement(const Element&) override; 130 void copyNonAttributePropertiesFromElement(const Element&) override;
131 131
132 FormAssociated* toFormAssociatedOrNull() override { return this; }; 132 FormAssociated* toFormAssociatedOrNull() override { return this; };
133 void associateWith(HTMLFormElement*) override; 133 void associateWith(HTMLFormElement*) override;
134 134
135 protected: 135 protected:
136 HTMLFormControlElement(const QualifiedName& tagName, Document&); 136 HTMLFormControlElement(const QualifiedName& tagName, Document&);
137 137
138 void attributeChanged(const QualifiedName&, 138 void attributeChanged(const AttributeModificationParams&) override;
139 const AtomicString&, 139 void parseAttribute(const AttributeModificationParams&) override;
140 const AtomicString&,
141 AttributeModificationReason) override;
142 void parseAttribute(const QualifiedName&,
143 const AtomicString&,
144 const AtomicString&) override;
145 virtual void requiredAttributeChanged(); 140 virtual void requiredAttributeChanged();
146 virtual void disabledAttributeChanged(); 141 virtual void disabledAttributeChanged();
147 void attachLayoutTree(const AttachContext& = AttachContext()) override; 142 void attachLayoutTree(const AttachContext& = AttachContext()) override;
148 InsertionNotificationRequest insertedInto(ContainerNode*) override; 143 InsertionNotificationRequest insertedInto(ContainerNode*) override;
149 void removedFrom(ContainerNode*) override; 144 void removedFrom(ContainerNode*) override;
150 void willChangeForm() override; 145 void willChangeForm() override;
151 void didChangeForm() override; 146 void didChangeForm() override;
152 void didMoveToNewDocument(Document& oldDocument) override; 147 void didMoveToNewDocument(Document& oldDocument) override;
153 148
154 bool supportsFocus() const override; 149 bool supportsFocus() const override;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); 216 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement);
222 DEFINE_TYPE_CASTS(HTMLFormControlElement, 217 DEFINE_TYPE_CASTS(HTMLFormControlElement,
223 ListedElement, 218 ListedElement,
224 control, 219 control,
225 control->isFormControlElement(), 220 control->isFormControlElement(),
226 control.isFormControlElement()); 221 control.isFormControlElement());
227 222
228 } // namespace blink 223 } // namespace blink
229 224
230 #endif 225 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698