| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 class Node; | 34 class Node; |
| 35 | 35 |
| 36 namespace XPath { | 36 namespace XPath { |
| 37 | 37 |
| 38 // @return whether the given node is the root node | 38 // @return whether the given node is the root node |
| 39 bool isRootDomNode(Node*); | 39 bool isRootDomNode(Node*); |
| 40 | 40 |
| 41 // @return the 'string-value' of the given node as specified by http://www.w3.or
g/TR/xpath | 41 // @return the 'string-value' of the given node as specified by |
| 42 // http://www.w3.org/TR/xpath |
| 42 String stringValue(Node*); | 43 String stringValue(Node*); |
| 43 | 44 |
| 44 // @return whether the given node is a valid context node | 45 // @return whether the given node is a valid context node |
| 45 bool isValidContextNode(Node*); | 46 bool isValidContextNode(Node*); |
| 46 | 47 |
| 47 } // namespace XPath | 48 } // namespace XPath |
| 48 | 49 |
| 49 } // namespace blink | 50 } // namespace blink |
| 50 #endif // XPathUtil_h | 51 #endif // XPathUtil_h |
| OLD | NEW |