| Index: Source/devtools/front_end/common/Geometry.js
|
| diff --git a/Source/devtools/front_end/common/Geometry.js b/Source/devtools/front_end/common/Geometry.js
|
| index fd814a9750da1679b688af6908d042330199d6e0..c548134a023bfa3d7b260324aed54300df01cc24 100644
|
| --- a/Source/devtools/front_end/common/Geometry.js
|
| +++ b/Source/devtools/front_end/common/Geometry.js
|
| @@ -364,6 +364,33 @@ Size.prototype.addHeight = function(size)
|
|
|
| /**
|
| * @constructor
|
| + * @param {number} left
|
| + * @param {number} top
|
| + * @param {number} right
|
| + * @param {number} bottom
|
| + */
|
| +function Insets(left, top, right, bottom)
|
| +{
|
| + this.left = left;
|
| + this.top = top;
|
| + this.right = right;
|
| + this.bottom = bottom;
|
| +}
|
| +
|
| +Insets.prototype = {
|
| + /**
|
| + * @param {?Insets} insets
|
| + * @return {boolean}
|
| + */
|
| + isEqual: function(insets)
|
| + {
|
| + return !!insets && this.left === insets.left && this.top === insets.top && this.right == insets.right && this.bottom == insets.bottom;
|
| + }
|
| +}
|
| +
|
| +
|
| +/**
|
| + * @constructor
|
| * @param {!Size=} minimum
|
| * @param {?Size=} preferred
|
| */
|
|
|