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 19 matching lines...) Expand all Loading... |
30 #include "core/editing/FrameSelection.h" | 30 #include "core/editing/FrameSelection.h" |
31 #include "core/fetch/ImageResource.h" | 31 #include "core/fetch/ImageResource.h" |
32 #include "core/frame/LocalFrame.h" | 32 #include "core/frame/LocalFrame.h" |
33 #include "core/html/HTMLAnchorElement.h" | 33 #include "core/html/HTMLAnchorElement.h" |
34 #include "core/html/HTMLImageElement.h" | 34 #include "core/html/HTMLImageElement.h" |
35 #include "core/html/HTMLInputElement.h" | 35 #include "core/html/HTMLInputElement.h" |
36 #include "core/html/HTMLMediaElement.h" | 36 #include "core/html/HTMLMediaElement.h" |
37 #include "core/html/HTMLTextAreaElement.h" | 37 #include "core/html/HTMLTextAreaElement.h" |
38 #include "core/html/parser/HTMLParserIdioms.h" | 38 #include "core/html/parser/HTMLParserIdioms.h" |
39 #include "core/layout/LayoutImage.h" | 39 #include "core/layout/LayoutImage.h" |
| 40 #include "core/layout/LayoutTextFragment.h" |
40 #include "core/page/FrameTree.h" | 41 #include "core/page/FrameTree.h" |
41 #include "core/rendering/RenderTextFragment.h" | |
42 #include "core/svg/SVGElement.h" | 42 #include "core/svg/SVGElement.h" |
43 #include "platform/scroll/Scrollbar.h" | 43 #include "platform/scroll/Scrollbar.h" |
44 | 44 |
45 namespace blink { | 45 namespace blink { |
46 | 46 |
47 using namespace HTMLNames; | 47 using namespace HTMLNames; |
48 | 48 |
49 HitTestResult::HitTestResult() | 49 HitTestResult::HitTestResult() |
50 : m_isOverWidget(false) | 50 : m_isOverWidget(false) |
51 { | 51 { |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 { | 475 { |
476 for (Node* node = m_innerNode.get(); node; node = NodeRenderingTraversal::pa
rent(*node)) { | 476 for (Node* node = m_innerNode.get(); node; node = NodeRenderingTraversal::pa
rent(*node)) { |
477 if (node->isElementNode()) | 477 if (node->isElementNode()) |
478 return toElement(node); | 478 return toElement(node); |
479 } | 479 } |
480 | 480 |
481 return 0; | 481 return 0; |
482 } | 482 } |
483 | 483 |
484 } // namespace blink | 484 } // namespace blink |
OLD | NEW |