| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2005 Frerich Raabe <raabe@kde.org> | 2 * Copyright 2005 Frerich Raabe <raabe@kde.org> |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 DEFINE_WRAPPERTYPEINFO(); | 49 DEFINE_WRAPPERTYPEINFO(); |
| 50 public: | 50 public: |
| 51 static PassRefPtrWillBeRawPtr<XPathExpression> create() | 51 static PassRefPtrWillBeRawPtr<XPathExpression> create() |
| 52 { | 52 { |
| 53 return adoptRefWillBeNoop(new XPathExpression); | 53 return adoptRefWillBeNoop(new XPathExpression); |
| 54 } | 54 } |
| 55 | 55 |
| 56 static PassRefPtrWillBeRawPtr<XPathExpression> createExpression(const String
& expression, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&); | 56 static PassRefPtrWillBeRawPtr<XPathExpression> createExpression(const String
& expression, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&); |
| 57 PassRefPtrWillBeRawPtr<XPathResult> evaluate(Node* contextNode, unsigned sho
rt type, XPathResult*, ExceptionState&); | 57 PassRefPtrWillBeRawPtr<XPathResult> evaluate(Node* contextNode, unsigned sho
rt type, XPathResult*, ExceptionState&); |
| 58 | 58 |
| 59 void trace(Visitor*); | 59 DECLARE_TRACE(); |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 XPathExpression(); | 62 XPathExpression(); |
| 63 | 63 |
| 64 OwnPtrWillBeMember<XPath::Expression> m_topExpression; | 64 OwnPtrWillBeMember<XPath::Expression> m_topExpression; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace blink | 67 } // namespace blink |
| 68 | 68 |
| 69 #endif // XPathExpression_h | 69 #endif // XPathExpression_h |
| OLD | NEW |