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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 Node* snapshotItem(unsigned long index, ExceptionCode&); | 73 Node* snapshotItem(unsigned long index, ExceptionCode&); |
74 | 74 |
75 private: | 75 private: |
76 XPathResult(Document*, const XPath::Value&); | 76 XPathResult(Document*, const XPath::Value&); |
77 | 77 |
78 XPath::Value m_value; | 78 XPath::Value m_value; |
79 unsigned m_nodeSetPosition; | 79 unsigned m_nodeSetPosition; |
80 XPath::NodeSet m_nodeSet; // FIXME: why duplicate the node set stored in
m_value? | 80 XPath::NodeSet m_nodeSet; // FIXME: why duplicate the node set stored in
m_value? |
81 unsigned short m_resultType; | 81 unsigned short m_resultType; |
82 RefPtr<Document> m_document; | 82 RefPtr<Document> m_document; |
83 unsigned m_domTreeVersion; | 83 uint64_t m_domTreeVersion; |
84 }; | 84 }; |
85 | 85 |
86 } // namespace WebCore | 86 } // namespace WebCore |
87 | 87 |
88 #endif // ENABLE(XPATH) | 88 #endif // ENABLE(XPATH) |
89 | 89 |
90 #endif // XPathResult_h | 90 #endif // XPathResult_h |
OLD | NEW |