| 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 "sky/engine/core/rendering/HitTestResult.h" | 22 #include "sky/engine/core/rendering/HitTestResult.h" |
| 23 | 23 |
| 24 #include "gen/sky/core/HTMLNames.h" | 24 #include "gen/sky/core/HTMLNames.h" |
| 25 #include "sky/engine/core/dom/DocumentMarkerController.h" | 25 #include "sky/engine/core/dom/DocumentMarkerController.h" |
| 26 #include "sky/engine/core/dom/NodeRenderingTraversal.h" | 26 #include "sky/engine/core/dom/NodeRenderingTraversal.h" |
| 27 #include "sky/engine/core/dom/shadow/ShadowRoot.h" | 27 #include "sky/engine/core/dom/shadow/ShadowRoot.h" |
| 28 #include "sky/engine/core/editing/FrameSelection.h" | 28 #include "sky/engine/core/editing/FrameSelection.h" |
| 29 #include "sky/engine/core/fetch/ImageResource.h" | 29 #include "sky/engine/core/fetch/ImageResource.h" |
| 30 #include "sky/engine/core/frame/LocalFrame.h" | 30 #include "sky/engine/core/frame/LocalFrame.h" |
| 31 #include "sky/engine/core/html/HTMLAnchorElement.h" | |
| 32 #include "sky/engine/core/html/HTMLImageElement.h" | |
| 33 #include "sky/engine/core/html/parser/HTMLParserIdioms.h" | |
| 34 #include "sky/engine/core/rendering/RenderImage.h" | 31 #include "sky/engine/core/rendering/RenderImage.h" |
| 35 | 32 |
| 36 namespace blink { | 33 namespace blink { |
| 37 | 34 |
| 38 HitTestResult::HitTestResult() | 35 HitTestResult::HitTestResult() |
| 39 { | 36 { |
| 40 } | 37 } |
| 41 | 38 |
| 42 HitTestResult::HitTestResult(const LayoutPoint& point) | 39 HitTestResult::HitTestResult(const LayoutPoint& point) |
| 43 : m_hitTestLocation(point) | 40 : m_hitTestLocation(point) |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 { | 261 { |
| 265 for (Node* node = m_innerNode.get(); node; node = NodeRenderingTraversal::pa
rent(node)) { | 262 for (Node* node = m_innerNode.get(); node; node = NodeRenderingTraversal::pa
rent(node)) { |
| 266 if (node->isElementNode()) | 263 if (node->isElementNode()) |
| 267 return toElement(node); | 264 return toElement(node); |
| 268 } | 265 } |
| 269 | 266 |
| 270 return 0; | 267 return 0; |
| 271 } | 268 } |
| 272 | 269 |
| 273 } // namespace blink | 270 } // namespace blink |
| OLD | NEW |