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 23 matching lines...) Expand all Loading... |
34 #include "core/html/HTMLAreaElement.h" | 34 #include "core/html/HTMLAreaElement.h" |
35 #include "core/html/HTMLImageElement.h" | 35 #include "core/html/HTMLImageElement.h" |
36 #include "core/html/HTMLInputElement.h" | 36 #include "core/html/HTMLInputElement.h" |
37 #include "core/html/HTMLMediaElement.h" | 37 #include "core/html/HTMLMediaElement.h" |
38 #include "core/html/HTMLTextAreaElement.h" | 38 #include "core/html/HTMLTextAreaElement.h" |
39 #include "core/html/HTMLVideoElement.h" | 39 #include "core/html/HTMLVideoElement.h" |
40 #include "core/html/parser/HTMLParserIdioms.h" | 40 #include "core/html/parser/HTMLParserIdioms.h" |
41 #include "core/frame/Frame.h" | 41 #include "core/frame/Frame.h" |
42 #include "core/page/FrameTree.h" | 42 #include "core/page/FrameTree.h" |
43 #include "core/platform/Scrollbar.h" | 43 #include "core/platform/Scrollbar.h" |
44 #include "core/rendering/HitTestLocation.h" | |
45 #include "core/rendering/RenderImage.h" | 44 #include "core/rendering/RenderImage.h" |
46 #include "core/rendering/RenderTextFragment.h" | 45 #include "core/rendering/RenderTextFragment.h" |
47 | 46 |
48 namespace WebCore { | 47 namespace WebCore { |
49 | 48 |
50 using namespace HTMLNames; | 49 using namespace HTMLNames; |
51 | 50 |
52 HitTestResult::HitTestResult() | 51 HitTestResult::HitTestResult() |
53 : m_isOverWidget(false) | 52 : m_isOverWidget(false) |
54 , m_isFirstLetter(false) | 53 , m_isFirstLetter(false) |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 { | 504 { |
506 for (Node* node = m_innerNode.get(); node; node = NodeRenderingTraversal::pa
rent(node)) { | 505 for (Node* node = m_innerNode.get(); node; node = NodeRenderingTraversal::pa
rent(node)) { |
507 if (node->isElementNode()) | 506 if (node->isElementNode()) |
508 return toElement(node); | 507 return toElement(node); |
509 } | 508 } |
510 | 509 |
511 return 0; | 510 return 0; |
512 } | 511 } |
513 | 512 |
514 } // namespace WebCore | 513 } // namespace WebCore |
OLD | NEW |