| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 return WebNode(m_private->previousSibling()); | 120 return WebNode(m_private->previousSibling()); |
| 121 } | 121 } |
| 122 | 122 |
| 123 WebNode WebNode::nextSibling() const | 123 WebNode WebNode::nextSibling() const |
| 124 { | 124 { |
| 125 return WebNode(m_private->nextSibling()); | 125 return WebNode(m_private->nextSibling()); |
| 126 } | 126 } |
| 127 | 127 |
| 128 bool WebNode::hasChildNodes() const | 128 bool WebNode::hasChildNodes() const |
| 129 { | 129 { |
| 130 return m_private->hasChildNodes(); | 130 return m_private->hasChildren(); |
| 131 } | 131 } |
| 132 | 132 |
| 133 WebNodeList WebNode::childNodes() | 133 WebNodeList WebNode::childNodes() |
| 134 { | 134 { |
| 135 return WebNodeList(m_private->childNodes()); | 135 return WebNodeList(m_private->childNodes()); |
| 136 } | 136 } |
| 137 | 137 |
| 138 WebString WebNode::createMarkup() const | 138 WebString WebNode::createMarkup() const |
| 139 { | 139 { |
| 140 return WebCore::createMarkup(m_private.get()); | 140 return WebCore::createMarkup(m_private.get()); |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 m_private = node; | 266 m_private = node; |
| 267 return *this; | 267 return *this; |
| 268 } | 268 } |
| 269 | 269 |
| 270 WebNode::operator PassRefPtr<Node>() const | 270 WebNode::operator PassRefPtr<Node>() const |
| 271 { | 271 { |
| 272 return m_private.get(); | 272 return m_private.get(); |
| 273 } | 273 } |
| 274 | 274 |
| 275 } // namespace blink | 275 } // namespace blink |
| OLD | NEW |