Skip to content

Commit

Permalink
Roll protocol to r1232444
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Dec 3, 2023
1 parent c137c7c commit c098eb8
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 16 deletions.
46 changes: 31 additions & 15 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,37 @@


## Roll protocol to r1232444 — _2023-12-03T04:26:26.000Z_
###### Diff: [`c137c7c...61c1062`](https://github.com/ChromeDevTools/devtools-protocol/compare/`c137c7c...61c1062`)

```diff
@@ browser_protocol.pdl:3916 @@ domain Emulation
# A display feature that only splits content will have a 0 mask_length.
integer maskLength

- type DevicePosture extends object
- properties
- # Current posture of the device
- enum type
- continuous
- folded
-
type MediaFeature extends object
properties
string name
@@ -4080,9 +4073,6 @@ domain Emulation
# If set, the display feature of a multi-segment screen. If not set, multi-segment support
# is turned-off.
experimental optional DisplayFeature displayFeature
- # If set, the posture of a foldable device. If not set the posture is set
- # to continuous.
- experimental optional DevicePosture devicePosture

experimental command setScrollbarsHidden
parameters
```

## Roll protocol to r1231733 — _2023-12-01T04:27:08.000Z_
###### Diff: [`92cb696...1ce8059`](https://github.com/ChromeDevTools/devtools-protocol/compare/`92cb696...1ce8059`)
###### Diff: [`92cb696...c137c7c`](https://github.com/ChromeDevTools/devtools-protocol/compare/`92cb696...c137c7c`)

```diff
@@ browser_protocol.pdl:11103 @@ experimental domain WebAuthn
Expand Down Expand Up @@ -10993,18 +11023,4 @@ index bd277eb..09c420e 100644
EmbedderPopupBlockerTabHelper
EmbedderSafeBrowsingTriggeredPopupBlocker
EmbedderSafeBrowsingThreatDetails
```

## Roll protocol to r922637 — _2021-09-17T20:15:26.000Z_
###### Diff: [`d99de50...b86f904`](https://github.com/ChromeDevTools/devtools-protocol/compare/`d99de50...b86f904`)

```diff
@@ browser_protocol.pdl:6800 @@ domain Page
FeatureDisabled
TokenDisabled
FeatureDisabledForUser
- UnknownTrial

# Status for an Origin Trial.
experimental type OriginTrialStatus extends string
```
22 changes: 22 additions & 0 deletions json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8571,6 +8571,21 @@
}
]
},
{
"id": "DevicePosture",
"type": "object",
"properties": [
{
"name": "type",
"description": "Current posture of the device",
"type": "string",
"enum": [
"continuous",
"folded"
]
}
]
},
{
"id": "MediaFeature",
"type": "object",
Expand Down Expand Up @@ -8958,6 +8973,13 @@
"experimental": true,
"optional": true,
"$ref": "DisplayFeature"
},
{
"name": "devicePosture",
"description": "If set, the posture of a foldable device. If not set the posture is set\nto continuous.",
"experimental": true,
"optional": true,
"$ref": "DevicePosture"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools-protocol",
"version": "0.0.1231733",
"version": "0.0.1232444",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
10 changes: 10 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -3916,6 +3916,13 @@ domain Emulation
# A display feature that only splits content will have a 0 mask_length.
integer maskLength

type DevicePosture extends object
properties
# Current posture of the device
enum type
continuous
folded

type MediaFeature extends object
properties
string name
Expand Down Expand Up @@ -4073,6 +4080,9 @@ domain Emulation
# If set, the display feature of a multi-segment screen. If not set, multi-segment support
# is turned-off.
experimental optional DisplayFeature displayFeature
# If set, the posture of a foldable device. If not set the posture is set
# to continuous.
experimental optional DevicePosture devicePosture

experimental command setScrollbarsHidden
parameters
Expand Down
17 changes: 17 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7900,6 +7900,18 @@ export namespace Protocol {
maskLength: integer;
}

export const enum DevicePostureType {
Continuous = 'continuous',
Folded = 'folded',
}

export interface DevicePosture {
/**
* Current posture of the device (DevicePostureType enum)
*/
type: ('continuous' | 'folded');
}

export interface MediaFeature {
name: string;
value: string;
Expand Down Expand Up @@ -8077,6 +8089,11 @@ export namespace Protocol {
* is turned-off.
*/
displayFeature?: DisplayFeature;
/**
* If set, the posture of a foldable device. If not set the posture is set
* to continuous.
*/
devicePosture?: DevicePosture;
}

export interface SetScrollbarsHiddenRequest {
Expand Down

0 comments on commit c098eb8

Please sign in to comment.