| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 BLINK_EXPORT WebNode parentNode() const; | 96 BLINK_EXPORT WebNode parentNode() const; |
| 97 BLINK_EXPORT WebString nodeValue() const; | 97 BLINK_EXPORT WebString nodeValue() const; |
| 98 BLINK_EXPORT WebDocument document() const; | 98 BLINK_EXPORT WebDocument document() const; |
| 99 BLINK_EXPORT WebNode firstChild() const; | 99 BLINK_EXPORT WebNode firstChild() const; |
| 100 BLINK_EXPORT WebNode lastChild() const; | 100 BLINK_EXPORT WebNode lastChild() const; |
| 101 BLINK_EXPORT WebNode previousSibling() const; | 101 BLINK_EXPORT WebNode previousSibling() const; |
| 102 BLINK_EXPORT WebNode nextSibling() const; | 102 BLINK_EXPORT WebNode nextSibling() const; |
| 103 BLINK_EXPORT bool hasChildNodes() const; | 103 BLINK_EXPORT bool hasChildNodes() const; |
| 104 BLINK_EXPORT WebNodeList childNodes(); | 104 BLINK_EXPORT WebNodeList childNodes(); |
| 105 BLINK_EXPORT bool isLink() const; | 105 BLINK_EXPORT bool isLink() const; |
| 106 BLINK_EXPORT bool isCommentNode() const; |
| 106 BLINK_EXPORT bool isTextNode() const; | 107 BLINK_EXPORT bool isTextNode() const; |
| 107 BLINK_EXPORT bool isFocusable() const; | 108 BLINK_EXPORT bool isFocusable() const; |
| 108 BLINK_EXPORT bool isContentEditable() const; | 109 BLINK_EXPORT bool isContentEditable() const; |
| 109 BLINK_EXPORT bool isElementNode() const; | 110 BLINK_EXPORT bool isElementNode() const; |
| 110 BLINK_EXPORT void dispatchEvent(const WebDOMEvent&); | 111 BLINK_EXPORT void dispatchEvent(const WebDOMEvent&); |
| 111 BLINK_EXPORT void simulateClick(); | 112 BLINK_EXPORT void simulateClick(); |
| 112 // The argument should be lower-cased. | 113 // The argument should be lower-cased. |
| 113 BLINK_EXPORT WebElementCollection getElementsByHTMLTagName(const WebString&)
const; | 114 BLINK_EXPORT WebElementCollection getElementsByHTMLTagName(const WebString&)
const; |
| 114 | 115 |
| 115 | 116 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 } | 176 } |
| 176 | 177 |
| 177 inline bool operator<(const WebNode& a, const WebNode& b) | 178 inline bool operator<(const WebNode& a, const WebNode& b) |
| 178 { | 179 { |
| 179 return a.lessThan(b); | 180 return a.lessThan(b); |
| 180 } | 181 } |
| 181 | 182 |
| 182 } // namespace blink | 183 } // namespace blink |
| 183 | 184 |
| 184 #endif | 185 #endif |
| OLD | NEW |