Skip to content

Commit dce7254

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/8709823129008950417 [email protected] Bug: none Change-Id: Idf15f4e5a14d252a15eb46516d12e871b0d38c69 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6718667 Reviewed-by: Philip Pfaffe <[email protected]> Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: Philip Pfaffe <[email protected]> Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
1 parent 13f52f2 commit dce7254

File tree

8 files changed

+68
-2
lines changed

8 files changed

+68
-2
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': '6d1ae0f13aae6ad381ca31b17b88a0f5af29ca94',
2525

2626
# Keeping track of the last time we rolled the browser protocol files.
27-
'chromium_browser_protocol_revision' : '062f4ecdbac18f408e01ef1287e01e5ba265c51e',
27+
'chromium_browser_protocol_revision' : '2b6aa14765c977d8b74c650a918ba96310919039',
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
@@ -1263,6 +1263,13 @@ export namespace ProtocolMapping {
12631263
paramsType: [Protocol.Browser.SetWindowBoundsRequest];
12641264
returnType: void;
12651265
};
1266+
/**
1267+
* Set size of the browser contents resizing browser window as necessary.
1268+
*/
1269+
'Browser.setContentsSize': {
1270+
paramsType: [Protocol.Browser.SetContentsSizeRequest];
1271+
returnType: void;
1272+
};
12661273
/**
12671274
* Set dock tile details, platform-specific.
12681275
*/

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,11 @@ declare namespace ProtocolProxyApi {
594594
*/
595595
invoke_setWindowBounds(params: Protocol.Browser.SetWindowBoundsRequest): Promise<Protocol.ProtocolResponseWithError>;
596596

597+
/**
598+
* Set size of the browser contents resizing browser window as necessary.
599+
*/
600+
invoke_setContentsSize(params: Protocol.Browser.SetContentsSizeRequest): Promise<Protocol.ProtocolResponseWithError>;
601+
597602
/**
598603
* Set dock tile details, platform-specific.
599604
*/

front_end/generated/protocol.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2271,6 +2271,23 @@ export namespace Browser {
22712271
bounds: Bounds;
22722272
}
22732273

2274+
export interface SetContentsSizeRequest {
2275+
/**
2276+
* Browser window id.
2277+
*/
2278+
windowId: WindowID;
2279+
/**
2280+
* The window contents width in DIP. Assumes current width if omitted.
2281+
* Must be specified if 'height' is omitted.
2282+
*/
2283+
width?: integer;
2284+
/**
2285+
* The window contents height in DIP. Assumes current height if omitted.
2286+
* Must be specified if 'width' is omitted.
2287+
*/
2288+
height?: integer;
2289+
}
2290+
22742291
export interface SetDockTileRequest {
22752292
badgeLabel?: string;
22762293
/**

front_end/third_party/chromium/README.chromium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Name: Dependencies sourced from the upstream `chromium` repository
22
URL: https://source.chromium.org/chromium/chromium/src/+/main:components/variations/proto/devtools/
33
Version: N/A
4-
Revision: 062f4ecdbac18f408e01ef1287e01e5ba265c51e
4+
Revision: 2b6aa14765c977d8b74c650a918ba96310919039
55
Update Mechanism: Manual (https://crbug.com/428069060)
66
License: BSD-3-Clause
77
License File: LICENSE

third_party/blink/public/devtools_protocol/browser_protocol.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3423,6 +3423,30 @@
34233423
}
34243424
]
34253425
},
3426+
{
3427+
"name": "setContentsSize",
3428+
"description": "Set size of the browser contents resizing browser window as necessary.",
3429+
"experimental": true,
3430+
"parameters": [
3431+
{
3432+
"name": "windowId",
3433+
"description": "Browser window id.",
3434+
"$ref": "WindowID"
3435+
},
3436+
{
3437+
"name": "width",
3438+
"description": "The window contents width in DIP. Assumes current width if omitted.\nMust be specified if 'height' is omitted.",
3439+
"optional": true,
3440+
"type": "integer"
3441+
},
3442+
{
3443+
"name": "height",
3444+
"description": "The window contents height in DIP. Assumes current height if omitted.\nMust be specified if 'width' is omitted.",
3445+
"optional": true,
3446+
"type": "integer"
3447+
}
3448+
]
3449+
},
34263450
{
34273451
"name": "setDockTile",
34283452
"description": "Set dock tile details, platform-specific.",

third_party/blink/public/devtools_protocol/browser_protocol.pdl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,6 +1748,18 @@ domain Browser
17481748
# with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
17491749
Bounds bounds
17501750

1751+
# Set size of the browser contents resizing browser window as necessary.
1752+
experimental command setContentsSize
1753+
parameters
1754+
# Browser window id.
1755+
WindowID windowId
1756+
# The window contents width in DIP. Assumes current width if omitted.
1757+
# Must be specified if 'height' is omitted.
1758+
optional integer width
1759+
# The window contents height in DIP. Assumes current height if omitted.
1760+
# Must be specified if 'width' is omitted.
1761+
optional integer height
1762+
17511763
# Set dock tile details, platform-specific.
17521764
experimental command setDockTile
17531765
parameters

0 commit comments

Comments
 (0)