Skip to content

Commit c15d75e

Browse files
committed
DevTools Client - Upgrade to 132.0.6834.83
1 parent fc52c1e commit c15d75e

File tree

2 files changed

+385
-46
lines changed

2 files changed

+385
-46
lines changed

CefSharp.Core/DevTools/DevToolsClient.Generated.cs

+193-23
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
44
//
55
// **This code was generated by a tool, do not change directly**
6-
// CHROMIUM VERSION 131.0.6778.86
6+
// CHROMIUM VERSION 132.0.6834.83
77
using System.Runtime.Serialization;
88

99
namespace CefSharp.DevTools.Accessibility
@@ -476,6 +476,11 @@ public System.Collections.Generic.IList<CefSharp.DevTools.Accessibility.AXValueS
476476
/// </summary>
477477
public enum AXPropertyName
478478
{
479+
/// <summary>
480+
/// actions
481+
/// </summary>
482+
[EnumMember(Value = ("actions"))]
483+
Actions,
479484
/// <summary>
480485
/// busy
481486
/// </summary>
@@ -1454,7 +1459,17 @@ public enum CookieExclusionReason
14541459
/// ExcludeThirdPartyPhaseout
14551460
/// </summary>
14561461
[EnumMember(Value = ("ExcludeThirdPartyPhaseout"))]
1457-
ExcludeThirdPartyPhaseout
1462+
ExcludeThirdPartyPhaseout,
1463+
/// <summary>
1464+
/// ExcludePortMismatch
1465+
/// </summary>
1466+
[EnumMember(Value = ("ExcludePortMismatch"))]
1467+
ExcludePortMismatch,
1468+
/// <summary>
1469+
/// ExcludeSchemeMismatch
1470+
/// </summary>
1471+
[EnumMember(Value = ("ExcludeSchemeMismatch"))]
1472+
ExcludeSchemeMismatch
14581473
}
14591474

14601475
/// <summary>
@@ -6066,6 +6081,17 @@ internal string ruleTypes
60666081
get;
60676082
set;
60686083
}
6084+
6085+
/// <summary>
6086+
/// @starting-style CSS at-rule array.
6087+
/// The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
6088+
/// </summary>
6089+
[DataMember(Name = ("startingStyles"), IsRequired = (false))]
6090+
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSStartingStyle> StartingStyles
6091+
{
6092+
get;
6093+
set;
6094+
}
60696095
}
60706096

60716097
/// <summary>
@@ -6103,7 +6129,12 @@ public enum CSSRuleType
61036129
/// StyleRule
61046130
/// </summary>
61056131
[EnumMember(Value = ("StyleRule"))]
6106-
StyleRule
6132+
StyleRule,
6133+
/// <summary>
6134+
/// StartingStyleRule
6135+
/// </summary>
6136+
[EnumMember(Value = ("StartingStyleRule"))]
6137+
StartingStyleRule
61076138
}
61086139

61096140
/// <summary>
@@ -6723,6 +6754,16 @@ internal string logicalAxes
67236754
get;
67246755
set;
67256756
}
6757+
6758+
/// <summary>
6759+
/// true if the query contains scroll-state() queries.
6760+
/// </summary>
6761+
[DataMember(Name = ("queriesScrollState"), IsRequired = (false))]
6762+
public bool? QueriesScrollState
6763+
{
6764+
get;
6765+
set;
6766+
}
67266767
}
67276768

67286769
/// <summary>
@@ -6849,6 +6890,34 @@ public string StyleSheetId
68496890
}
68506891
}
68516892

