Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: sky/engine/core/rendering/HitTestRequest.h

Issue 855223002: Remove unused hit testing modes in Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/page/EventHandler.cpp ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/HitTestRequest.h
diff --git a/sky/engine/core/rendering/HitTestRequest.h b/sky/engine/core/rendering/HitTestRequest.h
index 7881c797bbc7e0a02ed0281720a1a116cbde02a1..720c502fea8e30261311f3b907e5fb840dd25ed8 100644
--- a/sky/engine/core/rendering/HitTestRequest.h
+++ b/sky/engine/core/rendering/HitTestRequest.h
@@ -35,10 +35,7 @@ public:
IgnoreClipping = 1 << 5,
SVGClipContent = 1 << 6,
TouchEvent = 1 << 7,
- AllowFrameScrollbars = 1 << 8,
- AllowChildFrameContent = 1 << 9,
- ChildFrameHitTest = 1 << 10,
- IgnorePointerEventsNone = 1 << 11,
+ IgnorePointerEventsNone = 1 << 8,
};
typedef unsigned HitTestRequestType;
@@ -55,15 +52,10 @@ public:
bool ignoreClipping() const { return m_requestType & IgnoreClipping; }
bool svgClipContent() const { return m_requestType & SVGClipContent; }
bool touchEvent() const { return m_requestType & TouchEvent; }
- bool mouseEvent() const { return !touchEvent(); }
- bool allowsFrameScrollbars() const { return m_requestType & AllowFrameScrollbars; }
- bool allowsChildFrameContent() const { return m_requestType & AllowChildFrameContent; }
- bool isChildFrameHitTest() const { return m_requestType & ChildFrameHitTest; }
bool ignorePointerEventsNone() const { return m_requestType & IgnorePointerEventsNone; }
// Convenience functions
bool touchMove() const { return move() && touchEvent(); }
- bool touchRelease() const { return release() && touchEvent(); }
HitTestRequestType type() const { return m_requestType; }
« no previous file with comments | « sky/engine/core/page/EventHandler.cpp ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698