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

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

Issue 1922763003: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo revival of unused includes Created 4 years, 8 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
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 24 matching lines...) Expand all
35 namespace blink { 35 namespace blink {
36 36
37 class Document; 37 class Document;
38 class ExceptionState; 38 class ExceptionState;
39 class Node; 39 class Node;
40 40
41 namespace XPath { 41 namespace XPath {
42 struct EvaluationContext; 42 struct EvaluationContext;
43 } 43 }
44 44
45 // TODO(Oilpan): remove Finalized when transition type for m_document is. 45 class XPathResult final : public GarbageCollected<XPathResult>, public ScriptWra ppable {
46 class XPathResult final : public GarbageCollectedFinalized<XPathResult>, public ScriptWrappable {
47 DEFINE_WRAPPERTYPEINFO(); 46 DEFINE_WRAPPERTYPEINFO();
48 public: 47 public:
49 enum XPathResultType { 48 enum XPathResultType {
50 ANY_TYPE = 0, 49 ANY_TYPE = 0,
51 NUMBER_TYPE = 1, 50 NUMBER_TYPE = 1,
52 STRING_TYPE = 2, 51 STRING_TYPE = 2,
53 BOOLEAN_TYPE = 3, 52 BOOLEAN_TYPE = 3,
54 UNORDERED_NODE_ITERATOR_TYPE = 4, 53 UNORDERED_NODE_ITERATOR_TYPE = 4,
55 ORDERED_NODE_ITERATOR_TYPE = 5, 54 ORDERED_NODE_ITERATOR_TYPE = 5,
56 UNORDERED_NODE_SNAPSHOT_TYPE = 6, 55 UNORDERED_NODE_SNAPSHOT_TYPE = 6,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 unsigned m_nodeSetPosition; 89 unsigned m_nodeSetPosition;
91 Member<XPath::NodeSet> m_nodeSet; // FIXME: why duplicate the node set store d in m_value? 90 Member<XPath::NodeSet> m_nodeSet; // FIXME: why duplicate the node set store d in m_value?
92 unsigned short m_resultType; 91 unsigned short m_resultType;
93 Member<Document> m_document; 92 Member<Document> m_document;
94 uint64_t m_domTreeVersion; 93 uint64_t m_domTreeVersion;
95 }; 94 };
96 95
97 } // namespace blink 96 } // namespace blink
98 97
99 #endif // XPathResult_h 98 #endif // XPathResult_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathNodeSet.h ('k') | third_party/WebKit/Source/platform/heap/Handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698