6893+
/// <summary>
6894+
/// CSS Starting Style at-rule descriptor.
6895+
/// </summary>
6896+
[System.Runtime.Serialization.DataContractAttribute]
6897+
public partial class CSSStartingStyle : CefSharp.DevTools.DevToolsDomainEntityBase
6898+
{
6899+
/// <summary>
6900+
/// The associated rule header range in the enclosing stylesheet (if
6901+
/// available).
6902+
/// </summary>
6903+
[DataMember(Name = ("range"), IsRequired = (false))]
6904+
public CefSharp.DevTools.CSS.SourceRange Range
6905+
{
6906+
get;
6907+
set;
6908+
}
6909+
6910+
/// <summary>
6911+
/// Identifier of the stylesheet containing this object (if exists).
6912+
/// </summary>
6913+
[DataMember(Name = ("styleSheetId"), IsRequired = (false))]
6914+
public string StyleSheetId
6915+
{
6916+
get;
6917+
set;
6918+
}
6919+
}
6920+
68526921
/// <summary>
68536922
/// CSS Layer data.
68546923
/// </summary>
@@ -7598,6 +7667,23 @@ public string StyleSheetId
75987667
private set;
75997668
}
76007669
}
7670+
7671+
/// <summary>
7672+
/// computedStyleUpdated
7673+
/// </summary>
7674+
[System.Runtime.Serialization.DataContractAttribute]
7675+
public class ComputedStyleUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
7676+
{
7677+
/// <summary>
7678+
/// The node id that has updated computed styles.
7679+
/// </summary>
7680+
[DataMember(Name = ("nodeId"), IsRequired = (true))]
7681+
public int NodeId
7682+
{
7683+
get;
7684+
private set;
7685+
}
7686+
}
76017687
}
76027688

76037689
namespace CefSharp.DevTools.CacheStorage
@@ -7976,6 +8062,11 @@ public enum PseudoType
79768062
[EnumMember(Value = ("first-letter"))]
79778063
FirstLetter,
79788064
/// <summary>
8065+
/// check
8066+
/// </summary>
8067+
[EnumMember(Value = ("check"))]
8068+
Check,
8069+
/// <summary>
79798070
/// before
79808071
/// </summary>
79818072
[EnumMember(Value = ("before"))]
@@ -7986,6 +8077,11 @@ public enum PseudoType
79868077
[EnumMember(Value = ("after"))]
79878078
After,
79888079
/// <summary>
8080+
/// select-arrow
8081+
/// </summary>
8082+
[EnumMember(Value = ("select-arrow"))]
8083+
SelectArrow,
8084+
/// <summary>
79898085
/// marker
79908086
/// </summary>
79918087
[EnumMember(Value = ("marker"))]
@@ -8136,16 +8232,6 @@ public enum PseudoType
81368232
[EnumMember(Value = ("details-content"))]
81378233
DetailsContent,
81388234
/// <summary>
8139-
/// select-fallback-button
8140-
/// </summary>
8141-
[EnumMember(Value = ("select-fallback-button"))]
8142-
SelectFallbackButton,
8143-
/// <summary>
8144-
/// select-fallback-button-text
8145-
/// </summary>
8146-
[EnumMember(Value = ("select-fallback-button-text"))]
8147-
SelectFallbackButtonText,
8148-
/// <summary>
81498235
/// picker
81508236
/// </summary>
81518237
[EnumMember(Value = ("picker"))]
@@ -15507,6 +15593,7 @@ internal string type
1550715593

1550815594
/// <summary>
1550915595
/// Initiator JavaScript stack trace, set for Script only.
15596+
/// Requires the Debugger domain to be enabled.
1551015597
/// </summary>
1551115598
[DataMember(Name = ("stack"), IsRequired = (false))]
1551215599
public CefSharp.DevTools.Runtime.StackTrace Stack
@@ -16005,7 +16092,17 @@ public enum CookieBlockedReason
1600516092
/// NameValuePairExceedsMaxSize
1600616093
/// </summary>
1600716094
[EnumMember(Value = ("NameValuePairExceedsMaxSize"))]
16008-
NameValuePairExceedsMaxSize
16095+
NameValuePairExceedsMaxSize,
16096+
/// <summary>
16097+
/// PortMismatch
16098+
/// </summary>
16099+
[EnumMember(Value = ("PortMismatch"))]
16100+
PortMismatch,
16101+
/// <summary>
16102+
/// SchemeMismatch
16103+
/// </summary>
16104+
[EnumMember(Value = ("SchemeMismatch"))]
16105+
SchemeMismatch
1600916106
}
1601016107

