| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 WebNode WebNode::parentNode() const | 79 WebNode WebNode::parentNode() const |
| 80 { | 80 { |
| 81 return WebNode(const_cast<ContainerNode*>(m_private->parentNode())); | 81 return WebNode(const_cast<ContainerNode*>(m_private->parentNode())); |
| 82 } | 82 } |
| 83 | 83 |
| 84 WebString WebNode::nodeName() const | 84 WebString WebNode::nodeName() const |
| 85 { | 85 { |
| 86 return m_private->nodeName(); | 86 return m_private->nodeName(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 WebString WebNode::nodeValue() const | |
| 90 { | |
| 91 return m_private->nodeValue(); | |
| 92 } | |
| 93 | |
| 94 WebDocument WebNode::document() const | 89 WebDocument WebNode::document() const |
| 95 { | 90 { |
| 96 return WebDocument(&m_private->document()); | 91 return WebDocument(&m_private->document()); |
| 97 } | 92 } |
| 98 | 93 |
| 99 WebNode WebNode::firstChild() const | 94 WebNode WebNode::firstChild() const |
| 100 { | 95 { |
| 101 return WebNode(m_private->firstChild()); | 96 return WebNode(m_private->firstChild()); |
| 102 } | 97 } |
| 103 | 98 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 m_private = node; | 217 m_private = node; |
| 223 return *this; | 218 return *this; |
| 224 } | 219 } |
| 225 | 220 |
| 226 WebNode::operator PassRefPtr<Node>() const | 221 WebNode::operator PassRefPtr<Node>() const |
| 227 { | 222 { |
| 228 return m_private.get(); | 223 return m_private.get(); |
| 229 } | 224 } |
| 230 | 225 |
| 231 } // namespace blink | 226 } // namespace blink |
| OLD | NEW |