This commit is contained in:
Yury Semikhatsky 2021-02-04 08:53:00 -08:00 коммит произвёл GitHub
Родитель c2b8718bae
Коммит 997bd0827c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 51 добавлений и 1 удалений

Просмотреть файл

@ -13,7 +13,7 @@
},
{
"name": "webkit",
"revision": "1428",
"revision": "1432",
"download": true
},
{

Просмотреть файл

@ -2806,6 +2806,52 @@ export module Protocol {
}
export type highlightFrameReturnValue = {
}
/**
* Shows a grid overlay for a node that begins a 'grid' layout context. The command has no effect if <code>nodeId</code> is invalid or the associated node does not begin a 'grid' layout context. A node can only have one grid overlay at a time; subsequent calls with the same <code>nodeId</code> will override earlier calls.
*/
export type showGridOverlayParameters = {
/**
* The node for which a grid overlay should be shown.
*/
nodeId: NodeId;
/**
* The primary color to use for the grid overlay.
*/
gridColor: RGBAColor;
/**
* Show labels for grid line names. If not specified, the default value is false.
*/
showLineNames?: boolean;
/**
* Show labels for grid line numbers. If not specified, the default value is false.
*/
showLineNumbers?: boolean;
/**
* Show grid lines that extend beyond the bounds of the grid. If not specified, the default value is false.
*/
showExtendedGridlines?: boolean;
/**
* Show grid track size information. If not specified, the default value is false.
*/
showTrackSizes?: boolean;
/**
* Show labels for grid area names. If not specified, the default value is false.
*/
showAreaNames?: boolean;
}
export type showGridOverlayReturnValue = {
}
/**
* Hides a grid overlay for a node that begins a 'grid' layout context. The command has no effect if <code>nodeId</code> is specified and invalid, or if there is not currently an overlay set for the <code>nodeId</code>.
*/
export type hideGridOverlayParameters = {
/**
* The node for which a grid overlay should be hidden. If a <code>nodeId</code> is not specified, all grid overlays will be hidden.
*/
nodeId?: NodeId;
}
export type hideGridOverlayReturnValue = {
}
/**
* Requests that the node is sent to the caller given its path.
*/
@ -8609,6 +8655,8 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOM.highlightNodeList": DOM.highlightNodeListParameters;
"DOM.hideHighlight": DOM.hideHighlightParameters;
"DOM.highlightFrame": DOM.highlightFrameParameters;
"DOM.showGridOverlay": DOM.showGridOverlayParameters;
"DOM.hideGridOverlay": DOM.hideGridOverlayParameters;
"DOM.pushNodeByPathToFrontend": DOM.pushNodeByPathToFrontendParameters;
"DOM.resolveNode": DOM.resolveNodeParameters;
"DOM.getAttributes": DOM.getAttributesParameters;
@ -8894,6 +8942,8 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOM.highlightNodeList": DOM.highlightNodeListReturnValue;
"DOM.hideHighlight": DOM.hideHighlightReturnValue;
"DOM.highlightFrame": DOM.highlightFrameReturnValue;
"DOM.showGridOverlay": DOM.showGridOverlayReturnValue;
"DOM.hideGridOverlay": DOM.hideGridOverlayReturnValue;
"DOM.pushNodeByPathToFrontend": DOM.pushNodeByPathToFrontendReturnValue;
"DOM.resolveNode": DOM.resolveNodeReturnValue;
"DOM.getAttributes": DOM.getAttributesReturnValue;