| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2004, 2005, 2006, 2009, 2011 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2009, 2011 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 break; | 169 break; |
| 170 } | 170 } |
| 171 | 171 |
| 172 return path; | 172 return path; |
| 173 } | 173 } |
| 174 | 174 |
| 175 HTMLImageElement* HTMLAreaElement::imageElement() const | 175 HTMLImageElement* HTMLAreaElement::imageElement() const |
| 176 { | 176 { |
| 177 if (HTMLMapElement* mapElement = Traversal<HTMLMapElement>::firstAncestor(*t
his)) | 177 if (HTMLMapElement* mapElement = Traversal<HTMLMapElement>::firstAncestor(*t
his)) |
| 178 return mapElement->imageElement(); | 178 return mapElement->imageElement(); |
| 179 return 0; | 179 return nullptr; |
| 180 } | 180 } |
| 181 | 181 |
| 182 bool HTMLAreaElement::isKeyboardFocusable() const | 182 bool HTMLAreaElement::isKeyboardFocusable() const |
| 183 { | 183 { |
| 184 return isFocusable(); | 184 return isFocusable(); |
| 185 } | 185 } |
| 186 | 186 |
| 187 bool HTMLAreaElement::isMouseFocusable() const | 187 bool HTMLAreaElement::isMouseFocusable() const |
| 188 { | 188 { |
| 189 return isFocusable(); | 189 return isFocusable(); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 return; | 222 return; |
| 223 | 223 |
| 224 HTMLImageElement* imageElement = this->imageElement(); | 224 HTMLImageElement* imageElement = this->imageElement(); |
| 225 if (!imageElement) | 225 if (!imageElement) |
| 226 return; | 226 return; |
| 227 | 227 |
| 228 imageElement->updateFocusAppearance(restorePreviousSelection); | 228 imageElement->updateFocusAppearance(restorePreviousSelection); |
| 229 } | 229 } |
| 230 | 230 |
| 231 } | 231 } |
| OLD | NEW |