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

Side by Side Diff: Source/core/html/WindowNameCollection.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/TextMetrics.h ('k') | Source/core/html/canvas/ANGLEInstancedArrays.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WindowNameCollection_h 5 #ifndef WindowNameCollection_h
6 #define WindowNameCollection_h 6 #define WindowNameCollection_h
7 7
8 #include "core/html/HTMLNameCollection.h" 8 #include "core/html/HTMLNameCollection.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class WindowNameCollection FINAL : public HTMLNameCollection { 12 class WindowNameCollection final : public HTMLNameCollection {
13 public: 13 public:
14 static PassRefPtrWillBeRawPtr<WindowNameCollection> create(ContainerNode& do cument, CollectionType type, const AtomicString& name) 14 static PassRefPtrWillBeRawPtr<WindowNameCollection> create(ContainerNode& do cument, CollectionType type, const AtomicString& name)
15 { 15 {
16 ASSERT_UNUSED(type, type == WindowNamedItems); 16 ASSERT_UNUSED(type, type == WindowNamedItems);
17 return adoptRefWillBeNoop(new WindowNameCollection(document, name)); 17 return adoptRefWillBeNoop(new WindowNameCollection(document, name));
18 } 18 }
19 19
20 bool elementMatches(const Element&) const; 20 bool elementMatches(const Element&) const;
21 21
22 private: 22 private:
23 WindowNameCollection(ContainerNode& document, const AtomicString& name); 23 WindowNameCollection(ContainerNode& document, const AtomicString& name);
24 }; 24 };
25 25
26 DEFINE_TYPE_CASTS(WindowNameCollection, LiveNodeListBase, collection, collection ->type() == WindowNamedItems, collection.type() == WindowNamedItems); 26 DEFINE_TYPE_CASTS(WindowNameCollection, LiveNodeListBase, collection, collection ->type() == WindowNamedItems, collection.type() == WindowNamedItems);
27 27
28 } // namespace blink 28 } // namespace blink
29 29
30 #endif // WindowNameCollection_h 30 #endif // WindowNameCollection_h
OLDNEW
« no previous file with comments | « Source/core/html/TextMetrics.h ('k') | Source/core/html/canvas/ANGLEInstancedArrays.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698