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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormElement.h

Issue 2546063002: Rename FormAssociatedElement to ListedElement (Closed)
Patch Set: Rename FormAssociatedElement to ListedElement Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLFormElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.h b/third_party/WebKit/Source/core/html/HTMLFormElement.h
index f0daf4bb074a090fa8760ff14250b3833e5111d2..c5a792c4e085e6ea8ac4d74fed1b3eef65f4d65b 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.h
@@ -34,7 +34,7 @@
namespace blink {
class Event;
-class FormAssociatedElement;
+class ListedElement;
class HTMLFormControlElement;
class HTMLFormControlsCollection;
class HTMLImageElement;
@@ -62,8 +62,8 @@ class CORE_EXPORT HTMLFormElement final : public HTMLElement {
bool shouldAutocomplete() const;
- void associate(FormAssociatedElement&);
- void disassociate(FormAssociatedElement&);
+ void associate(ListedElement&);
+ void disassociate(ListedElement&);
void associate(HTMLImageElement&);
void disassociate(HTMLImageElement&);
void didAssociateByParser();
@@ -98,7 +98,7 @@ class CORE_EXPORT HTMLFormElement final : public HTMLElement {
return m_radioButtonGroupScope;
}
- const FormAssociatedElement::List& associatedElements() const;
+ const ListedElement::List& associatedElements() const;
tkent 2016/12/02 13:24:37 Rename this function to listedElements().
const HeapVector<Member<HTMLImageElement>>& imageElements();
void anonymousNamedGetter(const AtomicString& name, RadioNodeListOrElement&);
@@ -129,8 +129,7 @@ class CORE_EXPORT HTMLFormElement final : public HTMLElement {
void scheduleFormSubmission(FormSubmission*);
- void collectAssociatedElements(Node& root,
- FormAssociatedElement::List&) const;
+ void collectAssociatedElements(Node& root, ListedElement::List&) const;
tkent 2016/12/02 13:24:37 Rename this function to collectListedElements().
void collectImageElements(Node& root, HeapVector<Member<HTMLImageElement>>&);
// Returns true if the submission should proceed.
@@ -156,7 +155,7 @@ class CORE_EXPORT HTMLFormElement final : public HTMLElement {
// Do not access m_associatedElements directly. Use associatedElements()
// instead.
- FormAssociatedElement::List m_associatedElements;
+ ListedElement::List m_associatedElements;
tkent 2016/12/02 13:24:37 Rename this data member to m_listedElements.
// Do not access m_imageElements directly. Use imageElements() instead.
HeapVector<Member<HTMLImageElement>> m_imageElements;

Powered by Google App Engine
This is Rietveld 408576698