diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/rendering/HitTestRequest.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/rendering/HitTestRequest.h')
-rw-r--r-- | Source/WebCore/rendering/HitTestRequest.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/WebCore/rendering/HitTestRequest.h b/Source/WebCore/rendering/HitTestRequest.h index 40d8d5fe5..ca2b9a6f0 100644 --- a/Source/WebCore/rendering/HitTestRequest.h +++ b/Source/WebCore/rendering/HitTestRequest.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Apple Computer, Inc. + * Copyright (C) 2006 Apple Inc. * Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) * @@ -20,8 +20,7 @@ * */ -#ifndef HitTestRequest_h -#define HitTestRequest_h +#pragma once namespace WebCore { @@ -35,7 +34,7 @@ public: IgnoreClipping = 1 << 5, SVGClipContent = 1 << 6, TouchEvent = 1 << 7, - DisallowShadowContent = 1 << 8, + DisallowUserAgentShadowContent = 1 << 8, AllowFrameScrollbars = 1 << 9, AllowChildFrameContent = 1 << 10, ChildFrameHitTest = 1 << 11, @@ -44,7 +43,7 @@ public: typedef unsigned HitTestRequestType; - HitTestRequest(HitTestRequestType requestType) + HitTestRequest(HitTestRequestType requestType = ReadOnly | Active | DisallowUserAgentShadowContent) : m_requestType(requestType) { } @@ -57,7 +56,7 @@ public: 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 & DisallowShadowContent; } + bool disallowsUserAgentShadowContent() const { return m_requestType & DisallowUserAgentShadowContent; } bool allowsFrameScrollbars() const { return m_requestType & AllowFrameScrollbars; } bool allowsChildFrameContent() const { return m_requestType & AllowChildFrameContent; } bool isChildFrameHitTest() const { return m_requestType & ChildFrameHitTest; } @@ -73,5 +72,3 @@ private: }; } // namespace WebCore - -#endif // HitTestRequest_h |