1use serde::{Deserialize, Serialize};
2#[doc = "Disables domain notifications.\n[disable](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-disable)"]
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct DisableParams {}
5#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6pub enum DisableMethod {
7 #[serde(rename = "Overlay.disable")]
8 Disable,
9}
10#[doc = "Disables domain notifications.\n[disable](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-disable)"]
11#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12pub struct Disable {
13 pub method: DisableMethod,
14 pub params: DisableParams,
15}
16impl Disable {
17 pub const IDENTIFIER: &'static str = "Overlay.disable";
18 pub fn identifier(&self) -> &'static str {
19 Self::IDENTIFIER
20 }
21}
22impl crate::CommandResult for Disable {
23 type Result = super::results::DisableResult;
24}
25#[doc = "Enables domain notifications.\n[enable](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-enable)"]
26#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
27pub struct EnableParams {}
28#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
29pub enum EnableMethod {
30 #[serde(rename = "Overlay.enable")]
31 Enable,
32}
33#[doc = "Enables domain notifications.\n[enable](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-enable)"]
34#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
35pub struct Enable {
36 pub method: EnableMethod,
37 pub params: EnableParams,
38}
39impl Enable {
40 pub const IDENTIFIER: &'static str = "Overlay.enable";
41 pub fn identifier(&self) -> &'static str {
42 Self::IDENTIFIER
43 }
44}
45impl crate::CommandResult for Enable {
46 type Result = super::results::EnableResult;
47}
48#[doc = "For testing.\n[getHighlightObjectForTest](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-getHighlightObjectForTest)"]
49#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
50pub struct GetHighlightObjectForTestParams {
51 #[doc = "Id of the node to get highlight object for."]
52 #[serde(rename = "nodeId")]
53 pub node_id: crate::browser_protocol::dom::types::NodeId,
54 #[doc = "Whether to include distance info."]
55 #[serde(rename = "includeDistance")]
56 #[serde(skip_serializing_if = "Option::is_none")]
57 #[serde(default)]
58 pub include_distance: Option<bool>,
59 #[doc = "Whether to include style info."]
60 #[serde(rename = "includeStyle")]
61 #[serde(skip_serializing_if = "Option::is_none")]
62 #[serde(default)]
63 pub include_style: Option<bool>,
64 #[doc = "The color format to get config with (default: hex)."]
65 #[serde(rename = "colorFormat")]
66 #[serde(skip_serializing_if = "Option::is_none")]
67 #[serde(default)]
68 pub color_format: Option<super::types::ColorFormat>,
69 #[doc = "Whether to show accessibility info (default: true)."]
70 #[serde(rename = "showAccessibilityInfo")]
71 #[serde(skip_serializing_if = "Option::is_none")]
72 #[serde(default)]
73 pub show_accessibility_info: Option<bool>,
74}
75impl GetHighlightObjectForTestParams {
76 pub fn new(node_id: impl Into<crate::browser_protocol::dom::types::NodeId>) -> Self {
77 Self {
78 node_id: node_id.into(),
79 include_distance: None,
80 include_style: None,
81 color_format: None,
82 show_accessibility_info: None,
83 }
84 }
85}
86#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
87pub enum GetHighlightObjectForTestMethod {
88 #[serde(rename = "Overlay.getHighlightObjectForTest")]
89 GetHighlightObjectForTest,
90}
91#[doc = "For testing.\n[getHighlightObjectForTest](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-getHighlightObjectForTest)"]
92#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
93pub struct GetHighlightObjectForTest {
94 pub method: GetHighlightObjectForTestMethod,
95 pub params: GetHighlightObjectForTestParams,
96}
97impl GetHighlightObjectForTest {
98 pub const IDENTIFIER: &'static str = "Overlay.getHighlightObjectForTest";
99 pub fn identifier(&self) -> &'static str {
100 Self::IDENTIFIER
101 }
102}
103impl crate::CommandResult for GetHighlightObjectForTest {
104 type Result = super::results::GetHighlightObjectForTestResult;
105}
106#[doc = "For Persistent Grid testing.\n[getGridHighlightObjectsForTest](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-getGridHighlightObjectsForTest)"]
107#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
108pub struct GetGridHighlightObjectsForTestParams {
109 #[doc = "Ids of the node to get highlight object for."]
110 #[serde(rename = "nodeIds")]
111 #[serde(skip_serializing_if = "Vec::is_empty")]
112 pub node_ids: Vec<crate::browser_protocol::dom::types::NodeId>,
113}
114impl GetGridHighlightObjectsForTestParams {
115 pub fn new(node_ids: Vec<crate::browser_protocol::dom::types::NodeId>) -> Self {
116 Self { node_ids }
117 }
118}
119#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
120pub enum GetGridHighlightObjectsForTestMethod {
121 #[serde(rename = "Overlay.getGridHighlightObjectsForTest")]
122 GetGridHighlightObjectsForTest,
123}
124#[doc = "For Persistent Grid testing.\n[getGridHighlightObjectsForTest](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-getGridHighlightObjectsForTest)"]
125#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
126pub struct GetGridHighlightObjectsForTest {
127 pub method: GetGridHighlightObjectsForTestMethod,
128 pub params: GetGridHighlightObjectsForTestParams,
129}
130impl GetGridHighlightObjectsForTest {
131 pub const IDENTIFIER: &'static str = "Overlay.getGridHighlightObjectsForTest";
132 pub fn identifier(&self) -> &'static str {
133 Self::IDENTIFIER
134 }
135}
136impl crate::CommandResult for GetGridHighlightObjectsForTest {
137 type Result = super::results::GetGridHighlightObjectsForTestResult;
138}
139#[doc = "For Source Order Viewer testing.\n[getSourceOrderHighlightObjectForTest](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-getSourceOrderHighlightObjectForTest)"]
140#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
141pub struct GetSourceOrderHighlightObjectForTestParams {
142 #[doc = "Id of the node to highlight."]
143 #[serde(rename = "nodeId")]
144 pub node_id: crate::browser_protocol::dom::types::NodeId,
145}
146impl GetSourceOrderHighlightObjectForTestParams {
147 pub fn new(node_id: impl Into<crate::browser_protocol::dom::types::NodeId>) -> Self {
148 Self {
149 node_id: node_id.into(),
150 }
151 }
152}
153#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
154pub enum GetSourceOrderHighlightObjectForTestMethod {
155 #[serde(rename = "Overlay.getSourceOrderHighlightObjectForTest")]
156 GetSourceOrderHighlightObjectForTest,
157}
158#[doc = "For Source Order Viewer testing.\n[getSourceOrderHighlightObjectForTest](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-getSourceOrderHighlightObjectForTest)"]
159#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
160pub struct GetSourceOrderHighlightObjectForTest {
161 pub method: GetSourceOrderHighlightObjectForTestMethod,
162 pub params: GetSourceOrderHighlightObjectForTestParams,
163}
164impl GetSourceOrderHighlightObjectForTest {
165 pub const IDENTIFIER: &'static str = "Overlay.getSourceOrderHighlightObjectForTest";
166 pub fn identifier(&self) -> &'static str {
167 Self::IDENTIFIER
168 }
169}
170impl crate::CommandResult for GetSourceOrderHighlightObjectForTest {
171 type Result = super::results::GetSourceOrderHighlightObjectForTestResult;
172}
173#[doc = "Hides any highlight.\n[hideHighlight](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-hideHighlight)"]
174#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
175pub struct HideHighlightParams {}
176#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
177pub enum HideHighlightMethod {
178 #[serde(rename = "Overlay.hideHighlight")]
179 HideHighlight,
180}
181#[doc = "Hides any highlight.\n[hideHighlight](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-hideHighlight)"]
182#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
183pub struct HideHighlight {
184 pub method: HideHighlightMethod,
185 pub params: HideHighlightParams,
186}
187impl HideHighlight {
188 pub const IDENTIFIER: &'static str = "Overlay.hideHighlight";
189 pub fn identifier(&self) -> &'static str {
190 Self::IDENTIFIER
191 }
192}
193impl crate::CommandResult for HideHighlight {
194 type Result = super::results::HideHighlightResult;
195}
196#[doc = "Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or\nobjectId must be specified.\n[highlightNode](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-highlightNode)"]
197#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
198pub struct HighlightNodeParams {
199 #[doc = "A descriptor for the highlight appearance."]
200 #[serde(rename = "highlightConfig")]
201 pub highlight_config: super::types::HighlightConfig,
202 #[doc = "Identifier of the node to highlight."]
203 #[serde(rename = "nodeId")]
204 #[serde(skip_serializing_if = "Option::is_none")]
205 #[serde(default)]
206 pub node_id: Option<crate::browser_protocol::dom::types::NodeId>,
207 #[doc = "Identifier of the backend node to highlight."]
208 #[serde(rename = "backendNodeId")]
209 #[serde(skip_serializing_if = "Option::is_none")]
210 #[serde(default)]
211 pub backend_node_id: Option<crate::browser_protocol::dom::types::BackendNodeId>,
212 #[doc = "JavaScript object id of the node to be highlighted."]
213 #[serde(rename = "objectId")]
214 #[serde(skip_serializing_if = "Option::is_none")]
215 #[serde(default)]
216 pub object_id: Option<crate::js_protocol::runtime::types::RemoteObjectId>,
217 #[doc = "Selectors to highlight relevant nodes."]
218 #[serde(rename = "selector")]
219 #[serde(skip_serializing_if = "Option::is_none")]
220 #[serde(default)]
221 pub selector: Option<String>,
222}
223impl HighlightNodeParams {
224 pub fn new(highlight_config: impl Into<super::types::HighlightConfig>) -> Self {
225 Self {
226 highlight_config: highlight_config.into(),
227 node_id: None,
228 backend_node_id: None,
229 object_id: None,
230 selector: None,
231 }
232 }
233}
234#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
235pub enum HighlightNodeMethod {
236 #[serde(rename = "Overlay.highlightNode")]
237 HighlightNode,
238}
239#[doc = "Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or\nobjectId must be specified.\n[highlightNode](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-highlightNode)"]
240#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
241pub struct HighlightNode {
242 pub method: HighlightNodeMethod,
243 pub params: HighlightNodeParams,
244}
245impl HighlightNode {
246 pub const IDENTIFIER: &'static str = "Overlay.highlightNode";
247 pub fn identifier(&self) -> &'static str {
248 Self::IDENTIFIER
249 }
250}
251impl crate::CommandResult for HighlightNode {
252 type Result = super::results::HighlightNodeResult;
253}
254#[doc = "Highlights given quad. Coordinates are absolute with respect to the main frame viewport.\n[highlightQuad](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-highlightQuad)"]
255#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
256pub struct HighlightQuadParams {
257 #[doc = "Quad to highlight"]
258 #[serde(rename = "quad")]
259 pub quad: crate::browser_protocol::dom::types::Quad,
260 #[doc = "The highlight fill color (default: transparent)."]
261 #[serde(rename = "color")]
262 #[serde(skip_serializing_if = "Option::is_none")]
263 #[serde(default)]
264 pub color: Option<crate::browser_protocol::dom::types::Rgba>,
265 #[doc = "The highlight outline color (default: transparent)."]
266 #[serde(rename = "outlineColor")]
267 #[serde(skip_serializing_if = "Option::is_none")]
268 #[serde(default)]
269 pub outline_color: Option<crate::browser_protocol::dom::types::Rgba>,
270}
271impl HighlightQuadParams {
272 pub fn new(quad: impl Into<crate::browser_protocol::dom::types::Quad>) -> Self {
273 Self {
274 quad: quad.into(),
275 color: None,
276 outline_color: None,
277 }
278 }
279}
280#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
281pub enum HighlightQuadMethod {
282 #[serde(rename = "Overlay.highlightQuad")]
283 HighlightQuad,
284}
285#[doc = "Highlights given quad. Coordinates are absolute with respect to the main frame viewport.\n[highlightQuad](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-highlightQuad)"]
286#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
287pub struct HighlightQuad {
288 pub method: HighlightQuadMethod,
289 pub params: HighlightQuadParams,
290}
291impl HighlightQuad {
292 pub const IDENTIFIER: &'static str = "Overlay.highlightQuad";
293 pub fn identifier(&self) -> &'static str {
294 Self::IDENTIFIER
295 }
296}
297impl crate::CommandResult for HighlightQuad {
298 type Result = super::results::HighlightQuadResult;
299}
300#[doc = "Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.\nIssue: the method does not handle device pixel ratio (DPR) correctly.\nThe coordinates currently have to be adjusted by the client\nif DPR is not 1 (see crbug.com/437807128).\n[highlightRect](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-highlightRect)"]
301#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
302pub struct HighlightRectParams {
303 #[doc = "X coordinate"]
304 #[serde(rename = "x")]
305 pub x: i64,
306 #[doc = "Y coordinate"]
307 #[serde(rename = "y")]
308 pub y: i64,
309 #[doc = "Rectangle width"]
310 #[serde(rename = "width")]
311 pub width: i64,
312 #[doc = "Rectangle height"]
313 #[serde(rename = "height")]
314 pub height: i64,
315 #[doc = "The highlight fill color (default: transparent)."]
316 #[serde(rename = "color")]
317 #[serde(skip_serializing_if = "Option::is_none")]
318 #[serde(default)]
319 pub color: Option<crate::browser_protocol::dom::types::Rgba>,
320 #[doc = "The highlight outline color (default: transparent)."]
321 #[serde(rename = "outlineColor")]
322 #[serde(skip_serializing_if = "Option::is_none")]
323 #[serde(default)]
324 pub outline_color: Option<crate::browser_protocol::dom::types::Rgba>,
325}
326impl HighlightRectParams {
327 pub fn new(
328 x: impl Into<i64>,
329 y: impl Into<i64>,
330 width: impl Into<i64>,
331 height: impl Into<i64>,
332 ) -> Self {
333 Self {
334 x: x.into(),
335 y: y.into(),
336 width: width.into(),
337 height: height.into(),
338 color: None,
339 outline_color: None,
340 }
341 }
342}
343#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
344pub enum HighlightRectMethod {
345 #[serde(rename = "Overlay.highlightRect")]
346 HighlightRect,
347}
348#[doc = "Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.\nIssue: the method does not handle device pixel ratio (DPR) correctly.\nThe coordinates currently have to be adjusted by the client\nif DPR is not 1 (see crbug.com/437807128).\n[highlightRect](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-highlightRect)"]
349#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
350pub struct HighlightRect {
351 pub method: HighlightRectMethod,
352 pub params: HighlightRectParams,
353}
354impl HighlightRect {
355 pub const IDENTIFIER: &'static str = "Overlay.highlightRect";
356 pub fn identifier(&self) -> &'static str {
357 Self::IDENTIFIER
358 }
359}
360impl crate::CommandResult for HighlightRect {
361 type Result = super::results::HighlightRectResult;
362}
363#[doc = "Highlights the source order of the children of the DOM node with given id or with the given\nJavaScript object wrapper. Either nodeId or objectId must be specified.\n[highlightSourceOrder](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-highlightSourceOrder)"]
364#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
365pub struct HighlightSourceOrderParams {
366 #[doc = "A descriptor for the appearance of the overlay drawing."]
367 #[serde(rename = "sourceOrderConfig")]
368 pub source_order_config: super::types::SourceOrderConfig,
369 #[doc = "Identifier of the node to highlight."]
370 #[serde(rename = "nodeId")]
371 #[serde(skip_serializing_if = "Option::is_none")]
372 #[serde(default)]
373 pub node_id: Option<crate::browser_protocol::dom::types::NodeId>,
374 #[doc = "Identifier of the backend node to highlight."]
375 #[serde(rename = "backendNodeId")]
376 #[serde(skip_serializing_if = "Option::is_none")]
377 #[serde(default)]
378 pub backend_node_id: Option<crate::browser_protocol::dom::types::BackendNodeId>,
379 #[doc = "JavaScript object id of the node to be highlighted."]
380 #[serde(rename = "objectId")]
381 #[serde(skip_serializing_if = "Option::is_none")]
382 #[serde(default)]
383 pub object_id: Option<crate::js_protocol::runtime::types::RemoteObjectId>,
384}
385impl HighlightSourceOrderParams {
386 pub fn new(source_order_config: impl Into<super::types::SourceOrderConfig>) -> Self {
387 Self {
388 source_order_config: source_order_config.into(),
389 node_id: None,
390 backend_node_id: None,
391 object_id: None,
392 }
393 }
394}
395#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
396pub enum HighlightSourceOrderMethod {
397 #[serde(rename = "Overlay.highlightSourceOrder")]
398 HighlightSourceOrder,
399}
400#[doc = "Highlights the source order of the children of the DOM node with given id or with the given\nJavaScript object wrapper. Either nodeId or objectId must be specified.\n[highlightSourceOrder](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-highlightSourceOrder)"]
401#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
402pub struct HighlightSourceOrder {
403 pub method: HighlightSourceOrderMethod,
404 pub params: HighlightSourceOrderParams,
405}
406impl HighlightSourceOrder {
407 pub const IDENTIFIER: &'static str = "Overlay.highlightSourceOrder";
408 pub fn identifier(&self) -> &'static str {
409 Self::IDENTIFIER
410 }
411}
412impl crate::CommandResult for HighlightSourceOrder {
413 type Result = super::results::HighlightSourceOrderResult;
414}
415#[doc = "Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted.\nBackend then generates 'inspectNodeRequested' event upon element selection.\n[setInspectMode](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setInspectMode)"]
416#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
417pub struct SetInspectModeParams {
418 #[doc = "Set an inspection mode."]
419 #[serde(rename = "mode")]
420 pub mode: super::types::InspectMode,
421 #[doc = "A descriptor for the highlight appearance of hovered-over nodes. May be omitted if `enabled\n== false`."]
422 #[serde(rename = "highlightConfig")]
423 #[serde(skip_serializing_if = "Option::is_none")]
424 #[serde(default)]
425 pub highlight_config: Option<super::types::HighlightConfig>,
426}
427impl SetInspectModeParams {
428 pub fn new(mode: impl Into<super::types::InspectMode>) -> Self {
429 Self {
430 mode: mode.into(),
431 highlight_config: None,
432 }
433 }
434}
435#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
436pub enum SetInspectModeMethod {
437 #[serde(rename = "Overlay.setInspectMode")]
438 SetInspectMode,
439}
440#[doc = "Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted.\nBackend then generates 'inspectNodeRequested' event upon element selection.\n[setInspectMode](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setInspectMode)"]
441#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
442pub struct SetInspectMode {
443 pub method: SetInspectModeMethod,
444 pub params: SetInspectModeParams,
445}
446impl SetInspectMode {
447 pub const IDENTIFIER: &'static str = "Overlay.setInspectMode";
448 pub fn identifier(&self) -> &'static str {
449 Self::IDENTIFIER
450 }
451}
452impl crate::CommandResult for SetInspectMode {
453 type Result = super::results::SetInspectModeResult;
454}
455#[doc = "Highlights owner element of all frames detected to be ads.\n[setShowAdHighlights](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowAdHighlights)"]
456#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
457pub struct SetShowAdHighlightsParams {
458 #[doc = "True for showing ad highlights"]
459 #[serde(rename = "show")]
460 pub show: bool,
461}
462impl SetShowAdHighlightsParams {
463 pub fn new(show: impl Into<bool>) -> Self {
464 Self { show: show.into() }
465 }
466}
467#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
468pub enum SetShowAdHighlightsMethod {
469 #[serde(rename = "Overlay.setShowAdHighlights")]
470 SetShowAdHighlights,
471}
472#[doc = "Highlights owner element of all frames detected to be ads.\n[setShowAdHighlights](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowAdHighlights)"]
473#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
474pub struct SetShowAdHighlights {
475 pub method: SetShowAdHighlightsMethod,
476 pub params: SetShowAdHighlightsParams,
477}
478impl SetShowAdHighlights {
479 pub const IDENTIFIER: &'static str = "Overlay.setShowAdHighlights";
480 pub fn identifier(&self) -> &'static str {
481 Self::IDENTIFIER
482 }
483}
484impl crate::CommandResult for SetShowAdHighlights {
485 type Result = super::results::SetShowAdHighlightsResult;
486}
487#[derive(Debug, Clone, PartialEq, Default, Serialize, Deserialize)]
488pub struct SetPausedInDebuggerMessageParams {
489 #[doc = "The message to display, also triggers resume and step over controls."]
490 #[serde(rename = "message")]
491 #[serde(skip_serializing_if = "Option::is_none")]
492 #[serde(default)]
493 pub message: Option<String>,
494}
495#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
496pub enum SetPausedInDebuggerMessageMethod {
497 #[serde(rename = "Overlay.setPausedInDebuggerMessage")]
498 SetPausedInDebuggerMessage,
499}
500#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
501pub struct SetPausedInDebuggerMessage {
502 pub method: SetPausedInDebuggerMessageMethod,
503 pub params: SetPausedInDebuggerMessageParams,
504}
505impl SetPausedInDebuggerMessage {
506 pub const IDENTIFIER: &'static str = "Overlay.setPausedInDebuggerMessage";
507 pub fn identifier(&self) -> &'static str {
508 Self::IDENTIFIER
509 }
510}
511impl crate::CommandResult for SetPausedInDebuggerMessage {
512 type Result = super::results::SetPausedInDebuggerMessageResult;
513}
514#[doc = "Requests that backend shows debug borders on layers\n[setShowDebugBorders](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowDebugBorders)"]
515#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
516pub struct SetShowDebugBordersParams {
517 #[doc = "True for showing debug borders"]
518 #[serde(rename = "show")]
519 pub show: bool,
520}
521impl SetShowDebugBordersParams {
522 pub fn new(show: impl Into<bool>) -> Self {
523 Self { show: show.into() }
524 }
525}
526#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
527pub enum SetShowDebugBordersMethod {
528 #[serde(rename = "Overlay.setShowDebugBorders")]
529 SetShowDebugBorders,
530}
531#[doc = "Requests that backend shows debug borders on layers\n[setShowDebugBorders](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowDebugBorders)"]
532#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
533pub struct SetShowDebugBorders {
534 pub method: SetShowDebugBordersMethod,
535 pub params: SetShowDebugBordersParams,
536}
537impl SetShowDebugBorders {
538 pub const IDENTIFIER: &'static str = "Overlay.setShowDebugBorders";
539 pub fn identifier(&self) -> &'static str {
540 Self::IDENTIFIER
541 }
542}
543impl crate::CommandResult for SetShowDebugBorders {
544 type Result = super::results::SetShowDebugBordersResult;
545}
546#[doc = "Requests that backend shows the FPS counter\n[setShowFPSCounter](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowFPSCounter)"]
547#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
548pub struct SetShowFpsCounterParams {
549 #[doc = "True for showing the FPS counter"]
550 #[serde(rename = "show")]
551 pub show: bool,
552}
553impl SetShowFpsCounterParams {
554 pub fn new(show: impl Into<bool>) -> Self {
555 Self { show: show.into() }
556 }
557}
558#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
559pub enum SetShowFpsCounterMethod {
560 #[serde(rename = "Overlay.setShowFPSCounter")]
561 SetShowFpsCounter,
562}
563#[doc = "Requests that backend shows the FPS counter\n[setShowFPSCounter](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowFPSCounter)"]
564#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
565pub struct SetShowFpsCounter {
566 pub method: SetShowFpsCounterMethod,
567 pub params: SetShowFpsCounterParams,
568}
569impl SetShowFpsCounter {
570 pub const IDENTIFIER: &'static str = "Overlay.setShowFPSCounter";
571 pub fn identifier(&self) -> &'static str {
572 Self::IDENTIFIER
573 }
574}
575impl crate::CommandResult for SetShowFpsCounter {
576 type Result = super::results::SetShowFpsCounterResult;
577}
578#[doc = "Highlight multiple elements with the CSS Grid overlay.\n[setShowGridOverlays](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowGridOverlays)"]
579#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
580pub struct SetShowGridOverlaysParams {
581 #[doc = "An array of node identifiers and descriptors for the highlight appearance."]
582 #[serde(rename = "gridNodeHighlightConfigs")]
583 #[serde(skip_serializing_if = "Vec::is_empty")]
584 pub grid_node_highlight_configs: Vec<super::types::GridNodeHighlightConfig>,
585}
586impl SetShowGridOverlaysParams {
587 pub fn new(grid_node_highlight_configs: Vec<super::types::GridNodeHighlightConfig>) -> Self {
588 Self {
589 grid_node_highlight_configs,
590 }
591 }
592}
593#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
594pub enum SetShowGridOverlaysMethod {
595 #[serde(rename = "Overlay.setShowGridOverlays")]
596 SetShowGridOverlays,
597}
598#[doc = "Highlight multiple elements with the CSS Grid overlay.\n[setShowGridOverlays](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowGridOverlays)"]
599#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
600pub struct SetShowGridOverlays {
601 pub method: SetShowGridOverlaysMethod,
602 pub params: SetShowGridOverlaysParams,
603}
604impl SetShowGridOverlays {
605 pub const IDENTIFIER: &'static str = "Overlay.setShowGridOverlays";
606 pub fn identifier(&self) -> &'static str {
607 Self::IDENTIFIER
608 }
609}
610impl crate::CommandResult for SetShowGridOverlays {
611 type Result = super::results::SetShowGridOverlaysResult;
612}
613#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
614pub struct SetShowFlexOverlaysParams {
615 #[doc = "An array of node identifiers and descriptors for the highlight appearance."]
616 #[serde(rename = "flexNodeHighlightConfigs")]
617 #[serde(skip_serializing_if = "Vec::is_empty")]
618 pub flex_node_highlight_configs: Vec<super::types::FlexNodeHighlightConfig>,
619}
620impl SetShowFlexOverlaysParams {
621 pub fn new(flex_node_highlight_configs: Vec<super::types::FlexNodeHighlightConfig>) -> Self {
622 Self {
623 flex_node_highlight_configs,
624 }
625 }
626}
627#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
628pub enum SetShowFlexOverlaysMethod {
629 #[serde(rename = "Overlay.setShowFlexOverlays")]
630 SetShowFlexOverlays,
631}
632#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
633pub struct SetShowFlexOverlays {
634 pub method: SetShowFlexOverlaysMethod,
635 pub params: SetShowFlexOverlaysParams,
636}
637impl SetShowFlexOverlays {
638 pub const IDENTIFIER: &'static str = "Overlay.setShowFlexOverlays";
639 pub fn identifier(&self) -> &'static str {
640 Self::IDENTIFIER
641 }
642}
643impl crate::CommandResult for SetShowFlexOverlays {
644 type Result = super::results::SetShowFlexOverlaysResult;
645}
646#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
647pub struct SetShowScrollSnapOverlaysParams {
648 #[doc = "An array of node identifiers and descriptors for the highlight appearance."]
649 #[serde(rename = "scrollSnapHighlightConfigs")]
650 #[serde(skip_serializing_if = "Vec::is_empty")]
651 pub scroll_snap_highlight_configs: Vec<super::types::ScrollSnapHighlightConfig>,
652}
653impl SetShowScrollSnapOverlaysParams {
654 pub fn new(
655 scroll_snap_highlight_configs: Vec<super::types::ScrollSnapHighlightConfig>,
656 ) -> Self {
657 Self {
658 scroll_snap_highlight_configs,
659 }
660 }
661}
662#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
663pub enum SetShowScrollSnapOverlaysMethod {
664 #[serde(rename = "Overlay.setShowScrollSnapOverlays")]
665 SetShowScrollSnapOverlays,
666}
667#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
668pub struct SetShowScrollSnapOverlays {
669 pub method: SetShowScrollSnapOverlaysMethod,
670 pub params: SetShowScrollSnapOverlaysParams,
671}
672impl SetShowScrollSnapOverlays {
673 pub const IDENTIFIER: &'static str = "Overlay.setShowScrollSnapOverlays";
674 pub fn identifier(&self) -> &'static str {
675 Self::IDENTIFIER
676 }
677}
678impl crate::CommandResult for SetShowScrollSnapOverlays {
679 type Result = super::results::SetShowScrollSnapOverlaysResult;
680}
681#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
682pub struct SetShowContainerQueryOverlaysParams {
683 #[doc = "An array of node identifiers and descriptors for the highlight appearance."]
684 #[serde(rename = "containerQueryHighlightConfigs")]
685 #[serde(skip_serializing_if = "Vec::is_empty")]
686 pub container_query_highlight_configs: Vec<super::types::ContainerQueryHighlightConfig>,
687}
688impl SetShowContainerQueryOverlaysParams {
689 pub fn new(
690 container_query_highlight_configs: Vec<super::types::ContainerQueryHighlightConfig>,
691 ) -> Self {
692 Self {
693 container_query_highlight_configs,
694 }
695 }
696}
697#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
698pub enum SetShowContainerQueryOverlaysMethod {
699 #[serde(rename = "Overlay.setShowContainerQueryOverlays")]
700 SetShowContainerQueryOverlays,
701}
702#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
703pub struct SetShowContainerQueryOverlays {
704 pub method: SetShowContainerQueryOverlaysMethod,
705 pub params: SetShowContainerQueryOverlaysParams,
706}
707impl SetShowContainerQueryOverlays {
708 pub const IDENTIFIER: &'static str = "Overlay.setShowContainerQueryOverlays";
709 pub fn identifier(&self) -> &'static str {
710 Self::IDENTIFIER
711 }
712}
713impl crate::CommandResult for SetShowContainerQueryOverlays {
714 type Result = super::results::SetShowContainerQueryOverlaysResult;
715}
716#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
717pub struct SetShowInspectedElementAnchorParams {
718 #[doc = "Node identifier for which to show an anchor for."]
719 #[serde(rename = "inspectedElementAnchorConfig")]
720 pub inspected_element_anchor_config: super::types::InspectedElementAnchorConfig,
721}
722impl SetShowInspectedElementAnchorParams {
723 pub fn new(
724 inspected_element_anchor_config: impl Into<super::types::InspectedElementAnchorConfig>,
725 ) -> Self {
726 Self {
727 inspected_element_anchor_config: inspected_element_anchor_config.into(),
728 }
729 }
730}
731#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
732pub enum SetShowInspectedElementAnchorMethod {
733 #[serde(rename = "Overlay.setShowInspectedElementAnchor")]
734 SetShowInspectedElementAnchor,
735}
736#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
737pub struct SetShowInspectedElementAnchor {
738 pub method: SetShowInspectedElementAnchorMethod,
739 pub params: SetShowInspectedElementAnchorParams,
740}
741impl SetShowInspectedElementAnchor {
742 pub const IDENTIFIER: &'static str = "Overlay.setShowInspectedElementAnchor";
743 pub fn identifier(&self) -> &'static str {
744 Self::IDENTIFIER
745 }
746}
747impl crate::CommandResult for SetShowInspectedElementAnchor {
748 type Result = super::results::SetShowInspectedElementAnchorResult;
749}
750#[doc = "Requests that backend shows paint rectangles\n[setShowPaintRects](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowPaintRects)"]
751#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
752pub struct SetShowPaintRectsParams {
753 #[doc = "True for showing paint rectangles"]
754 #[serde(rename = "result")]
755 pub result: bool,
756}
757impl SetShowPaintRectsParams {
758 pub fn new(result: impl Into<bool>) -> Self {
759 Self {
760 result: result.into(),
761 }
762 }
763}
764#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
765pub enum SetShowPaintRectsMethod {
766 #[serde(rename = "Overlay.setShowPaintRects")]
767 SetShowPaintRects,
768}
769#[doc = "Requests that backend shows paint rectangles\n[setShowPaintRects](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowPaintRects)"]
770#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
771pub struct SetShowPaintRects {
772 pub method: SetShowPaintRectsMethod,
773 pub params: SetShowPaintRectsParams,
774}
775impl SetShowPaintRects {
776 pub const IDENTIFIER: &'static str = "Overlay.setShowPaintRects";
777 pub fn identifier(&self) -> &'static str {
778 Self::IDENTIFIER
779 }
780}
781impl crate::CommandResult for SetShowPaintRects {
782 type Result = super::results::SetShowPaintRectsResult;
783}
784#[doc = "Requests that backend shows layout shift regions\n[setShowLayoutShiftRegions](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowLayoutShiftRegions)"]
785#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
786pub struct SetShowLayoutShiftRegionsParams {
787 #[doc = "True for showing layout shift regions"]
788 #[serde(rename = "result")]
789 pub result: bool,
790}
791impl SetShowLayoutShiftRegionsParams {
792 pub fn new(result: impl Into<bool>) -> Self {
793 Self {
794 result: result.into(),
795 }
796 }
797}
798#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
799pub enum SetShowLayoutShiftRegionsMethod {
800 #[serde(rename = "Overlay.setShowLayoutShiftRegions")]
801 SetShowLayoutShiftRegions,
802}
803#[doc = "Requests that backend shows layout shift regions\n[setShowLayoutShiftRegions](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowLayoutShiftRegions)"]
804#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
805pub struct SetShowLayoutShiftRegions {
806 pub method: SetShowLayoutShiftRegionsMethod,
807 pub params: SetShowLayoutShiftRegionsParams,
808}
809impl SetShowLayoutShiftRegions {
810 pub const IDENTIFIER: &'static str = "Overlay.setShowLayoutShiftRegions";
811 pub fn identifier(&self) -> &'static str {
812 Self::IDENTIFIER
813 }
814}
815impl crate::CommandResult for SetShowLayoutShiftRegions {
816 type Result = super::results::SetShowLayoutShiftRegionsResult;
817}
818#[doc = "Requests that backend shows scroll bottleneck rects\n[setShowScrollBottleneckRects](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowScrollBottleneckRects)"]
819#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
820pub struct SetShowScrollBottleneckRectsParams {
821 #[doc = "True for showing scroll bottleneck rects"]
822 #[serde(rename = "show")]
823 pub show: bool,
824}
825impl SetShowScrollBottleneckRectsParams {
826 pub fn new(show: impl Into<bool>) -> Self {
827 Self { show: show.into() }
828 }
829}
830#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
831pub enum SetShowScrollBottleneckRectsMethod {
832 #[serde(rename = "Overlay.setShowScrollBottleneckRects")]
833 SetShowScrollBottleneckRects,
834}
835#[doc = "Requests that backend shows scroll bottleneck rects\n[setShowScrollBottleneckRects](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowScrollBottleneckRects)"]
836#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
837pub struct SetShowScrollBottleneckRects {
838 pub method: SetShowScrollBottleneckRectsMethod,
839 pub params: SetShowScrollBottleneckRectsParams,
840}
841impl SetShowScrollBottleneckRects {
842 pub const IDENTIFIER: &'static str = "Overlay.setShowScrollBottleneckRects";
843 pub fn identifier(&self) -> &'static str {
844 Self::IDENTIFIER
845 }
846}
847impl crate::CommandResult for SetShowScrollBottleneckRects {
848 type Result = super::results::SetShowScrollBottleneckRectsResult;
849}
850#[doc = "Paints viewport size upon main frame resize.\n[setShowViewportSizeOnResize](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowViewportSizeOnResize)"]
851#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
852pub struct SetShowViewportSizeOnResizeParams {
853 #[doc = "Whether to paint size or not."]
854 #[serde(rename = "show")]
855 pub show: bool,
856}
857impl SetShowViewportSizeOnResizeParams {
858 pub fn new(show: impl Into<bool>) -> Self {
859 Self { show: show.into() }
860 }
861}
862#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
863pub enum SetShowViewportSizeOnResizeMethod {
864 #[serde(rename = "Overlay.setShowViewportSizeOnResize")]
865 SetShowViewportSizeOnResize,
866}
867#[doc = "Paints viewport size upon main frame resize.\n[setShowViewportSizeOnResize](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowViewportSizeOnResize)"]
868#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
869pub struct SetShowViewportSizeOnResize {
870 pub method: SetShowViewportSizeOnResizeMethod,
871 pub params: SetShowViewportSizeOnResizeParams,
872}
873impl SetShowViewportSizeOnResize {
874 pub const IDENTIFIER: &'static str = "Overlay.setShowViewportSizeOnResize";
875 pub fn identifier(&self) -> &'static str {
876 Self::IDENTIFIER
877 }
878}
879impl crate::CommandResult for SetShowViewportSizeOnResize {
880 type Result = super::results::SetShowViewportSizeOnResizeResult;
881}
882#[doc = "Add a dual screen device hinge\n[setShowHinge](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowHinge)"]
883#[derive(Debug, Clone, PartialEq, Default, Serialize, Deserialize)]
884pub struct SetShowHingeParams {
885 #[doc = "hinge data, null means hideHinge"]
886 #[serde(rename = "hingeConfig")]
887 #[serde(skip_serializing_if = "Option::is_none")]
888 #[serde(default)]
889 pub hinge_config: Option<super::types::HingeConfig>,
890}
891#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
892pub enum SetShowHingeMethod {
893 #[serde(rename = "Overlay.setShowHinge")]
894 SetShowHinge,
895}
896#[doc = "Add a dual screen device hinge\n[setShowHinge](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowHinge)"]
897#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
898pub struct SetShowHinge {
899 pub method: SetShowHingeMethod,
900 pub params: SetShowHingeParams,
901}
902impl SetShowHinge {
903 pub const IDENTIFIER: &'static str = "Overlay.setShowHinge";
904 pub fn identifier(&self) -> &'static str {
905 Self::IDENTIFIER
906 }
907}
908impl crate::CommandResult for SetShowHinge {
909 type Result = super::results::SetShowHingeResult;
910}
911#[doc = "Show elements in isolation mode with overlays.\n[setShowIsolatedElements](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowIsolatedElements)"]
912#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
913pub struct SetShowIsolatedElementsParams {
914 #[doc = "An array of node identifiers and descriptors for the highlight appearance."]
915 #[serde(rename = "isolatedElementHighlightConfigs")]
916 #[serde(skip_serializing_if = "Vec::is_empty")]
917 pub isolated_element_highlight_configs: Vec<super::types::IsolatedElementHighlightConfig>,
918}
919impl SetShowIsolatedElementsParams {
920 pub fn new(
921 isolated_element_highlight_configs: Vec<super::types::IsolatedElementHighlightConfig>,
922 ) -> Self {
923 Self {
924 isolated_element_highlight_configs,
925 }
926 }
927}
928#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
929pub enum SetShowIsolatedElementsMethod {
930 #[serde(rename = "Overlay.setShowIsolatedElements")]
931 SetShowIsolatedElements,
932}
933#[doc = "Show elements in isolation mode with overlays.\n[setShowIsolatedElements](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowIsolatedElements)"]
934#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
935pub struct SetShowIsolatedElements {
936 pub method: SetShowIsolatedElementsMethod,
937 pub params: SetShowIsolatedElementsParams,
938}
939impl SetShowIsolatedElements {
940 pub const IDENTIFIER: &'static str = "Overlay.setShowIsolatedElements";
941 pub fn identifier(&self) -> &'static str {
942 Self::IDENTIFIER
943 }
944}
945impl crate::CommandResult for SetShowIsolatedElements {
946 type Result = super::results::SetShowIsolatedElementsResult;
947}
948#[doc = "Show Window Controls Overlay for PWA\n[setShowWindowControlsOverlay](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowWindowControlsOverlay)"]
949#[derive(Debug, Clone, PartialEq, Default, Serialize, Deserialize)]
950pub struct SetShowWindowControlsOverlayParams {
951 #[doc = "Window Controls Overlay data, null means hide Window Controls Overlay"]
952 #[serde(rename = "windowControlsOverlayConfig")]
953 #[serde(skip_serializing_if = "Option::is_none")]
954 #[serde(default)]
955 pub window_controls_overlay_config: Option<super::types::WindowControlsOverlayConfig>,
956}
957#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
958pub enum SetShowWindowControlsOverlayMethod {
959 #[serde(rename = "Overlay.setShowWindowControlsOverlay")]
960 SetShowWindowControlsOverlay,
961}
962#[doc = "Show Window Controls Overlay for PWA\n[setShowWindowControlsOverlay](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowWindowControlsOverlay)"]
963#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
964pub struct SetShowWindowControlsOverlay {
965 pub method: SetShowWindowControlsOverlayMethod,
966 pub params: SetShowWindowControlsOverlayParams,
967}
968impl SetShowWindowControlsOverlay {
969 pub const IDENTIFIER: &'static str = "Overlay.setShowWindowControlsOverlay";
970 pub fn identifier(&self) -> &'static str {
971 Self::IDENTIFIER
972 }
973}
974impl crate::CommandResult for SetShowWindowControlsOverlay {
975 type Result = super::results::SetShowWindowControlsOverlayResult;
976}
977group_enum ! (OverlayCommands { Disable (Disable) , Enable (Enable) , GetHighlightObjectForTest (GetHighlightObjectForTest) , GetGridHighlightObjectsForTest (GetGridHighlightObjectsForTest) , GetSourceOrderHighlightObjectForTest (GetSourceOrderHighlightObjectForTest) , HideHighlight (HideHighlight) , HighlightNode (HighlightNode) , HighlightQuad (HighlightQuad) , HighlightRect (HighlightRect) , HighlightSourceOrder (HighlightSourceOrder) , SetInspectMode (SetInspectMode) , SetShowAdHighlights (SetShowAdHighlights) , SetPausedInDebuggerMessage (SetPausedInDebuggerMessage) , SetShowDebugBorders (SetShowDebugBorders) , SetShowFpsCounter (SetShowFpsCounter) , SetShowGridOverlays (SetShowGridOverlays) , SetShowFlexOverlays (SetShowFlexOverlays) , SetShowScrollSnapOverlays (SetShowScrollSnapOverlays) , SetShowContainerQueryOverlays (SetShowContainerQueryOverlays) , SetShowInspectedElementAnchor (SetShowInspectedElementAnchor) , SetShowPaintRects (SetShowPaintRects) , SetShowLayoutShiftRegions (SetShowLayoutShiftRegions) , SetShowScrollBottleneckRects (SetShowScrollBottleneckRects) , SetShowViewportSizeOnResize (SetShowViewportSizeOnResize) , SetShowHinge (SetShowHinge) , SetShowIsolatedElements (SetShowIsolatedElements) , SetShowWindowControlsOverlay (SetShowWindowControlsOverlay) } + identifiable);