| 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 | 37 |
| 38 class Element; | 38 class Element; |
| 39 class Frame; | 39 class Frame; |
| 40 class HTMLMediaElement; | 40 class HTMLMediaElement; |
| 41 class Image; | 41 class Image; |
| 42 class KURL; | 42 class KURL; |
| 43 class Node; | 43 class Node; |
| 44 class RenderObject; | 44 class RenderObject; |
| 45 class RenderRegion; | |
| 46 class Scrollbar; | 45 class Scrollbar; |
| 47 | 46 |
| 48 class HitTestResult { | 47 class HitTestResult { |
| 49 public: | 48 public: |
| 50 typedef ListHashSet<RefPtr<Node> > NodeSet; | 49 typedef ListHashSet<RefPtr<Node> > NodeSet; |
| 51 | 50 |
| 52 HitTestResult(); | 51 HitTestResult(); |
| 53 HitTestResult(const LayoutPoint&); | 52 HitTestResult(const LayoutPoint&); |
| 54 // Pass non-negative padding values to perform a rect-based hit test. | 53 // Pass non-negative padding values to perform a rect-based hit test. |
| 55 HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned
rightPadding, unsigned bottomPadding, unsigned leftPadding); | 54 HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned
rightPadding, unsigned bottomPadding, unsigned leftPadding); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 RefPtr<Scrollbar> m_scrollbar; | 140 RefPtr<Scrollbar> m_scrollbar; |
| 142 bool m_isOverWidget; // Returns true if we are over a widget (and not in the
border/padding area of a RenderWidget for example). | 141 bool m_isOverWidget; // Returns true if we are over a widget (and not in the
border/padding area of a RenderWidget for example). |
| 143 bool m_isFirstLetter; | 142 bool m_isFirstLetter; |
| 144 | 143 |
| 145 mutable OwnPtr<NodeSet> m_rectBasedTestResult; | 144 mutable OwnPtr<NodeSet> m_rectBasedTestResult; |
| 146 }; | 145 }; |
| 147 | 146 |
| 148 } // namespace WebCore | 147 } // namespace WebCore |
| 149 | 148 |
| 150 #endif // HitTestResult_h | 149 #endif // HitTestResult_h |
| OLD | NEW |