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

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

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (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/dom/Node.h ('k') | Source/core/dom/NodeIterator.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 * Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no) 3 * Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no)
4 * Copyright (C) 2001 Peter Kelly (pmk@post.com) 4 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
5 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 5 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
6 * Copyright (C) 2004, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2008, 2009 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 14 matching lines...) Expand all
25 #ifndef NodeFilter_h 25 #ifndef NodeFilter_h
26 #define NodeFilter_h 26 #define NodeFilter_h
27 27
28 #include "bindings/core/v8/ScriptWrappable.h" 28 #include "bindings/core/v8/ScriptWrappable.h"
29 #include "core/dom/NodeFilterCondition.h" 29 #include "core/dom/NodeFilterCondition.h"
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 #include "wtf/RefPtr.h" 31 #include "wtf/RefPtr.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class NodeFilter FINAL : public RefCountedWillBeGarbageCollected<NodeFilter>, pu blic ScriptWrappable { 35 class NodeFilter final : public RefCountedWillBeGarbageCollected<NodeFilter>, pu blic ScriptWrappable {
36 DEFINE_WRAPPERTYPEINFO(); 36 DEFINE_WRAPPERTYPEINFO();
37 public: 37 public:
38 /** 38 /**
39 * The following constants are returned by the acceptNode() 39 * The following constants are returned by the acceptNode()
40 * method: 40 * method:
41 */ 41 */
42 enum { 42 enum {
43 FILTER_ACCEPT = 1, 43 FILTER_ACCEPT = 1,
44 FILTER_REJECT = 2, 44 FILTER_REJECT = 2,
45 FILTER_SKIP = 3 45 FILTER_SKIP = 3
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 explicit NodeFilter(PassRefPtrWillBeRawPtr<NodeFilterCondition> condition) : m_condition(condition) { } 90 explicit NodeFilter(PassRefPtrWillBeRawPtr<NodeFilterCondition> condition) : m_condition(condition) { }
91 91
92 NodeFilter() { } 92 NodeFilter() { }
93 93
94 RefPtrWillBeMember<NodeFilterCondition> m_condition; 94 RefPtrWillBeMember<NodeFilterCondition> m_condition;
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif // NodeFilter_h 99 #endif // NodeFilter_h
OLDNEW
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/NodeIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698