| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 return false; | 156 return false; |
| 157 m_private->document().updateLayoutIgnorePendingStylesheets(); | 157 m_private->document().updateLayoutIgnorePendingStylesheets(); |
| 158 return toElement(m_private.get())->isFocusable(); | 158 return toElement(m_private.get())->isFocusable(); |
| 159 } | 159 } |
| 160 | 160 |
| 161 bool WebNode::isContentEditable() const | 161 bool WebNode::isContentEditable() const |
| 162 { | 162 { |
| 163 return m_private->isContentEditable(); | 163 return m_private->isContentEditable(); |
| 164 } | 164 } |
| 165 | 165 |
| 166 bool WebNode::isInsideFocusableElementOrARIAWidget() const |
| 167 { |
| 168 return AXObject::isInsideFocusableElementOrARIAWidget(*this->constUnwrap<Nod
e>()); |
| 169 } |
| 170 |
| 166 bool WebNode::isElementNode() const | 171 bool WebNode::isElementNode() const |
| 167 { | 172 { |
| 168 return m_private->isElementNode(); | 173 return m_private->isElementNode(); |
| 169 } | 174 } |
| 170 | 175 |
| 171 bool WebNode::dispatchEvent(const WebDOMEvent& event) | 176 bool WebNode::dispatchEvent(const WebDOMEvent& event) |
| 172 { | 177 { |
| 173 if (!event.isNull()) | 178 if (!event.isNull()) |
| 174 return m_private->dispatchEvent(event); | 179 return m_private->dispatchEvent(event); |
| 175 return false; | 180 return false; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 m_private = node; | 274 m_private = node; |
| 270 return *this; | 275 return *this; |
| 271 } | 276 } |
| 272 | 277 |
| 273 WebNode::operator PassRefPtrWillBeRawPtr<Node>() const | 278 WebNode::operator PassRefPtrWillBeRawPtr<Node>() const |
| 274 { | 279 { |
| 275 return m_private.get(); | 280 return m_private.get(); |
| 276 } | 281 } |
| 277 | 282 |
| 278 } // namespace blink | 283 } // namespace blink |
| OLD | NEW |