author | Markus Stange <mstange@themasta.com> |
Wed, 24 Nov 2010 10:49:02 +0100 | |
changeset 58135 | 4fb1f137b0f6640141ea5cdb7ca3ce07f5fce091 |
parent 58134 | ef00cc458294b62b2b3a2b4edfc58737f7b6b702 |
child 58136 | a6b991eee6835067f20e7828f7c75793f808e3f6 |
push id | 17174 |
push user | mstange@themasta.com |
push date | Wed, 24 Nov 2010 09:57:48 +0000 |
treeherder | mozilla-central@fad69d390b23 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | smaug, bsmedberg |
bugs | 604190 |
milestone | 2.0b8pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/content/events/src/nsEventStateManager.cpp +++ b/content/events/src/nsEventStateManager.cpp @@ -2785,16 +2785,17 @@ nsEventStateManager::DecideGestureEvent( } } //scrollableFrame } //ancestor chain aEvent->displayPanFeedback = displayPanFeedback; aEvent->panDirection = panDirection; } +#ifdef XP_MACOSX static bool NodeAllowsClickThrough(nsINode* aNode) { while (aNode) { if (aNode->IsElement() && aNode->AsElement()->IsXUL()) { mozilla::dom::Element* element = aNode->AsElement(); static nsIContent::AttrValuesArray strings[] = {&nsGkAtoms::always, &nsGkAtoms::never, nsnull}; @@ -2805,16 +2806,17 @@ NodeAllowsClickThrough(nsINode* aNode) case 1: return false; } } aNode = nsContentUtils::GetCrossDocParentNode(aNode); } return true; } +#endif NS_IMETHODIMP nsEventStateManager::PostHandleEvent(nsPresContext* aPresContext, nsEvent *aEvent, nsIFrame* aTargetFrame, nsEventStatus* aStatus, nsIView* aView) {