#ifndef HitTestRequest_h
#define HitTestRequest_h
-namespace WebCore {
+namespace blink {
class HitTestRequest {
public:
IgnoreClipping = 1 << 5,
SVGClipContent = 1 << 6,
TouchEvent = 1 << 7,
- // Deprecated. Instead of this, callers should call HitTestResult::setToNodesInDocumentTreeScope() explicitly.
- ConfusingAndOftenMisusedDisallowShadowContent = 1 << 8,
- AllowFrameScrollbars = 1 << 9,
- AllowChildFrameContent = 1 << 10,
- ChildFrameHitTest = 1 << 11,
- IgnorePointerEventsNone = 1 << 12,
+ AllowFrameScrollbars = 1 << 8,
+ AllowChildFrameContent = 1 << 9,
+ ChildFrameHitTest = 1 << 10,
+ IgnorePointerEventsNone = 1 << 11,
};
typedef unsigned HitTestRequestType;
bool svgClipContent() const { return m_requestType & SVGClipContent; }
bool touchEvent() const { return m_requestType & TouchEvent; }
bool mouseEvent() const { return !touchEvent(); }
- bool disallowsShadowContent() const { return m_requestType & ConfusingAndOftenMisusedDisallowShadowContent; }
bool allowsFrameScrollbars() const { return m_requestType & AllowFrameScrollbars; }
bool allowsChildFrameContent() const { return m_requestType & AllowChildFrameContent; }
bool isChildFrameHitTest() const { return m_requestType & ChildFrameHitTest; }
HitTestRequestType m_requestType;
};
-} // namespace WebCore
+} // namespace blink
#endif // HitTestRequest_h