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

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

Issue 1511523002: Align HTMLImageElement relevant mutations to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix removal issue when a text node is between <source> and <img> Created 5 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 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 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void formAttributeTargetChanged(); 92 void formAttributeTargetChanged();
93 93
94 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement>> List; 94 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement>> List;
95 95
96 DECLARE_VIRTUAL_TRACE(); 96 DECLARE_VIRTUAL_TRACE();
97 97
98 protected: 98 protected:
99 FormAssociatedElement(); 99 FormAssociatedElement();
100 100
101 void insertedInto(ContainerNode*); 101 void insertedInto(ContainerNode*);
102 void removedFrom(ContainerNode*); 102 void removedFrom(ContainerNode* insertionPoint, Node* next);
103 void didMoveToNewDocument(Document& oldDocument); 103 void didMoveToNewDocument(Document& oldDocument);
104 104
105 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and 105 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and
106 // setForm is confusing. 106 // setForm is confusing.
107 void setForm(HTMLFormElement*); 107 void setForm(HTMLFormElement*);
108 void associateByParser(HTMLFormElement*); 108 void associateByParser(HTMLFormElement*);
109 void formAttributeChanged(); 109 void formAttributeChanged();
110 110
111 // If you add an override of willChangeForm() or didChangeForm() to a class 111 // If you add an override of willChangeForm() or didChangeForm() to a class
112 // derived from this one, you will need to add a call to setForm(0) to the 112 // derived from this one, you will need to add a call to setForm(0) to the
(...skipping 24 matching lines...) Expand all
137 }; 137 };
138 138
139 HTMLElement* toHTMLElement(FormAssociatedElement*); 139 HTMLElement* toHTMLElement(FormAssociatedElement*);
140 HTMLElement& toHTMLElement(FormAssociatedElement&); 140 HTMLElement& toHTMLElement(FormAssociatedElement&);
141 const HTMLElement* toHTMLElement(const FormAssociatedElement*); 141 const HTMLElement* toHTMLElement(const FormAssociatedElement*);
142 const HTMLElement& toHTMLElement(const FormAssociatedElement&); 142 const HTMLElement& toHTMLElement(const FormAssociatedElement&);
143 143
144 } // namespace 144 } // namespace
145 145
146 #endif // FormAssociatedElement_h 146 #endif // FormAssociatedElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698