OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
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 15 matching lines...) Expand all Loading... |
26 #include "platform/geometry/FloatRect.h" | 26 #include "platform/geometry/FloatRect.h" |
27 #include "platform/geometry/LayoutRect.h" | 27 #include "platform/geometry/LayoutRect.h" |
28 #include "platform/geometry/RoundedRect.h" | 28 #include "platform/geometry/RoundedRect.h" |
29 #include "wtf/Forward.h" | 29 #include "wtf/Forward.h" |
30 #include "wtf/ListHashSet.h" | 30 #include "wtf/ListHashSet.h" |
31 #include "wtf/OwnPtr.h" | 31 #include "wtf/OwnPtr.h" |
32 #include "wtf/RefPtr.h" | 32 #include "wtf/RefPtr.h" |
33 | 33 |
34 namespace WebCore { | 34 namespace WebCore { |
35 | 35 |
36 class Element; | |
37 class LocalFrame; | |
38 class Image; | |
39 class KURL; | |
40 class Node; | |
41 class Scrollbar; | |
42 | |
43 class HitTestLocation { | 36 class HitTestLocation { |
44 public: | 37 public: |
45 | 38 |
46 HitTestLocation(); | 39 HitTestLocation(); |
47 HitTestLocation(const LayoutPoint&); | 40 HitTestLocation(const LayoutPoint&); |
48 HitTestLocation(const FloatPoint&); | 41 HitTestLocation(const FloatPoint&); |
49 HitTestLocation(const FloatPoint&, const FloatQuad&); | 42 HitTestLocation(const FloatPoint&, const FloatQuad&); |
50 // Pass non-zero padding values to perform a rect-based hit test. | 43 // Pass non-zero padding values to perform a rect-based hit test. |
51 HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigne
d rightPadding, unsigned bottomPadding, unsigned leftPadding); | 44 HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigne
d rightPadding, unsigned bottomPadding, unsigned leftPadding); |
52 HitTestLocation(const HitTestLocation&, const LayoutSize& offset); | 45 HitTestLocation(const HitTestLocation&, const LayoutSize& offset); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 FloatPoint m_transformedPoint; | 80 FloatPoint m_transformedPoint; |
88 FloatQuad m_transformedRect; | 81 FloatQuad m_transformedRect; |
89 | 82 |
90 bool m_isRectBased; | 83 bool m_isRectBased; |
91 bool m_isRectilinear; | 84 bool m_isRectilinear; |
92 }; | 85 }; |
93 | 86 |
94 } // namespace WebCore | 87 } // namespace WebCore |
95 | 88 |
96 #endif // HitTestLocation_h | 89 #endif // HitTestLocation_h |
OLD | NEW |