| Index: third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
|
| index 9fa8219f8f064547e590795bc20642e2d6a006fd..664f8208a7346c4ff54cc80779bb548ca52c3954 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
|
| @@ -48,6 +48,7 @@ UI.Dialog = class extends UI.Widget {
|
| this._positionX = null;
|
| /** @type {?number} */
|
| this._positionY = null;
|
| + this._fixedHeight = true;
|
|
|
| /** @type {!Map<!HTMLElement, number>} */
|
| this._tabIndexMap = new Map();
|
| @@ -76,6 +77,7 @@ UI.Dialog = class extends UI.Widget {
|
| this.detach();
|
| event.consume(true);
|
| });
|
| + this._glassPane.setFixedHeight(this._fixedHeight);
|
| this._glassPane.show();
|
| super.show(this._glassPane.contentElement);
|
| this._glassPane.setContentPosition(this._positionX, this._positionY);
|
| @@ -121,6 +123,13 @@ UI.Dialog = class extends UI.Widget {
|
| }
|
|
|
| /**
|
| + * @param {boolean} fixedHeight
|
| + */
|
| + setFixedHeight(fixedHeight) {
|
| + this._fixedHeight = fixedHeight;
|
| + }
|
| +
|
| + /**
|
| * @return {?UI.Size}
|
| */
|
| _effectiveMaxSize() {
|
|
|