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

Side by Side Diff: Source/core/dom/ContainerNode.h

Issue 126633004: Update DOM classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/dom/Comment.h ('k') | Source/core/dom/DOMSettableTokenList.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void parserRemoveChild(Node&); 108 void parserRemoveChild(Node&);
109 void parserInsertBefore(PassRefPtr<Node> newChild, Node& refChild); 109 void parserInsertBefore(PassRefPtr<Node> newChild, Node& refChild);
110 void parserTakeAllChildrenFrom(ContainerNode&); 110 void parserTakeAllChildrenFrom(ContainerNode&);
111 111
112 void removeChildren(); 112 void removeChildren();
113 113
114 void cloneChildNodes(ContainerNode* clone); 114 void cloneChildNodes(ContainerNode* clone);
115 115
116 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; 116 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
117 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; 117 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
118 virtual LayoutRect boundingBox() const OVERRIDE; 118 virtual LayoutRect boundingBox() const OVERRIDE FINAL;
119 virtual void setFocus(bool) OVERRIDE; 119 virtual void setFocus(bool) OVERRIDE;
120 void focusStateChanged(); 120 void focusStateChanged();
121 virtual void setActive(bool = true) OVERRIDE; 121 virtual void setActive(bool = true) OVERRIDE;
122 virtual void setHovered(bool = true) OVERRIDE; 122 virtual void setHovered(bool = true) OVERRIDE;
123 123
124 // ------------------------------------------------------------------------- ---- 124 // ------------------------------------------------------------------------- ----
125 // Notification of document structure changes (see core/dom/Node.h for more notification methods) 125 // Notification of document structure changes (see core/dom/Node.h for more notification methods)
126 126
127 // Notifies the node that it's list of children have changed (either by addi ng or removing child nodes), or a child 127 // Notifies the node that it's list of children have changed (either by addi ng or removing child nodes), or a child
128 // node that is of the type CDATA_SECTION_NODE, TEXT_NODE or COMMENT_NODE ha s changed its value. 128 // node that is of the type CDATA_SECTION_NODE, TEXT_NODE or COMMENT_NODE ha s changed its value.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 312
313 RefPtr<Node> m_currentNode; 313 RefPtr<Node> m_currentNode;
314 unsigned m_currentIndex; 314 unsigned m_currentIndex;
315 OwnPtr<Vector<RefPtr<Node> > > m_childNodes; // Lazily instantiated. 315 OwnPtr<Vector<RefPtr<Node> > > m_childNodes; // Lazily instantiated.
316 ChildNodesLazySnapshot* m_nextSnapshot; 316 ChildNodesLazySnapshot* m_nextSnapshot;
317 }; 317 };
318 318
319 } // namespace WebCore 319 } // namespace WebCore
320 320
321 #endif // ContainerNode_h 321 #endif // ContainerNode_h
OLDNEW
« no previous file with comments | « Source/core/dom/Comment.h ('k') | Source/core/dom/DOMSettableTokenList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698