Skip to content

Commit 8c9f04c

Browse files
devtools-ci-autoroll-builderDevtools-frontend LUCI CQ
authored andcommitted
Roll browser-protocol
This roll requires a manual review. See http://go/reviewed-rolls for guidance. In case of failures or errors, reach out to someone from config/owner/COMMON_OWNERS. Roll created at https://cr-buildbucket.appspot.com/build/8728667292957030225 [email protected] Bug: none Change-Id: Ib92f9a8720b6c4b41640899cce19c70ca89d7b67 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6090268 Reviewed-by: Simon Zünd <[email protected]> Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: Simon Zünd <[email protected]>
1 parent 7756a86 commit 8c9f04c

File tree

7 files changed

+49
-1
lines changed

7 files changed

+49
-1
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ vars = {
2424
'inspector_protocol_revision': '69d69ddf3aa698b171886551a4a672c5af1ad902',
2525

2626
# Keeping track of the last time we rollerd the browser protocol files.
27-
'chromium_browser_protocol_revision' : '467168707f389acee0b895dbdcb63a8c753a464e',
27+
'chromium_browser_protocol_revision' : 'd83e960b676d9b7761163445d6e514f70dcf2719',
2828

2929
'clang_format_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git',
3030
'clang_format_revision': '37f6e68a107df43b7d7e044fd36a13cbae3413f2',

front_end/generated/InspectorBackendCommands.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/generated/protocol-mapping.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,6 +1239,13 @@ export namespace ProtocolMapping {
12391239
paramsType: [Protocol.CSS.ForcePseudoStateRequest];
12401240
returnType: void;
12411241
};
1242+
/**
1243+
* Ensures that the given node is in its starting-style state.
1244+
*/
1245+
'CSS.forceStartingStyle': {
1246+
paramsType: [Protocol.CSS.ForceStartingStyleRequest];
1247+
returnType: void;
1248+
};
12421249
'CSS.getBackgroundColors': {
12431250
paramsType: [Protocol.CSS.GetBackgroundColorsRequest];
12441251
returnType: Protocol.CSS.GetBackgroundColorsResponse;

front_end/generated/protocol-proxy-api.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,11 @@ declare namespace ProtocolProxyApi {
655655
*/
656656
invoke_forcePseudoState(params: Protocol.CSS.ForcePseudoStateRequest): Promise<Protocol.ProtocolResponseWithError>;
657657

658+
/**
659+
* Ensures that the given node is in its starting-style state.
660+
*/
661+
invoke_forceStartingStyle(params: Protocol.CSS.ForceStartingStyleRequest): Promise<Protocol.ProtocolResponseWithError>;
662+
658663
invoke_getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest): Promise<Protocol.CSS.GetBackgroundColorsResponse>;
659664

660665
/**

front_end/generated/protocol.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3215,6 +3215,17 @@ export namespace CSS {
32153215
forcedPseudoClasses: string[];
32163216
}
32173217

3218+
export interface ForceStartingStyleRequest {
3219+
/**
3220+
* The element id for which to force the starting-style state.
3221+
*/
3222+
nodeId: DOM.NodeId;
3223+
/**
3224+
* Boolean indicating if this is on or off.
3225+
*/
3226+
forced: boolean;
3227+
}
3228+
32183229
export interface GetBackgroundColorsRequest {
32193230
/**
32203231
* Id of the node to get background colors for.

third_party/blink/public/devtools_protocol/browser_protocol.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4684,6 +4684,22 @@
46844684
}
46854685
]
46864686
},
4687+
{
4688+
"name": "forceStartingStyle",
4689+
"description": "Ensures that the given node is in its starting-style state.",
4690+
"parameters": [
4691+
{
4692+
"name": "nodeId",
4693+
"description": "The element id for which to force the starting-style state.",
4694+
"$ref": "DOM.NodeId"
4695+
},
4696+
{
4697+
"name": "forced",
4698+
"description": "Boolean indicating if this is on or off.",
4699+
"type": "boolean"
4700+
}
4701+
]
4702+
},
46874703
{
46884704
"name": "getBackgroundColors",
46894705
"parameters": [

third_party/blink/public/devtools_protocol/browser_protocol.pdl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,6 +2255,14 @@ experimental domain CSS
22552255
# Element pseudo classes to force when computing the element's style.
22562256
array of string forcedPseudoClasses
22572257

2258+
# Ensures that the given node is in its starting-style state.
2259+
command forceStartingStyle
2260+
parameters
2261+
# The element id for which to force the starting-style state.
2262+
DOM.NodeId nodeId
2263+
# Boolean indicating if this is on or off.
2264+
boolean forced
2265+
22582266
command getBackgroundColors
22592267
parameters
22602268
# Id of the node to get background colors for.

0 commit comments

Comments
 (0)