| Index: third_party/WebKit/Source/web/resources/pickerCommon.js
|
| diff --git a/third_party/WebKit/Source/web/resources/pickerCommon.js b/third_party/WebKit/Source/web/resources/pickerCommon.js
|
| index 1a2d2da85d4fececc77d58efed2a396116278252..a4f167346b31af0bbdf0115b5646409beb233f92 100644
|
| --- a/third_party/WebKit/Source/web/resources/pickerCommon.js
|
| +++ b/third_party/WebKit/Source/web/resources/pickerCommon.js
|
| @@ -99,11 +99,11 @@ function resizeWindow(width, height) {
|
| }
|
|
|
| /**
|
| - * @param {!number} width in physical pixel
|
| - * @param {!number} height in physical pixel
|
| - * @param {?number} minWidth in physical pixel
|
| - * @param {?number} minHeight in physical pixel
|
| - * @return {!Rectangle} Adjusted rectangle with physical pixels
|
| + * @param {!number} width in DIP
|
| + * @param {!number} height in DIP
|
| + * @param {?number} minWidth in DIP
|
| + * @param {?number} minHeight in DIP
|
| + * @return {!Rectangle} Adjusted rectangle in DIP
|
| */
|
| function adjustWindowRect(width, height, minWidth, minHeight) {
|
| if (typeof minWidth !== "number")
|
| @@ -126,7 +126,7 @@ function adjustWindowRect(width, height, minWidth, minHeight) {
|
| }
|
|
|
| /**
|
| - * Arguments are physical pixels.
|
| + * Arguments are DIPs.
|
| */
|
| function _adjustWindowRectVertically(windowRect, availRect, anchorRect, minHeight) {
|
| var availableSpaceAbove = anchorRect.y - availRect.y;
|
| @@ -146,7 +146,7 @@ function _adjustWindowRectVertically(windowRect, availRect, anchorRect, minHeigh
|
| }
|
|
|
| /**
|
| - * Arguments are physical pixels.
|
| + * Arguments are DIPs.
|
| */
|
| function _adjustWindowRectHorizontally(windowRect, availRect, anchorRect, minWidth) {
|
| windowRect.width = Math.min(windowRect.width, availRect.width);
|
| @@ -160,7 +160,7 @@ function _adjustWindowRectHorizontally(windowRect, availRect, anchorRect, minWid
|
| }
|
|
|
| /**
|
| - * @param {!Rectangle} rect Window position and size with physical pixels.
|
| + * @param {!Rectangle} rect Window position and size in DIP.
|
| */
|
| function setWindowRect(rect) {
|
| if (window.frameElement) {
|
|
|