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 25 matching lines...) Expand all Loading... |
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 Loading... |
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 |
OLD | NEW |