| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 #include "config.h" | 22 #include "config.h" |
| 23 #include "core/layout/HitTestResult.h" | 23 #include "core/layout/HitTestResult.h" |
| 24 | 24 |
| 25 #include "core/HTMLNames.h" | 25 #include "core/HTMLNames.h" |
| 26 #include "core/dom/DocumentMarkerController.h" | 26 #include "core/dom/DocumentMarkerController.h" |
| 27 #include "core/dom/PseudoElement.h" | 27 #include "core/dom/PseudoElement.h" |
| 28 #include "core/dom/shadow/ComposedTreeTraversal.h" | 28 #include "core/dom/shadow/ComposedTreeTraversal.h" |
| 29 #include "core/dom/shadow/ShadowRoot.h" | 29 #include "core/dom/shadow/ShadowRoot.h" |
| 30 #include "core/editing/FrameSelection.h" | 30 #include "core/editing/FrameSelection.h" |
| 31 #include "core/fetch/ImageResource.h" | |
| 32 #include "core/frame/LocalFrame.h" | 31 #include "core/frame/LocalFrame.h" |
| 33 #include "core/html/HTMLAnchorElement.h" | 32 #include "core/html/HTMLAnchorElement.h" |
| 34 #include "core/html/HTMLAreaElement.h" | 33 #include "core/html/HTMLAreaElement.h" |
| 35 #include "core/html/HTMLImageElement.h" | 34 #include "core/html/HTMLImageElement.h" |
| 36 #include "core/html/HTMLInputElement.h" | 35 #include "core/html/HTMLInputElement.h" |
| 37 #include "core/html/HTMLMapElement.h" | 36 #include "core/html/HTMLMapElement.h" |
| 38 #include "core/html/HTMLMediaElement.h" | 37 #include "core/html/HTMLMediaElement.h" |
| 39 #include "core/html/HTMLTextAreaElement.h" | 38 #include "core/html/HTMLTextAreaElement.h" |
| 40 #include "core/html/parser/HTMLParserIdioms.h" | 39 #include "core/html/parser/HTMLParserIdioms.h" |
| 41 #include "core/layout/LayoutImage.h" | 40 #include "core/layout/LayoutImage.h" |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 else if (isHTMLMapElement(m_innerNode)) | 538 else if (isHTMLMapElement(m_innerNode)) |
| 540 imageMapImageElement = toHTMLMapElement(m_innerNode)->imageElement(); | 539 imageMapImageElement = toHTMLMapElement(m_innerNode)->imageElement(); |
| 541 | 540 |
| 542 if (!imageMapImageElement) | 541 if (!imageMapImageElement) |
| 543 return m_innerNode.get(); | 542 return m_innerNode.get(); |
| 544 | 543 |
| 545 return imageMapImageElement; | 544 return imageMapImageElement; |
| 546 } | 545 } |
| 547 | 546 |
| 548 } // namespace blink | 547 } // namespace blink |
| OLD | NEW |