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

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

Issue 24430002: Rename attach and detach to createRenderTree/destroyRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 using Node::ref; 105 using Node::ref;
106 using Node::deref; 106 using Node::deref;
107 107
108 protected: 108 protected:
109 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem ent*); 109 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem ent*);
110 110
111 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 111 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
112 virtual void requiredAttributeChanged(); 112 virtual void requiredAttributeChanged();
113 virtual void disabledAttributeChanged(); 113 virtual void disabledAttributeChanged();
114 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; 114 virtual void createRenderTree(const AttachContext& = AttachContext()) OVERRI DE;
115 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 115 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
116 virtual void removedFrom(ContainerNode*) OVERRIDE; 116 virtual void removedFrom(ContainerNode*) OVERRIDE;
117 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; 117 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE;
118 118
119 virtual bool supportsFocus() const OVERRIDE; 119 virtual bool supportsFocus() const OVERRIDE;
120 virtual bool isKeyboardFocusable() const OVERRIDE; 120 virtual bool isKeyboardFocusable() const OVERRIDE;
121 virtual bool shouldShowFocusRingOnMouseFocus() const; 121 virtual bool shouldShowFocusRingOnMouseFocus() const;
122 virtual bool shouldHaveFocusAppearance() const OVERRIDE; 122 virtual bool shouldHaveFocusAppearance() const OVERRIDE;
123 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusDirection) OVERRIDE; 123 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusDirection) OVERRIDE;
124 virtual void dispatchBlurEvent(Element* newFocusedElement) OVERRIDE; 124 virtual void dispatchBlurEvent(Element* newFocusedElement) OVERRIDE;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 inline const HTMLFormControlElement* toHTMLFormControlElement(const FormAssociat edElement* control) 185 inline const HTMLFormControlElement* toHTMLFormControlElement(const FormAssociat edElement* control)
186 { 186 {
187 ASSERT_WITH_SECURITY_IMPLICATION(!control || control->isFormControlElement() ); 187 ASSERT_WITH_SECURITY_IMPLICATION(!control || control->isFormControlElement() );
188 return static_cast<const HTMLFormControlElement*>(control); 188 return static_cast<const HTMLFormControlElement*>(control);
189 } 189 }
190 190
191 } // namespace 191 } // namespace
192 192
193 #endif 193 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698