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

Side by Side Diff: Source/core/html/HTMLFormControlElement.h

Issue 258143002: Oilpan: move DOM string collection objects to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased to meet NodeRareData CL Created 6 years, 7 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 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 static HTMLFormControlElement* enclosingFormControlElement(Node*); 103 static HTMLFormControlElement* enclosingFormControlElement(Node*);
104 104
105 String nameForAutofill() const; 105 String nameForAutofill() const;
106 106
107 virtual void setFocus(bool flag) OVERRIDE; 107 virtual void setFocus(bool flag) OVERRIDE;
108 108
109 using Node::ref; 109 using Node::ref;
110 using Node::deref; 110 using Node::deref;
111 111
112 virtual void trace(Visitor*) OVERRIDE;
Mads Ager (chromium) 2014/05/08 11:52:43 Ditto.
113
112 protected: 114 protected:
113 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem ent*); 115 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem ent*);
114 116
115 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 117 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
116 virtual void requiredAttributeChanged(); 118 virtual void requiredAttributeChanged();
117 virtual void disabledAttributeChanged(); 119 virtual void disabledAttributeChanged();
118 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; 120 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
119 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 121 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
120 virtual void removedFrom(ContainerNode*) OVERRIDE; 122 virtual void removedFrom(ContainerNode*) OVERRIDE;
121 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; 123 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 { 181 {
180 return element.isFormControlElement(); 182 return element.isFormControlElement();
181 } 183 }
182 184
183 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); 185 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement);
184 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro l->isFormControlElement(), control.isFormControlElement()); 186 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro l->isFormControlElement(), control.isFormControlElement());
185 187
186 } // namespace 188 } // namespace
187 189
188 #endif 190 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698