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

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

Issue 2164493002: Renamed Node::attach to Node::attachLayoutTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 void setFocus(bool flag) override; 122 void setFocus(bool flag) override;
123 void copyNonAttributePropertiesFromElement(const Element&) override; 123 void copyNonAttributePropertiesFromElement(const Element&) override;
124 124
125 protected: 125 protected:
126 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem ent*); 126 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem ent*);
127 127
128 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override; 128 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override;
129 virtual void requiredAttributeChanged(); 129 virtual void requiredAttributeChanged();
130 virtual void disabledAttributeChanged(); 130 virtual void disabledAttributeChanged();
131 void attach(const AttachContext& = AttachContext()) override; 131 void attachLayoutTree(const AttachContext& = AttachContext()) override;
132 InsertionNotificationRequest insertedInto(ContainerNode*) override; 132 InsertionNotificationRequest insertedInto(ContainerNode*) override;
133 void removedFrom(ContainerNode*) override; 133 void removedFrom(ContainerNode*) override;
134 void willChangeForm() override; 134 void willChangeForm() override;
135 void didChangeForm() override; 135 void didChangeForm() override;
136 void didMoveToNewDocument(Document& oldDocument) override; 136 void didMoveToNewDocument(Document& oldDocument) override;
137 137
138 bool supportsFocus() const override; 138 bool supportsFocus() const override;
139 bool isKeyboardFocusable() const override; 139 bool isKeyboardFocusable() const override;
140 virtual bool shouldShowFocusRingOnMouseFocus() const; 140 virtual bool shouldShowFocusRingOnMouseFocus() const;
141 bool shouldHaveFocusAppearance() const final; 141 bool shouldHaveFocusAppearance() const final;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 { 195 {
196 return element.isFormControlElement(); 196 return element.isFormControlElement();
197 } 197 }
198 198
199 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); 199 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement);
200 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro l->isFormControlElement(), control.isFormControlElement()); 200 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro l->isFormControlElement(), control.isFormControlElement());
201 201
202 } // namespace blink 202 } // namespace blink
203 203
204 #endif 204 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698