1601116108
/// <summary>
@@ -21066,6 +21163,11 @@ public enum PermissionsPolicyFeature
2106621163
[EnumMember(Value = ("execution-while-not-rendered"))]
2106721164
ExecutionWhileNotRendered,
2106821165
/// <summary>
21166+
/// fenced-unpartitioned-storage-read
21167+
/// </summary>
21168+
[EnumMember(Value = ("fenced-unpartitioned-storage-read"))]
21169+
FencedUnpartitionedStorageRead,
21170+
/// <summary>
2106921171
/// focus-without-user-activation
2107021172
/// </summary>
2107121173
[EnumMember(Value = ("focus-without-user-activation"))]
@@ -25157,7 +25259,8 @@ public string DefaultPrompt
2515725259
}
2515825260

2515925261
/// <summary>
25160-
/// Fired for top level page lifecycle events such as navigation, load, paint, etc.
25262+
/// Fired for lifecycle events (navigation, load, paint, etc) in the current
25263+
/// target (including local frames).
2516125264
/// </summary>
2516225265
[System.Runtime.Serialization.DataContractAttribute]
2516325266
public class LifecycleEventEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
@@ -28144,6 +28247,16 @@ public CefSharp.DevTools.Storage.AttributionScopesData ScopesData
2814428247
get;
2814528248
set;
2814628249
}
28250+
28251+
/// <summary>
28252+
/// MaxEventLevelReports
28253+
/// </summary>
28254+
[DataMember(Name = ("maxEventLevelReports"), IsRequired = (true))]
28255+
public int MaxEventLevelReports
28256+
{
28257+
get;
28258+
set;
28259+
}
2814728260
}
2814828261

2814928262
/// <summary>
@@ -28727,6 +28840,11 @@ public enum AttributionReportingAggregatableResult
2872728840
[EnumMember(Value = ("insufficientBudget"))]
2872828841
InsufficientBudget,
2872928842
/// <summary>
28843+
/// insufficientNamedBudget
28844+
/// </summary>
28845+
[EnumMember(Value = ("insufficientNamedBudget"))]
28846+
InsufficientNamedBudget,
28847+
/// <summary>
2873028848
/// noMatchingSourceFilterData
2873128849
/// </summary>
2873228850
[EnumMember(Value = ("noMatchingSourceFilterData"))]
@@ -31177,7 +31295,12 @@ public enum ContextState
3117731295
/// closed
3117831296
/// </summary>
3117931297
[EnumMember(Value = ("closed"))]
31180-
Closed
31298+
Closed,
31299+
/// <summary>
31300+
/// interrupted
31301+
/// </summary>
31302+
[EnumMember(Value = ("interrupted"))]
31303+
Interrupted
3118131304
}
3118231305

3118331306
/// <summary>
@@ -41554,6 +41677,22 @@ public event System.EventHandler<StyleSheetRemovedEventArgs> StyleSheetRemoved
4155441677
}
4155541678
}
4155641679

41680+
/// <summary>
41681+
/// ComputedStyleUpdated
41682+
/// </summary>
41683+
public event System.EventHandler<ComputedStyleUpdatedEventArgs> ComputedStyleUpdated
41684+
{
41685+
add
41686+
{
41687+
_client.AddEventHandler<ComputedStyleUpdatedEventArgs>("CSS.computedStyleUpdated", value);
41688+
}
41689+
41690+
remove
41691+
{
41692+
_client.RemoveEventHandler<ComputedStyleUpdatedEventArgs>("CSS.computedStyleUpdated", value);
41693+
}
41694+
}
41695+
4155741696
partial void ValidateAddRule(string styleSheetId, string ruleText, CefSharp.DevTools.CSS.SourceRange location, int? nodeForPropertySyntaxValidation = null);
4155841697
/// <summary>
4155941698
/// Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
@@ -41775,6 +41914,29 @@ public System.Threading.Tasks.Task<GetLocationForSelectorResponse> GetLocationFo
4177541914
return _client.ExecuteDevToolsMethodAsync<GetLocationForSelectorResponse>("CSS.getLocationForSelector", dict);
4177641915
}
4177741916

