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

Side by Side Diff: Source/core/xml/XPathResult.h

Issue 637483002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/xml (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/xml/XPathPredicate.h ('k') | Source/core/xml/XPathStep.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) 2005 Frerich Raabe <raabe@kde.org> 2 * Copyright (C) 2005 Frerich Raabe <raabe@kde.org>
3 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 25 matching lines...) Expand all
36 namespace blink { 36 namespace blink {
37 37
38 class Document; 38 class Document;
39 class ExceptionState; 39 class ExceptionState;
40 class Node; 40 class Node;
41 41
42 namespace XPath { 42 namespace XPath {
43 struct EvaluationContext; 43 struct EvaluationContext;
44 } 44 }
45 45
46 class XPathResult FINAL : public RefCountedWillBeGarbageCollected<XPathResult>, public ScriptWrappable { 46 class XPathResult final : public RefCountedWillBeGarbageCollected<XPathResult>, public ScriptWrappable {
47 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(XPathResult); 47 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(XPathResult);
48 DEFINE_WRAPPERTYPEINFO(); 48 DEFINE_WRAPPERTYPEINFO();
49 public: 49 public:
50 enum XPathResultType { 50 enum XPathResultType {
51 ANY_TYPE = 0, 51 ANY_TYPE = 0,
52 NUMBER_TYPE = 1, 52 NUMBER_TYPE = 1,
53 STRING_TYPE = 2, 53 STRING_TYPE = 2,
54 BOOLEAN_TYPE = 3, 54 BOOLEAN_TYPE = 3,
55 UNORDERED_NODE_ITERATOR_TYPE = 4, 55 UNORDERED_NODE_ITERATOR_TYPE = 4,
56 ORDERED_NODE_ITERATOR_TYPE = 5, 56 ORDERED_NODE_ITERATOR_TYPE = 5,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 unsigned m_nodeSetPosition; 91 unsigned m_nodeSetPosition;
92 OwnPtrWillBeMember<XPath::NodeSet> m_nodeSet; // FIXME: why duplicate the no de set stored in m_value? 92 OwnPtrWillBeMember<XPath::NodeSet> m_nodeSet; // FIXME: why duplicate the no de set stored in m_value?
93 unsigned short m_resultType; 93 unsigned short m_resultType;
94 RefPtrWillBeMember<Document> m_document; 94 RefPtrWillBeMember<Document> m_document;
95 uint64_t m_domTreeVersion; 95 uint64_t m_domTreeVersion;
96 }; 96 };
97 97
98 } // namespace blink 98 } // namespace blink
99 99
100 #endif // XPathResult_h 100 #endif // XPathResult_h
OLDNEW
« no previous file with comments | « Source/core/xml/XPathPredicate.h ('k') | Source/core/xml/XPathStep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698