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 96 .0.4664.55 
6+ // CHROMIUM VERSION 97 .0.4692.71 
77namespace CefSharp.DevTools.Accessibility
88{
99    /// <summary>
@@ -140,6 +140,11 @@ public enum AXValueSourceType
140140    /// </summary>
141141    public enum AXValueNativeSourceType
142142    {
143+         /// <summary>
144+         /// description
145+         /// </summary>
146+         [System.Runtime.Serialization.EnumMemberAttribute(Value = ("description"))]
147+         Description,
143148        /// <summary>
144149        /// figcaption
145150        /// </summary>
@@ -1961,7 +1966,12 @@ public enum ContentSecurityPolicyViolationType
19611966        /// kTrustedTypesPolicyViolation
19621967        /// </summary>
19631968        [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kTrustedTypesPolicyViolation"))]
1964-         KTrustedTypesPolicyViolation
1969+         KTrustedTypesPolicyViolation,
1970+         /// <summary>
1971+         /// kWasmEvalViolation
1972+         /// </summary>
1973+         [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kWasmEvalViolation"))]
1974+         KWasmEvalViolation
19651975    }
19661976
19671977    /// <summary>
@@ -2747,6 +2757,51 @@ public string FrameId
27472757        }
27482758    }
27492759
2760+     /// <summary>
2761+     /// This issue tracks information needed to print a deprecation message.
2762+     /// The formatting is inherited from the old console.log version, see more at:
2763+     /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
2764+     /// TODO(crbug.com/1264960): Re-work format to add i18n support per:
2765+     /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
2766+     /// </summary>
2767+     [System.Runtime.Serialization.DataContractAttribute]
2768+     public class DeprecationIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
2769+     {
2770+         /// <summary>
2771+         /// AffectedFrame
2772+         /// </summary>
2773+         [System.Runtime.Serialization.DataMemberAttribute(Name = ("affectedFrame"), IsRequired = (false))]
2774+         public CefSharp.DevTools.Audits.AffectedFrame AffectedFrame
2775+         {
2776+             get;
2777+             set;
2778+         }
2779+ 
2780+         /// <summary>
2781+         /// SourceCodeLocation
2782+         /// </summary>
2783+         [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceCodeLocation"), IsRequired = (true))]
2784+         public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation
2785+         {
2786+             get;
2787+             set;
2788+         }
2789+ 
2790+         /// <summary>
2791+         /// The content of the deprecation issue (this won't be translated),
2792+         /// e.g. "window.inefficientLegacyStorageMethod will be removed in M97,
2793+         /// around January 2022. Please use Web Storage or Indexed Database
2794+         /// instead. This standard was abandoned in January, 1970. See
2795+         /// https://www.chromestatus.com/feature/5684870116278272 for more details."
2796+         /// </summary>
2797+         [System.Runtime.Serialization.DataMemberAttribute(Name = ("message"), IsRequired = (false))]
2798+         public string Message
2799+         {
2800+             get;
2801+             set;
2802+         }
2803+     }
2804+ 
27502805    /// <summary>
27512806    /// A unique identifier for the type of issue. Each type may use one of the
27522807    /// optional fields in InspectorIssueDetails to convey more specific
@@ -2823,7 +2878,12 @@ public enum InspectorIssueCode
28232878        /// GenericIssue
28242879        /// </summary>
28252880        [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GenericIssue"))]
2826-         GenericIssue
2881+         GenericIssue,
2882+         /// <summary>
2883+         /// DeprecationIssue
2884+         /// </summary>
2885+         [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DeprecationIssue"))]
2886+         DeprecationIssue
28272887    }
28282888
28292889    /// <summary>
@@ -2973,6 +3033,16 @@ public CefSharp.DevTools.Audits.GenericIssueDetails GenericIssueDetails
29733033            get;
29743034            set;
29753035        }
3036+ 
3037+         /// <summary>
3038+         /// DeprecationIssueDetails
3039+         /// </summary>
3040+         [System.Runtime.Serialization.DataMemberAttribute(Name = ("deprecationIssueDetails"), IsRequired = (false))]
3041+         public CefSharp.DevTools.Audits.DeprecationIssueDetails DeprecationIssueDetails
3042+         {
3043+             get;
3044+             set;
3045+         }
29763046    }
29773047
29783048    /// <summary>
@@ -10914,7 +10984,8 @@ public string LogId
1091410984        }
1091510985
1091610986        /// <summary>
10917-         /// Issuance date.
10987+         /// Issuance date. Unlike TimeSinceEpoch, this contains the number of
10988+         /// milliseconds since January 1, 1970, UTC, not the number of seconds.
1091810989        /// </summary>
1091910990        [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))]
1092010991        public double Timestamp
@@ -14468,6 +14539,18 @@ public CefSharp.DevTools.Network.Initiator Initiator
1446814539            private set;
1446914540        }
1447014541
14542+         /// <summary>
14543+         /// In the case that redirectResponse is populated, this flag indicates whether
14544+         /// requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
14545+         /// for the request which was just redirected.
14546+         /// </summary>
14547+         [System.Runtime.Serialization.DataMemberAttribute(Name = ("redirectHasExtraInfo"), IsRequired = (true))]
14548+         public bool RedirectHasExtraInfo
14549+         {
14550+             get;
14551+             private set;
14552+         }
14553+ 
1447114554        /// <summary>
1447214555        /// Redirect response data.
1447314556        /// </summary>
@@ -14677,6 +14760,17 @@ public CefSharp.DevTools.Network.Response Response
1467714760            private set;
1467814761        }
1467914762
14763+         /// <summary>
14764+         /// Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
14765+         /// or were emitted for this request.
14766+         /// </summary>
14767+         [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasExtraInfo"), IsRequired = (true))]
14768+         public bool HasExtraInfo
14769+         {
14770+             get;
14771+             private set;
14772+         }
14773+ 
1468014774        /// <summary>
1468114775        /// Frame identifier.
1468214776        /// </summary>
@@ -17030,6 +17124,11 @@ public enum PermissionsPolicyFeature
1703017124        [System.Runtime.Serialization.EnumMemberAttribute(Value = ("interest-cohort"))]
1703117125        InterestCohort,
1703217126        /// <summary>
17127+         /// keyboard-map
17128+         /// </summary>
17129+         [System.Runtime.Serialization.EnumMemberAttribute(Value = ("keyboard-map"))]
17130+         KeyboardMap,
17131+         /// <summary>
1703317132        /// magnetometer
1703417133        /// </summary>
1703517134        [System.Runtime.Serialization.EnumMemberAttribute(Value = ("magnetometer"))]
@@ -19260,10 +19359,10 @@ public enum BackForwardCacheNotRestoredReason
1926019359        [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentMediaSessionService"))]
1926119360        ContentMediaSessionService,
1926219361        /// <summary>
19263-         /// ContentMediaPlay 
19362+         /// ContentScreenReader 
1926419363        /// </summary>
19265-         [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentMediaPlay "))]
19266-         ContentMediaPlay ,
19364+         [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentScreenReader "))]
19365+         ContentScreenReader ,
1926719366        /// <summary>
1926819367        /// EmbedderPopupBlockerTabHelper
1926919368        /// </summary>
@@ -21375,8 +21474,8 @@ public bool SchemeIsCryptographic
2137521474        }
2137621475
2137721476        /// <summary>
21378-         /// List  of explanations for the security state. If the overall security state is `insecure` or 
21379-         /// `warning`, at least one corresponding explanation should be included .
21477+         /// Previously a list  of explanations for the security state. Now always 
21478+         /// empty .
2138021479        /// </summary>
2138121480        [System.Runtime.Serialization.DataMemberAttribute(Name = ("explanations"), IsRequired = (true))]
2138221481        public System.Collections.Generic.IList<CefSharp.DevTools.Security.SecurityStateExplanation> Explanations
@@ -21396,7 +21495,7 @@ public CefSharp.DevTools.Security.InsecureContentStatus InsecureContentStatus
2139621495        }
2139721496
2139821497        /// <summary>
21399-         /// Overrides user-visible description of the state.
21498+         /// Overrides user-visible description of the state. Always omitted. 
2140021499        /// </summary>
2140121500        [System.Runtime.Serialization.DataMemberAttribute(Name = ("summary"), IsRequired = (false))]
2140221501        public string Summary
@@ -33925,6 +34024,58 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> SetXHRBreakpointAsync
3392534024    }
3392634025}
3392734026
34027+ namespace CefSharp.DevTools.EventBreakpoints
34028+ {
34029+     using System.Linq;
34030+ 
34031+     /// <summary>
34032+     /// EventBreakpoints permits setting breakpoints on particular operations and
34033+     /// events in targets that run JavaScript but do not have a DOM.
34034+     /// JavaScript execution will stop on these operations as if there was a regular
34035+     /// breakpoint set.
34036+     /// </summary>
34037+     public partial class EventBreakpointsClient : DevToolsDomainBase
34038+     {
34039+         private CefSharp.DevTools.IDevToolsClient _client;
34040+         /// <summary>
34041+         /// EventBreakpoints
34042+         /// </summary>
34043+         /// <param name = "client">DevToolsClient</param>
34044+         public EventBreakpointsClient(CefSharp.DevTools.IDevToolsClient client)
34045+         {
34046+             _client = (client);
34047+         }
34048+ 
34049+         partial void ValidateSetInstrumentationBreakpoint(string eventName);
34050+         /// <summary>
34051+         /// Sets breakpoint on particular native event.
34052+         /// </summary>
34053+         /// <param name = "eventName">Instrumentation name to stop on.</param>
34054+         /// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
34055+         public System.Threading.Tasks.Task<DevToolsMethodResponse> SetInstrumentationBreakpointAsync(string eventName)
34056+         {
34057+             ValidateSetInstrumentationBreakpoint(eventName);
34058+             var dict = new System.Collections.Generic.Dictionary<string, object>();
34059+             dict.Add("eventName", eventName);
34060+             return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("EventBreakpoints.setInstrumentationBreakpoint", dict);
34061+         }
34062+ 
34063+         partial void ValidateRemoveInstrumentationBreakpoint(string eventName);
34064+         /// <summary>
34065+         /// Removes breakpoint on particular native event.
34066+         /// </summary>
34067+         /// <param name = "eventName">Instrumentation name to stop on.</param>
34068+         /// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
34069+         public System.Threading.Tasks.Task<DevToolsMethodResponse> RemoveInstrumentationBreakpointAsync(string eventName)
34070+         {
34071+             ValidateRemoveInstrumentationBreakpoint(eventName);
34072+             var dict = new System.Collections.Generic.Dictionary<string, object>();
34073+             dict.Add("eventName", eventName);
34074+             return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("EventBreakpoints.removeInstrumentationBreakpoint", dict);
34075+         }
34076+     }
34077+ }
34078+ 
3392834079namespace CefSharp.DevTools.DOMSnapshot
3392934080{
3393034081    /// <summary>
@@ -40160,6 +40311,28 @@ public enum SetWebLifecycleStateState
4016040311        Active
4016140312    }
4016240313
40314+     /// <summary>
40315+     /// SetSPCTransactionModeMode
40316+     /// </summary>
40317+     public enum SetSPCTransactionModeMode
40318+     {
40319+         /// <summary>
40320+         /// none
40321+         /// </summary>
40322+         [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))]
40323+         None,
40324+         /// <summary>
40325+         /// autoaccept
40326+         /// </summary>
40327+         [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoaccept"))]
40328+         Autoaccept,
40329+         /// <summary>
40330+         /// autoreject
40331+         /// </summary>
40332+         [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoreject"))]
40333+         Autoreject
40334+     }
40335+ 
4016340336    /// <summary>
4016440337    /// Actions and events related to the inspected page belong to the page domain.
4016540338    /// </summary>
@@ -41259,29 +41432,11 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> StopScreencastAsync()
4125941432            return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Page.stopScreencast", dict);
4126041433        }
4126141434
41262-         partial void ValidateSetProduceCompilationCache(bool enabled);
41263-         /// <summary>
41264-         /// Forces compilation cache to be generated for every subresource script.
41265-         /// See also: `Page.produceCompilationCache`.
41266-         /// </summary>
41267-         /// <param name = "enabled">enabled</param>
41268-         /// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
41269-         public System.Threading.Tasks.Task<DevToolsMethodResponse> SetProduceCompilationCacheAsync(bool enabled)
41270-         {
41271-             ValidateSetProduceCompilationCache(enabled);
41272-             var dict = new System.Collections.Generic.Dictionary<string, object>();
41273-             dict.Add("enabled", enabled);
41274-             return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Page.setProduceCompilationCache", dict);
41275-         }
41276- 
4127741435        partial void ValidateProduceCompilationCache(System.Collections.Generic.IList<CefSharp.DevTools.Page.CompilationCacheParams> scripts);
4127841436        /// <summary>
4127941437        /// Requests backend to produce compilation cache for the specified scripts.
41280-         /// Unlike setProduceCompilationCache, this allows client to only produce cache
41281-         /// for specific scripts. `scripts` are appeneded to the list of scripts
41282-         /// for which the cache for would produced. Disabling compilation cache with
41283-         /// `setProduceCompilationCache` would reset all pending cache requests.
41284-         /// The list may also be reset during page navigation.
41438+         /// `scripts` are appeneded to the list of scripts for which the cache
41439+         /// would be produced. The list may be reset during page navigation.
4128541440        /// When script with a matching URL is encountered, the cache is optionally
4128641441        /// produced upon backend discretion, based on internal heuristics.
4128741442        /// See also: `Page.compilationCacheProduced`.
@@ -41323,6 +41478,21 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> ClearCompilationCache
4132341478            return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Page.clearCompilationCache", dict);
4132441479        }
4132541480
41481+         partial void ValidateSetSPCTransactionMode(CefSharp.DevTools.Page.SetSPCTransactionModeMode mode);
41482+         /// <summary>
41483+         /// Sets the Secure Payment Confirmation transaction mode.
41484+         /// https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
41485+         /// </summary>
41486+         /// <param name = "mode">mode</param>
41487+         /// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
41488+         public System.Threading.Tasks.Task<DevToolsMethodResponse> SetSPCTransactionModeAsync(CefSharp.DevTools.Page.SetSPCTransactionModeMode mode)
41489+         {
41490+             ValidateSetSPCTransactionMode(mode);
41491+             var dict = new System.Collections.Generic.Dictionary<string, object>();
41492+             dict.Add("mode", EnumToString(mode));
41493+             return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Page.setSPCTransactionMode", dict);
41494+         }
41495+ 
4132641496        partial void ValidateGenerateTestReport(string message, string group = null);
4132741497        /// <summary>
4132841498        /// Generates a report for testing.
@@ -47822,6 +47992,26 @@ public CefSharp.DevTools.DOMDebugger.DOMDebuggerClient DOMDebugger
4782247992            }
4782347993        }
4782447994
47995+         private CefSharp.DevTools.EventBreakpoints.EventBreakpointsClient _EventBreakpoints;
47996+         /// <summary>
47997+         /// EventBreakpoints permits setting breakpoints on particular operations and
47998+         /// events in targets that run JavaScript but do not have a DOM.
47999+         /// JavaScript execution will stop on these operations as if there was a regular
48000+         /// breakpoint set.
48001+         /// </summary>
48002+         public CefSharp.DevTools.EventBreakpoints.EventBreakpointsClient EventBreakpoints
48003+         {
48004+             get
48005+             {
48006+                 if ((_EventBreakpoints) == (null))
48007+                 {
48008+                     _EventBreakpoints = (new CefSharp.DevTools.EventBreakpoints.EventBreakpointsClient(this));
48009+                 }
48010+ 
48011+                 return _EventBreakpoints;
48012+             }
48013+         }
48014+ 
4782548015        private CefSharp.DevTools.DOMSnapshot.DOMSnapshotClient _DOMSnapshot;
4782648016        /// <summary>
4782748017        /// This domain facilitates obtaining document snapshots with DOM, layout, and style information.
0 commit comments