41917+
partial void ValidateTrackComputedStyleUpdatesForNode(int? nodeId = null);
41918+
/// <summary>
41919+
/// Starts tracking the given node for the computed style updates
41920+
/// and whenever the computed style is updated for node, it queues
41921+
/// a `computedStyleUpdated` event with throttling.
41922+
/// There can only be 1 node tracked for computed style updates
41923+
/// so passing a new node id removes tracking from the previous node.
41924+
/// Pass `undefined` to disable tracking.
41925+
/// </summary>
41926+
/// <param name = "nodeId">nodeId</param>
41927+
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
41928+
public System.Threading.Tasks.Task<DevToolsMethodResponse> TrackComputedStyleUpdatesForNodeAsync(int? nodeId = null)
41929+
{
41930+
ValidateTrackComputedStyleUpdatesForNode(nodeId);
41931+
var dict = new System.Collections.Generic.Dictionary<string, object>();
41932+
if (nodeId.HasValue)
41933+
{
41934+
dict.Add("nodeId", nodeId.Value);
41935+
}
41936+
41937+
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("CSS.trackComputedStyleUpdatesForNode", dict);
41938+
}
41939+
4177841940
partial void ValidateTrackComputedStyleUpdates(System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSComputedStyleProperty> propertiesToTrack);
4177941941
/// <summary>
4178041942
/// Starts tracking the given computed styles for updates. The specified array of properties
@@ -44543,21 +44705,23 @@ public System.Threading.Tasks.Task<GetFrameOwnerResponse> GetFrameOwnerAsync(str
4454344705
return _client.ExecuteDevToolsMethodAsync<GetFrameOwnerResponse>("DOM.getFrameOwner", dict);
4454444706
}
4454544707

44546-
partial void ValidateGetContainerForNode(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null);
44708+
partial void ValidateGetContainerForNode(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null, bool? queriesScrollState = null);
4454744709
/// <summary>
4454844710
/// Returns the query container of the given node based on container query
44549-
/// conditions: containerName, physical, and logical axes. If no axes are
44550-
/// provided, the style container is returned, which is the direct parent or the
44551-
/// closest element with a matching container-name.
44711+
/// conditions: containerName, physical and logical axes, and whether it queries
44712+
/// scroll-state. If no axes are provided and queriesScrollState is false, the
44713+
/// style container is returned, which is the direct parent or the closest
44714+
/// element with a matching container-name.
4455244715
/// </summary>
4455344716
/// <param name = "nodeId">nodeId</param>
4455444717
/// <param name = "containerName">containerName</param>
4455544718
/// <param name = "physicalAxes">physicalAxes</param>
4455644719
/// <param name = "logicalAxes">logicalAxes</param>
44720+
/// <param name = "queriesScrollState">queriesScrollState</param>
4455744721
/// <returns>returns System.Threading.Tasks.Task&lt;GetContainerForNodeResponse&gt;</returns>
44558-
public System.Threading.Tasks.Task<GetContainerForNodeResponse> GetContainerForNodeAsync(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null)
44722+
public System.Threading.Tasks.Task<GetContainerForNodeResponse> GetContainerForNodeAsync(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null, bool? queriesScrollState = null)
4455944723
{
44560-
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes);
44724+
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes, queriesScrollState);
4456144725
var dict = new System.Collections.Generic.Dictionary<string, object>();
4456244726
dict.Add("nodeId", nodeId);
4456344727
if (!(string.IsNullOrEmpty(containerName)))
@@ -44575,6 +44739,11 @@ public System.Threading.Tasks.Task<GetContainerForNodeResponse> GetContainerForN
4457544739
dict.Add("logicalAxes", EnumToString(logicalAxes));
4457644740
}
4457744741

44742+
if (queriesScrollState.HasValue)
44743+
{
44744+
dict.Add("queriesScrollState", queriesScrollState.Value);
44745+
}
44746+
4457844747
return _client.ExecuteDevToolsMethodAsync<GetContainerForNodeResponse>("DOM.getContainerForNode", dict);
4457944748
}
4458044749

@@ -51811,7 +51980,8 @@ public event System.EventHandler<JavascriptDialogOpeningEventArgs> JavascriptDia
5181151980
}
5181251981

5181351982
/// <summary>
51814-
/// Fired for top level page lifecycle events such as navigation, load, paint, etc.
51983+
/// Fired for lifecycle events (navigation, load, paint, etc) in the current
51984+
/// target (including local frames).
5181551985
/// </summary>
5181651986
public event System.EventHandler<LifecycleEventEventArgs> LifecycleEvent
5181751987
{

0 commit comments

Comments
 (0)