Bug 1101627 - Add touch action regions. r=kats

This commit is contained in:
Kushan Joshi
2015-03-24 09:13:24 -04:00
parent 413461a2f9
commit 183deadbee
10 changed files with 180 additions and 44 deletions

View File

@@ -152,6 +152,15 @@ AppendToString(std::stringstream& aStream, const EventRegions& e,
if (!e.mDispatchToContentHitRegion.IsEmpty()) {
AppendToString(aStream, e.mDispatchToContentHitRegion, " dispatchtocontentregion=", "");
}
if (!e.mNoActionRegion.IsEmpty()) {
AppendToString(aStream, e.mNoActionRegion, " NoActionRegion=","");
}
if (!e.mHorizontalPanRegion.IsEmpty()) {
AppendToString(aStream, e.mHorizontalPanRegion, " HorizontalPanRegion=", "");
}
if (!e.mVerticalPanRegion.IsEmpty()) {
AppendToString(aStream, e.mVerticalPanRegion, " VerticalPanRegion=", "");
}
aStream << "}" << sfx;
}