Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / HitTestRequest.h
index c8a63ef..802a994 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef HitTestRequest_h
 #define HitTestRequest_h
 
-namespace WebCore {
+namespace blink {
 
 class HitTestRequest {
 public:
@@ -35,12 +35,10 @@ 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;
@@ -58,7 +56,6 @@ 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 & ConfusingAndOftenMisusedDisallowShadowContent; }
     bool allowsFrameScrollbars() const { return m_requestType & AllowFrameScrollbars; }
     bool allowsChildFrameContent() const { return m_requestType & AllowChildFrameContent; }
     bool isChildFrameHitTest() const { return m_requestType & ChildFrameHitTest; }
@@ -74,6 +71,6 @@ private:
     HitTestRequestType m_requestType;
 };
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // HitTestRequest_h