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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/xml/XPathNSResolver.h ('k') | Source/core/xml/XSLTProcessor.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 27 matching lines...) Expand all
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 public: 49 public:
49 enum XPathResultType { 50 enum XPathResultType {
50 ANY_TYPE = 0, 51 ANY_TYPE = 0,
51 NUMBER_TYPE = 1, 52 NUMBER_TYPE = 1,
52 STRING_TYPE = 2, 53 STRING_TYPE = 2,
53 BOOLEAN_TYPE = 3, 54 BOOLEAN_TYPE = 3,
54 UNORDERED_NODE_ITERATOR_TYPE = 4, 55 UNORDERED_NODE_ITERATOR_TYPE = 4,
55 ORDERED_NODE_ITERATOR_TYPE = 5, 56 ORDERED_NODE_ITERATOR_TYPE = 5,
56 UNORDERED_NODE_SNAPSHOT_TYPE = 6, 57 UNORDERED_NODE_SNAPSHOT_TYPE = 6,
57 ORDERED_NODE_SNAPSHOT_TYPE = 7, 58 ORDERED_NODE_SNAPSHOT_TYPE = 7,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 unsigned m_nodeSetPosition; 91 unsigned m_nodeSetPosition;
91 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?
92 unsigned short m_resultType; 93 unsigned short m_resultType;
93 RefPtrWillBeMember<Document> m_document; 94 RefPtrWillBeMember<Document> m_document;
94 uint64_t m_domTreeVersion; 95 uint64_t m_domTreeVersion;
95 }; 96 };
96 97
97 } // namespace blink 98 } // namespace blink
98 99
99 #endif // XPathResult_h 100 #endif // XPathResult_h
OLDNEW
« no previous file with comments | « Source/core/xml/XPathNSResolver.h ('k') | Source/core/xml/XSLTProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698