| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 return WebCore::createMarkup(m_private.get()); | 140 return WebCore::createMarkup(m_private.get()); |
| 141 } | 141 } |
| 142 | 142 |
| 143 bool WebNode::isTextNode() const | 143 bool WebNode::isTextNode() const |
| 144 { | 144 { |
| 145 return m_private->isTextNode(); | 145 return m_private->isTextNode(); |
| 146 } | 146 } |
| 147 | 147 |
| 148 bool WebNode::isFocusable() const | 148 bool WebNode::isFocusable() const |
| 149 { | 149 { |
| 150 m_private->document()->updateLayout(); |
| 150 return m_private->isFocusable(); | 151 return m_private->isFocusable(); |
| 151 } | 152 } |
| 152 | 153 |
| 153 bool WebNode::isContentEditable() const | 154 bool WebNode::isContentEditable() const |
| 154 { | 155 { |
| 155 return m_private->isContentEditable(); | 156 return m_private->isContentEditable(); |
| 156 } | 157 } |
| 157 | 158 |
| 158 bool WebNode::isElementNode() const | 159 bool WebNode::isElementNode() const |
| 159 { | 160 { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 m_private = node; | 205 m_private = node; |
| 205 return *this; | 206 return *this; |
| 206 } | 207 } |
| 207 | 208 |
| 208 WebNode::operator PassRefPtr<Node>() const | 209 WebNode::operator PassRefPtr<Node>() const |
| 209 { | 210 { |
| 210 return m_private.get(); | 211 return m_private.get(); |
| 211 } | 212 } |
| 212 | 213 |
| 213 } // namespace WebKit | 214 } // namespace WebKit |
| OLD | NEW |