OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |