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

Unified Diff: Source/WebCore/rendering/HitTestRequest.h

Issue 13942005: Add hit testing mode which ignores pointer-events:none. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 years, 8 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 | « Source/WebCore/rendering/EllipsisBox.cpp ('k') | Source/WebCore/rendering/InlineBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/HitTestRequest.h
===================================================================
--- Source/WebCore/rendering/HitTestRequest.h (revision 148457)
+++ Source/WebCore/rendering/HitTestRequest.h (working copy)
@@ -38,7 +38,8 @@
DisallowShadowContent = 1 << 8,
AllowFrameScrollbars = 1 << 9,
AllowChildFrameContent = 1 << 10,
- ChildFrameHitTest = 1 << 11
+ ChildFrameHitTest = 1 << 11,
+ IgnorePointerEventsNone = 1 << 12
};
typedef unsigned HitTestRequestType;
@@ -60,6 +61,7 @@
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(); }
Property changes on: Source/WebCore/rendering/HitTestRequest.h
___________________________________________________________________
Modified: svn:eol-style
- native
+ LF
« no previous file with comments | « Source/WebCore/rendering/EllipsisBox.cpp ('k') | Source/WebCore/rendering/InlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698