Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0

This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7
This commit is contained in:
Patrick Brosset
2016-07-21 14:35:14 +02:00
parent c0a2b46b9b
commit e19007d87a
23 changed files with 777 additions and 16 deletions

View File

@@ -166,6 +166,7 @@ function getFrameOffsets(boundaryWindow, node) {
return [xOffset * scale, yOffset * scale];
}
exports.getFrameOffsets = getFrameOffsets;
/**
* Get box quads adjusted for iframes and zoom level.