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

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

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/html/HTMLTableSectionElement.h ('k') | Source/core/html/HTMLTemplateElement.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, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
7 * Copyright (C) 2014 Samsung Electronics. All rights reserved. 7 * Copyright (C) 2014 Samsung Electronics. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 13 matching lines...) Expand all
24 24
25 #ifndef HTMLTagCollection_h 25 #ifndef HTMLTagCollection_h
26 #define HTMLTagCollection_h 26 #define HTMLTagCollection_h
27 27
28 #include "core/dom/Element.h" 28 #include "core/dom/Element.h"
29 #include "core/dom/TagCollection.h" 29 #include "core/dom/TagCollection.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 // Collection that limits to a particular tag and whose rootNode is in an HTMLDo cument. 33 // Collection that limits to a particular tag and whose rootNode is in an HTMLDo cument.
34 class HTMLTagCollection FINAL : public TagCollection { 34 class HTMLTagCollection final : public TagCollection {
35 public: 35 public:
36 static PassRefPtrWillBeRawPtr<HTMLTagCollection> create(ContainerNode& rootN ode, CollectionType type, const AtomicString& localName) 36 static PassRefPtrWillBeRawPtr<HTMLTagCollection> create(ContainerNode& rootN ode, CollectionType type, const AtomicString& localName)
37 { 37 {
38 ASSERT_UNUSED(type, type == HTMLTagCollectionType); 38 ASSERT_UNUSED(type, type == HTMLTagCollectionType);
39 return adoptRefWillBeNoop(new HTMLTagCollection(rootNode, localName)); 39 return adoptRefWillBeNoop(new HTMLTagCollection(rootNode, localName));
40 } 40 }
41 41
42 bool elementMatches(const Element&) const; 42 bool elementMatches(const Element&) const;
43 43
44 private: 44 private:
(...skipping 12 matching lines...) Expand all
57 if (localName != testElement.localName()) 57 if (localName != testElement.localName())
58 return false; 58 return false;
59 } 59 }
60 ASSERT(m_namespaceURI == starAtom); 60 ASSERT(m_namespaceURI == starAtom);
61 return true; 61 return true;
62 } 62 }
63 63
64 } // namespace blink 64 } // namespace blink
65 65
66 #endif // HTMLTagCollection_h 66 #endif // HTMLTagCollection_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTableSectionElement.h ('k') | Source/core/html/HTMLTemplateElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698