devtools-protocol 0.0.1404580 → 0.0.1406504

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23771,6 +23771,18 @@
23771
23771
  "type": "integer"
23772
23772
  }
23773
23773
  ]
23774
+ },
23775
+ {
23776
+ "id": "WindowState",
23777
+ "description": "The state of the target window.",
23778
+ "experimental": true,
23779
+ "type": "string",
23780
+ "enum": [
23781
+ "normal",
23782
+ "minimized",
23783
+ "maximized",
23784
+ "fullscreen"
23785
+ ]
23774
23786
  }
23775
23787
  ],
23776
23788
  "commands": [
@@ -23947,6 +23959,12 @@
23947
23959
  "optional": true,
23948
23960
  "type": "integer"
23949
23961
  },
23962
+ {
23963
+ "name": "windowState",
23964
+ "description": "Frame window state (requires newWindow to be true or headless shell).\nDefault is normal.",
23965
+ "optional": true,
23966
+ "$ref": "WindowState"
23967
+ },
23950
23968
  {
23951
23969
  "name": "browserContextId",
23952
23970
  "description": "The browser context to create the page in.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1404580",
3
+ "version": "0.0.1406504",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -11174,6 +11174,14 @@ domain Target
11174
11174
  string host
11175
11175
  integer port
11176
11176
 
11177
+ # The state of the target window.
11178
+ experimental type WindowState extends string
11179
+ enum
11180
+ normal
11181
+ minimized
11182
+ maximized
11183
+ fullscreen
11184
+
11177
11185
  # Activates (focuses) the target.
11178
11186
  command activateTarget
11179
11187
  parameters
@@ -11255,6 +11263,9 @@ domain Target
11255
11263
  optional integer width
11256
11264
  # Frame height in DIP (requires newWindow to be true or headless shell).
11257
11265
  optional integer height
11266
+ # Frame window state (requires newWindow to be true or headless shell).
11267
+ # Default is normal.
11268
+ optional WindowState windowState
11258
11269
  # The browser context to create the page in.
11259
11270
  experimental optional Browser.BrowserContextID browserContextId
11260
11271
  # Whether BeginFrames for this target will be controlled via DevTools (headless shell only,
@@ -17101,6 +17101,11 @@ export namespace Protocol {
17101
17101
  port: integer;
17102
17102
  }
17103
17103
 
17104
+ /**
17105
+ * The state of the target window.
17106
+ */
17107
+ export type WindowState = ('normal' | 'minimized' | 'maximized' | 'fullscreen');
17108
+
17104
17109
  export interface ActivateTargetRequest {
17105
17110
  targetId: TargetID;
17106
17111
  }
@@ -17203,6 +17208,11 @@ export namespace Protocol {
17203
17208
  * Frame height in DIP (requires newWindow to be true or headless shell).
17204
17209
  */
17205
17210
  height?: integer;
17211
+ /**
17212
+ * Frame window state (requires newWindow to be true or headless shell).
17213
+ * Default is normal.
17214
+ */
17215
+ windowState?: WindowState;
17206
17216
  /**
17207
17217
  * The browser context to create the page in.
17208
17218
  */