3
3
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
4
4
//
5
5
// **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
7
7
namespace CefSharp.DevTools.Accessibility
8
8
{
9
9
/// <summary>
@@ -140,6 +140,11 @@ public enum AXValueSourceType
140
140
/// </summary>
141
141
public enum AXValueNativeSourceType
142
142
{
143
+ /// <summary>
144
+ /// description
145
+ /// </summary>
146
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("description"))]
147
+ Description,
143
148
/// <summary>
144
149
/// figcaption
145
150
/// </summary>
@@ -1961,7 +1966,12 @@ public enum ContentSecurityPolicyViolationType
1961
1966
/// kTrustedTypesPolicyViolation
1962
1967
/// </summary>
1963
1968
[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
1965
1975
}
1966
1976
1967
1977
/// <summary>
@@ -2747,6 +2757,51 @@ public string FrameId
2747
2757
}
2748
2758
}
2749
2759
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
+
2750
2805
/// <summary>
2751
2806
/// A unique identifier for the type of issue. Each type may use one of the
2752
2807
/// optional fields in InspectorIssueDetails to convey more specific
@@ -2823,7 +2878,12 @@ public enum InspectorIssueCode
2823
2878
/// GenericIssue
2824
2879
/// </summary>
2825
2880
[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
2827
2887
}
2828
2888
2829
2889
/// <summary>
@@ -2973,6 +3033,16 @@ public CefSharp.DevTools.Audits.GenericIssueDetails GenericIssueDetails
2973
3033
get;
2974
3034
set;
2975
3035
}
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
+ }
2976
3046
}
2977
3047
2978
3048
/// <summary>
@@ -10914,7 +10984,8 @@ public string LogId
10914
10984
}
10915
10985
10916
10986
/// <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.
10918
10989
/// </summary>
10919
10990
[System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))]
10920
10991
public double Timestamp
@@ -14468,6 +14539,18 @@ public CefSharp.DevTools.Network.Initiator Initiator
14468
14539
private set;
14469
14540
}
14470
14541
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
+
14471
14554
/// <summary>
14472
14555
/// Redirect response data.
14473
14556
/// </summary>
@@ -14677,6 +14760,17 @@ public CefSharp.DevTools.Network.Response Response
14677
14760
private set;
14678
14761
}
14679
14762
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
+
14680
14774
/// <summary>
14681
14775
/// Frame identifier.
14682
14776
/// </summary>
@@ -17030,6 +17124,11 @@ public enum PermissionsPolicyFeature
17030
17124
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("interest-cohort"))]
17031
17125
InterestCohort,
17032
17126
/// <summary>
17127
+ /// keyboard-map
17128
+ /// </summary>
17129
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("keyboard-map"))]
17130
+ KeyboardMap,
17131
+ /// <summary>
17033
17132
/// magnetometer
17034
17133
/// </summary>
17035
17134
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("magnetometer"))]
@@ -19260,10 +19359,10 @@ public enum BackForwardCacheNotRestoredReason
19260
19359
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentMediaSessionService"))]
19261
19360
ContentMediaSessionService,
19262
19361
/// <summary>
19263
- /// ContentMediaPlay
19362
+ /// ContentScreenReader
19264
19363
/// </summary>
19265
- [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentMediaPlay "))]
19266
- ContentMediaPlay ,
19364
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentScreenReader "))]
19365
+ ContentScreenReader ,
19267
19366
/// <summary>
19268
19367
/// EmbedderPopupBlockerTabHelper
19269
19368
/// </summary>
@@ -21375,8 +21474,8 @@ public bool SchemeIsCryptographic
21375
21474
}
21376
21475
21377
21476
/// <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 .
21380
21479
/// </summary>
21381
21480
[System.Runtime.Serialization.DataMemberAttribute(Name = ("explanations"), IsRequired = (true))]
21382
21481
public System.Collections.Generic.IList<CefSharp.DevTools.Security.SecurityStateExplanation> Explanations
@@ -21396,7 +21495,7 @@ public CefSharp.DevTools.Security.InsecureContentStatus InsecureContentStatus
21396
21495
}
21397
21496
21398
21497
/// <summary>
21399
- /// Overrides user-visible description of the state.
21498
+ /// Overrides user-visible description of the state. Always omitted.
21400
21499
/// </summary>
21401
21500
[System.Runtime.Serialization.DataMemberAttribute(Name = ("summary"), IsRequired = (false))]
21402
21501
public string Summary
@@ -33925,6 +34024,58 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> SetXHRBreakpointAsync
33925
34024
}
33926
34025
}
33927
34026
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
+
33928
34079
namespace CefSharp.DevTools.DOMSnapshot
33929
34080
{
33930
34081
/// <summary>
@@ -40160,6 +40311,28 @@ public enum SetWebLifecycleStateState
40160
40311
Active
40161
40312
}
40162
40313
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
+
40163
40336
/// <summary>
40164
40337
/// Actions and events related to the inspected page belong to the page domain.
40165
40338
/// </summary>
@@ -41259,29 +41432,11 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> StopScreencastAsync()
41259
41432
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Page.stopScreencast", dict);
41260
41433
}
41261
41434
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
-
41277
41435
partial void ValidateProduceCompilationCache(System.Collections.Generic.IList<CefSharp.DevTools.Page.CompilationCacheParams> scripts);
41278
41436
/// <summary>
41279
41437
/// 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.
41285
41440
/// When script with a matching URL is encountered, the cache is optionally
41286
41441
/// produced upon backend discretion, based on internal heuristics.
41287
41442
/// See also: `Page.compilationCacheProduced`.
@@ -41323,6 +41478,21 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> ClearCompilationCache
41323
41478
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Page.clearCompilationCache", dict);
41324
41479
}
41325
41480
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
+
41326
41496
partial void ValidateGenerateTestReport(string message, string group = null);
41327
41497
/// <summary>
41328
41498
/// Generates a report for testing.
@@ -47822,6 +47992,26 @@ public CefSharp.DevTools.DOMDebugger.DOMDebuggerClient DOMDebugger
47822
47992
}
47823
47993
}
47824
47994
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
+
47825
48015
private CefSharp.DevTools.DOMSnapshot.DOMSnapshotClient _DOMSnapshot;
47826
48016
/// <summary>
47827
48017
/// This domain facilitates obtaining document snapshots with DOM, layout, and style information.
0 commit comments