Skip to content

Commit

Permalink
feat(webkit): bump to 1432 (#5300)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Feb 4, 2021
1 parent c2b8718 commit 997bd08
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
2 changes: 1 addition & 1 deletion browsers.json
Expand Up @@ -13,7 +13,7 @@
},
{
"name": "webkit",
"revision": "1428",
"revision": "1432",
"download": true
},
{
Expand Down
50 changes: 50 additions & 0 deletions src/server/webkit/protocol.ts
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 997bd08

Please sign in to comment.