diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs
index 4110f7398..87c100111 100644
--- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs
+++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs
@@ -3,7 +3,7 @@
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
//
// **This code was generated by a tool, do not change directly**
-// CHROMIUM VERSION 124.0.6367.60
+// CHROMIUM VERSION 125.0.6422.142
using System.Runtime.Serialization;
namespace CefSharp.DevTools.Accessibility
@@ -1298,6 +1298,23 @@ namespace CefSharp.DevTools.Animation
private set;
}
}
+
+ ///
+ /// Event for animation that has been updated.
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class AnimationUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Animation that was updated.
+ ///
+ [DataMember(Name = ("animation"), IsRequired = (true))]
+ public CefSharp.DevTools.Animation.Animation Animation
+ {
+ get;
+ private set;
+ }
+ }
}
namespace CefSharp.DevTools.Audits
@@ -3290,7 +3307,17 @@ namespace CefSharp.DevTools.Audits
/// NotSignedInWithIdp
///
[EnumMember(Value = ("NotSignedInWithIdp"))]
- NotSignedInWithIdp
+ NotSignedInWithIdp,
+ ///
+ /// MissingTransientUserActivation
+ ///
+ [EnumMember(Value = ("MissingTransientUserActivation"))]
+ MissingTransientUserActivation,
+ ///
+ /// ReplacedByButtonMode
+ ///
+ [EnumMember(Value = ("ReplacedByButtonMode"))]
+ ReplacedByButtonMode
}
///
@@ -7695,6 +7722,16 @@ namespace CefSharp.DevTools.DOM
[EnumMember(Value = ("first-line-inherited"))]
FirstLineInherited,
///
+ /// scroll-marker
+ ///
+ [EnumMember(Value = ("scroll-marker"))]
+ ScrollMarker,
+ ///
+ /// scroll-markers
+ ///
+ [EnumMember(Value = ("scroll-markers"))]
+ ScrollMarkers,
+ ///
/// scrollbar
///
[EnumMember(Value = ("scrollbar"))]
@@ -14371,6 +14408,16 @@ namespace CefSharp.DevTools.Network
set;
}
+ ///
+ /// Specifies that the request was served from the prefetch cache.
+ ///
+ [DataMember(Name = ("fromEarlyHints"), IsRequired = (false))]
+ public bool? FromEarlyHints
+ {
+ get;
+ set;
+ }
+
///
/// Information about how Service Worker Static Router was used.
///
@@ -15391,6 +15438,16 @@ namespace CefSharp.DevTools.Network
set;
}
+ ///
+ /// The string representing this individual cookie as it would appear in the header.
+ ///
+ [DataMember(Name = ("cookieLine"), IsRequired = (true))]
+ public string CookieLine
+ {
+ get;
+ set;
+ }
+
///
/// The cookie object representing the cookie.
///
@@ -18299,6 +18356,35 @@ namespace CefSharp.DevTools.Network
}
}
+ ///
+ /// Fired when 103 Early Hints headers is received in addition to the common response.
+ /// Not every responseReceived event will have an responseReceivedEarlyHints fired.
+ /// Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class ResponseReceivedEarlyHintsEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier. Used to match this information to another responseReceived event.
+ ///
+ [DataMember(Name = ("requestId"), IsRequired = (true))]
+ public string RequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Raw response headers as they were received over the wire.
+ ///
+ [DataMember(Name = ("headers"), IsRequired = (true))]
+ public CefSharp.DevTools.Network.Headers Headers
+ {
+ get;
+ private set;
+ }
+ }
+
///
/// Detailed success or error status of the operation.
/// 'AlreadyExists' also signifies a successful operation, as the result
@@ -22075,6 +22161,609 @@ namespace CefSharp.DevTools.Page
}
}
+ ///
+ /// FileFilter
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class FileFilter : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Name
+ ///
+ [DataMember(Name = ("name"), IsRequired = (false))]
+ public string Name
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Accepts
+ ///
+ [DataMember(Name = ("accepts"), IsRequired = (false))]
+ public string[] Accepts
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// FileHandler
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class FileHandler : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Action
+ ///
+ [DataMember(Name = ("action"), IsRequired = (true))]
+ public string Action
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Name
+ ///
+ [DataMember(Name = ("name"), IsRequired = (true))]
+ public string Name
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Icons
+ ///
+ [DataMember(Name = ("icons"), IsRequired = (false))]
+ public System.Collections.Generic.IList Icons
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Mimic a map, name is the key, accepts is the value.
+ ///
+ [DataMember(Name = ("accepts"), IsRequired = (false))]
+ public System.Collections.Generic.IList Accepts
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Won't repeat the enums, using string for easy comparison. Same as the
+ /// other enums below.
+ ///
+ [DataMember(Name = ("launchType"), IsRequired = (true))]
+ public string LaunchType
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// The image definition used in both icon and screenshot.
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class ImageResource : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// The src field in the definition, but changing to url in favor of
+ /// consistency.
+ ///
+ [DataMember(Name = ("url"), IsRequired = (true))]
+ public string Url
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Sizes
+ ///
+ [DataMember(Name = ("sizes"), IsRequired = (false))]
+ public string Sizes
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Type
+ ///
+ [DataMember(Name = ("type"), IsRequired = (false))]
+ public string Type
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// LaunchHandler
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class LaunchHandler : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// ClientMode
+ ///
+ [DataMember(Name = ("clientMode"), IsRequired = (true))]
+ public string ClientMode
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// ProtocolHandler
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class ProtocolHandler : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Protocol
+ ///
+ [DataMember(Name = ("protocol"), IsRequired = (true))]
+ public string Protocol
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Url
+ ///
+ [DataMember(Name = ("url"), IsRequired = (true))]
+ public string Url
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// RelatedApplication
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class RelatedApplication : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Id
+ ///
+ [DataMember(Name = ("id"), IsRequired = (false))]
+ public string Id
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Url
+ ///
+ [DataMember(Name = ("url"), IsRequired = (true))]
+ public string Url
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// ScopeExtension
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class ScopeExtension : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Instead of using tuple, this field always returns the serialized string
+ /// for easy understanding and comparison.
+ ///
+ [DataMember(Name = ("origin"), IsRequired = (true))]
+ public string Origin
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// HasOriginWildcard
+ ///
+ [DataMember(Name = ("hasOriginWildcard"), IsRequired = (true))]
+ public bool HasOriginWildcard
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// Screenshot
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class Screenshot : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Image
+ ///
+ [DataMember(Name = ("image"), IsRequired = (true))]
+ public CefSharp.DevTools.Page.ImageResource Image
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// FormFactor
+ ///
+ [DataMember(Name = ("formFactor"), IsRequired = (true))]
+ public string FormFactor
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Label
+ ///
+ [DataMember(Name = ("label"), IsRequired = (false))]
+ public string Label
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// ShareTarget
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class ShareTarget : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Action
+ ///
+ [DataMember(Name = ("action"), IsRequired = (true))]
+ public string Action
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Method
+ ///
+ [DataMember(Name = ("method"), IsRequired = (true))]
+ public string Method
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Enctype
+ ///
+ [DataMember(Name = ("enctype"), IsRequired = (true))]
+ public string Enctype
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Embed the ShareTargetParams
+ ///
+ [DataMember(Name = ("title"), IsRequired = (false))]
+ public string Title
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Text
+ ///
+ [DataMember(Name = ("text"), IsRequired = (false))]
+ public string Text
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Url
+ ///
+ [DataMember(Name = ("url"), IsRequired = (false))]
+ public string Url
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Files
+ ///
+ [DataMember(Name = ("files"), IsRequired = (false))]
+ public System.Collections.Generic.IList Files
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// Shortcut
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class Shortcut : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Name
+ ///
+ [DataMember(Name = ("name"), IsRequired = (true))]
+ public string Name
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Url
+ ///
+ [DataMember(Name = ("url"), IsRequired = (true))]
+ public string Url
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// WebAppManifest
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class WebAppManifest : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// BackgroundColor
+ ///
+ [DataMember(Name = ("backgroundColor"), IsRequired = (false))]
+ public string BackgroundColor
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The extra description provided by the manifest.
+ ///
+ [DataMember(Name = ("description"), IsRequired = (false))]
+ public string Description
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Dir
+ ///
+ [DataMember(Name = ("dir"), IsRequired = (false))]
+ public string Dir
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Display
+ ///
+ [DataMember(Name = ("display"), IsRequired = (false))]
+ public string Display
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The overrided display mode controlled by the user.
+ ///
+ [DataMember(Name = ("displayOverrides"), IsRequired = (false))]
+ public string[] DisplayOverrides
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The handlers to open files.
+ ///
+ [DataMember(Name = ("fileHandlers"), IsRequired = (false))]
+ public System.Collections.Generic.IList FileHandlers
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Icons
+ ///
+ [DataMember(Name = ("icons"), IsRequired = (false))]
+ public System.Collections.Generic.IList Icons
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Id
+ ///
+ [DataMember(Name = ("id"), IsRequired = (false))]
+ public string Id
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Lang
+ ///
+ [DataMember(Name = ("lang"), IsRequired = (false))]
+ public string Lang
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// TODO(crbug.com/1231886): This field is non-standard and part of a Chrome
+ /// experiment. See:
+ /// https://github.com/WICG/web-app-launch/blob/main/launch_handler.md
+ ///
+ [DataMember(Name = ("launchHandler"), IsRequired = (false))]
+ public CefSharp.DevTools.Page.LaunchHandler LaunchHandler
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Name
+ ///
+ [DataMember(Name = ("name"), IsRequired = (false))]
+ public string Name
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Orientation
+ ///
+ [DataMember(Name = ("orientation"), IsRequired = (false))]
+ public string Orientation
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// PreferRelatedApplications
+ ///
+ [DataMember(Name = ("preferRelatedApplications"), IsRequired = (false))]
+ public bool? PreferRelatedApplications
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The handlers to open protocols.
+ ///
+ [DataMember(Name = ("protocolHandlers"), IsRequired = (false))]
+ public System.Collections.Generic.IList ProtocolHandlers
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// RelatedApplications
+ ///
+ [DataMember(Name = ("relatedApplications"), IsRequired = (false))]
+ public System.Collections.Generic.IList RelatedApplications
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Scope
+ ///
+ [DataMember(Name = ("scope"), IsRequired = (false))]
+ public string Scope
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Non-standard, see
+ /// https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.md
+ ///
+ [DataMember(Name = ("scopeExtensions"), IsRequired = (false))]
+ public System.Collections.Generic.IList ScopeExtensions
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The screenshots used by chromium.
+ ///
+ [DataMember(Name = ("screenshots"), IsRequired = (false))]
+ public System.Collections.Generic.IList Screenshots
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// ShareTarget
+ ///
+ [DataMember(Name = ("shareTarget"), IsRequired = (false))]
+ public CefSharp.DevTools.Page.ShareTarget ShareTarget
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// ShortName
+ ///
+ [DataMember(Name = ("shortName"), IsRequired = (false))]
+ public string ShortName
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Shortcuts
+ ///
+ [DataMember(Name = ("shortcuts"), IsRequired = (false))]
+ public System.Collections.Generic.IList Shortcuts
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// StartUrl
+ ///
+ [DataMember(Name = ("startUrl"), IsRequired = (false))]
+ public string StartUrl
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// ThemeColor
+ ///
+ [DataMember(Name = ("themeColor"), IsRequired = (false))]
+ public string ThemeColor
+ {
+ get;
+ set;
+ }
+ }
+
///
/// Enum of possible auto-response for permission / prompt dialogs.
///
@@ -26502,7 +27191,12 @@ namespace CefSharp.DevTools.Storage
/// exceedsMaxChannelCapacity
///
[EnumMember(Value = ("exceedsMaxChannelCapacity"))]
- ExceedsMaxChannelCapacity
+ ExceedsMaxChannelCapacity,
+ ///
+ /// exceedsMaxTriggerStateCardinality
+ ///
+ [EnumMember(Value = ("exceedsMaxTriggerStateCardinality"))]
+ ExceedsMaxTriggerStateCardinality
}
///
@@ -32612,6 +33306,75 @@ namespace CefSharp.DevTools.FedCm
}
}
+namespace CefSharp.DevTools.PWA
+{
+ ///
+ /// The following types are the replica of
+ /// https://crsrc.org/c/chrome/browser/web_applications/proto/web_app_os_integration_state.proto;drc=9910d3be894c8f142c977ba1023f30a656bc13fc;l=67
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class FileHandlerAccept : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// New name of the mimetype according to
+ /// https://www.iana.org/assignments/media-types/media-types.xhtml
+ ///
+ [DataMember(Name = ("mediaType"), IsRequired = (true))]
+ public string MediaType
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// FileExtensions
+ ///
+ [DataMember(Name = ("fileExtensions"), IsRequired = (true))]
+ public string[] FileExtensions
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// FileHandler
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public partial class FileHandler : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Action
+ ///
+ [DataMember(Name = ("action"), IsRequired = (true))]
+ public string Action
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Accepts
+ ///
+ [DataMember(Name = ("accepts"), IsRequired = (true))]
+ public System.Collections.Generic.IList Accepts
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// DisplayName
+ ///
+ [DataMember(Name = ("displayName"), IsRequired = (true))]
+ public string DisplayName
+ {
+ get;
+ set;
+ }
+ }
+}
+
namespace CefSharp.DevTools.Debugger
{
///
@@ -36954,6 +37717,22 @@ namespace CefSharp.DevTools.Animation
}
}
+ ///
+ /// Event for animation that has been updated.
+ ///
+ public event System.EventHandler AnimationUpdated
+ {
+ add
+ {
+ _client.AddEventHandler("Animation.animationUpdated", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Animation.animationUpdated", value);
+ }
+ }
+
///
/// Disables animation domain notifications.
///
@@ -43225,7 +44004,7 @@ namespace CefSharp.DevTools.Emulation
/// Screen orientation override.
/// If set, the visible area of the page will be overridden to this viewport. This viewportchange is not observed by the page, e.g. viewport-relative elements do not change positions.
/// If set, the display feature of a multi-segment screen. If not set, multi-segment supportis turned-off.
- /// If set, the posture of a foldable device. If not set the posture is setto continuous.
+ /// If set, the posture of a foldable device. If not set the posture is setto continuous.Deprecated, use Emulation.setDevicePostureOverride.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public System.Threading.Tasks.Task SetDeviceMetricsOverrideAsync(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null, CefSharp.DevTools.Emulation.DevicePosture devicePosture = null)
{
@@ -43288,6 +44067,34 @@ namespace CefSharp.DevTools.Emulation
return _client.ExecuteDevToolsMethodAsync("Emulation.setDeviceMetricsOverride", dict);
}
+ partial void ValidateSetDevicePostureOverride(CefSharp.DevTools.Emulation.DevicePosture posture);
+ ///
+ /// Start reporting the given posture value to the Device Posture API.
+ /// This override can also be set in setDeviceMetricsOverride().
+ ///
+ /// posture
+ /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
+ public System.Threading.Tasks.Task SetDevicePostureOverrideAsync(CefSharp.DevTools.Emulation.DevicePosture posture)
+ {
+ ValidateSetDevicePostureOverride(posture);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("posture", posture.ToDictionary());
+ return _client.ExecuteDevToolsMethodAsync("Emulation.setDevicePostureOverride", dict);
+ }
+
+ ///
+ /// Clears a device posture override set with either setDeviceMetricsOverride()
+ /// or setDevicePostureOverride() and starts using posture information from the
+ /// platform again.
+ /// Does nothing if no override is set.
+ ///
+ /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
+ public System.Threading.Tasks.Task ClearDevicePostureOverrideAsync()
+ {
+ System.Collections.Generic.Dictionary dict = null;
+ return _client.ExecuteDevToolsMethodAsync("Emulation.clearDevicePostureOverride", dict);
+ }
+
partial void ValidateSetScrollbarsHidden(bool hidden);
///
/// SetScrollbarsHidden
@@ -46672,6 +47479,24 @@ namespace CefSharp.DevTools.Network
}
}
+ ///
+ /// Fired when 103 Early Hints headers is received in addition to the common response.
+ /// Not every responseReceived event will have an responseReceivedEarlyHints fired.
+ /// Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
+ ///
+ public event System.EventHandler ResponseReceivedEarlyHints
+ {
+ add
+ {
+ _client.AddEventHandler("Network.responseReceivedEarlyHints", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.responseReceivedEarlyHints", value);
+ }
+ }
+
///
/// Fired exactly once for each Trust Token operation. Depending on
/// the type of the operation and whether the operation succeeded or
@@ -48228,6 +49053,24 @@ namespace CefSharp.DevTools.Page
return parsed;
}
}
+
+ [DataMember]
+ internal CefSharp.DevTools.Page.WebAppManifest manifest
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// manifest
+ ///
+ public CefSharp.DevTools.Page.WebAppManifest Manifest
+ {
+ get
+ {
+ return manifest;
+ }
+ }
}
}
@@ -49412,13 +50255,25 @@ namespace CefSharp.DevTools.Page
return _client.ExecuteDevToolsMethodAsync("Page.enable", dict);
}
+ partial void ValidateGetAppManifest(string manifestId = null);
///
- /// GetAppManifest
+ /// Gets the processed manifest for this current document.
+ /// This API always waits for the manifest to be loaded.
+ /// If manifestId is provided, and it does not match the manifest of the
+ /// current document, this API errors out.
+ /// If there isn’t a loaded page, this API errors out immediately.
///
+ /// manifestId
/// returns System.Threading.Tasks.Task<GetAppManifestResponse>
- public System.Threading.Tasks.Task GetAppManifestAsync()
+ public System.Threading.Tasks.Task GetAppManifestAsync(string manifestId = null)
{
- System.Collections.Generic.Dictionary dict = null;
+ ValidateGetAppManifest(manifestId);
+ var dict = new System.Collections.Generic.Dictionary();
+ if (!(string.IsNullOrEmpty(manifestId)))
+ {
+ dict.Add("manifestId", manifestId);
+ }
+
return _client.ExecuteDevToolsMethodAsync("Page.getAppManifest", dict);
}
@@ -50956,6 +51811,34 @@ namespace CefSharp.DevTools.Storage
}
}
+namespace CefSharp.DevTools.Storage
+{
+ ///
+ /// SendPendingAttributionReportsResponse
+ ///
+ [DataContract]
+ public class SendPendingAttributionReportsResponse : DevToolsDomainResponseBase
+ {
+ [DataMember]
+ internal int numSent
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// numSent
+ ///
+ public int NumSent
+ {
+ get
+ {
+ return numSent;
+ }
+ }
+ }
+}
+
namespace CefSharp.DevTools.Storage
{
///
@@ -51698,6 +52581,17 @@ namespace CefSharp.DevTools.Storage
return _client.ExecuteDevToolsMethodAsync("Storage.setAttributionReportingTracking", dict);
}
+ ///
+ /// Sends all pending Attribution Reports immediately, regardless of their
+ /// scheduled report time.
+ ///
+ /// returns System.Threading.Tasks.Task<SendPendingAttributionReportsResponse>
+ public System.Threading.Tasks.Task SendPendingAttributionReportsAsync()
+ {
+ System.Collections.Generic.Dictionary dict = null;
+ return _client.ExecuteDevToolsMethodAsync("Storage.sendPendingAttributionReports", dict);
+ }
+
///
/// Returns the effective Related Website Sets in use by this profile for the browser
/// session. The effective Related Website Sets will not change during a browser session.
@@ -54520,6 +55414,87 @@ namespace CefSharp.DevTools.FedCm
}
}
+namespace CefSharp.DevTools.PWA
+{
+ ///
+ /// GetOsAppStateResponse
+ ///
+ [DataContract]
+ public class GetOsAppStateResponse : DevToolsDomainResponseBase
+ {
+ [DataMember]
+ internal int badgeCount
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// badgeCount
+ ///
+ public int BadgeCount
+ {
+ get
+ {
+ return badgeCount;
+ }
+ }
+
+ [DataMember]
+ internal System.Collections.Generic.IList fileHandlers
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// fileHandlers
+ ///
+ public System.Collections.Generic.IList FileHandlers
+ {
+ get
+ {
+ return fileHandlers;
+ }
+ }
+ }
+}
+
+namespace CefSharp.DevTools.PWA
+{
+ using System.Linq;
+
+ ///
+ /// This domain allows interacting with the browser to control PWAs.
+ ///
+ public partial class PWAClient : DevToolsDomainBase
+ {
+ private CefSharp.DevTools.IDevToolsClient _client;
+ ///
+ /// PWA
+ ///
+ /// DevToolsClient
+ public PWAClient(CefSharp.DevTools.IDevToolsClient client)
+ {
+ _client = (client);
+ }
+
+ partial void ValidateGetOsAppState(string manifestId);
+ ///
+ /// Returns the following OS state for the given manifest id.
+ ///
+ /// The id from the webapp's manifest file, commonly it's the url of thesite installing the webapp. Seehttps://web.dev/learn/pwa/web-app-manifest.
+ /// returns System.Threading.Tasks.Task<GetOsAppStateResponse>
+ public System.Threading.Tasks.Task GetOsAppStateAsync(string manifestId)
+ {
+ ValidateGetOsAppState(manifestId);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("manifestId", manifestId);
+ return _client.ExecuteDevToolsMethodAsync("PWA.getOsAppState", dict);
+ }
+ }
+}
+
namespace CefSharp.DevTools.Debugger
{
///
@@ -58687,6 +59662,23 @@ namespace CefSharp.DevTools
}
}
+ private CefSharp.DevTools.PWA.PWAClient _PWA;
+ ///
+ /// This domain allows interacting with the browser to control PWAs.
+ ///
+ public CefSharp.DevTools.PWA.PWAClient PWA
+ {
+ get
+ {
+ if ((_PWA) == (null))
+ {
+ _PWA = (new CefSharp.DevTools.PWA.PWAClient(this));
+ }
+
+ return _PWA;
+ }
+ }
+
private CefSharp.DevTools.Debugger.DebuggerClient _Debugger;
///
/// Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs
index 3614f5af9..107b73f27 100644
--- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs
+++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs
@@ -3,7 +3,7 @@
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
//
// **This code was generated by a tool, do not change directly**
-// CHROMIUM VERSION 124.0.6367.60
+// CHROMIUM VERSION 125.0.6422.142
using System.Text.Json.Serialization;
namespace CefSharp.DevTools.Accessibility
@@ -1208,6 +1208,24 @@ namespace CefSharp.DevTools.Animation
private set;
}
}
+
+ ///
+ /// Event for animation that has been updated.
+ ///
+ public class AnimationUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Animation that was updated.
+ ///
+ [JsonInclude]
+ [JsonPropertyName("animation")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public CefSharp.DevTools.Animation.Animation Animation
+ {
+ get;
+ private set;
+ }
+ }
}
namespace CefSharp.DevTools.Audits
@@ -2977,7 +2995,17 @@ namespace CefSharp.DevTools.Audits
/// NotSignedInWithIdp
///
[JsonPropertyName("NotSignedInWithIdp")]
- NotSignedInWithIdp
+ NotSignedInWithIdp,
+ ///
+ /// MissingTransientUserActivation
+ ///
+ [JsonPropertyName("MissingTransientUserActivation")]
+ MissingTransientUserActivation,
+ ///
+ /// ReplacedByButtonMode
+ ///
+ [JsonPropertyName("ReplacedByButtonMode")]
+ ReplacedByButtonMode
}
///
@@ -7083,6 +7111,16 @@ namespace CefSharp.DevTools.DOM
[JsonPropertyName("first-line-inherited")]
FirstLineInherited,
///
+ /// scroll-marker
+ ///
+ [JsonPropertyName("scroll-marker")]
+ ScrollMarker,
+ ///
+ /// scroll-markers
+ ///
+ [JsonPropertyName("scroll-markers")]
+ ScrollMarkers,
+ ///
/// scrollbar
///
[JsonPropertyName("scrollbar")]
@@ -13439,6 +13477,16 @@ namespace CefSharp.DevTools.Network
set;
}
+ ///
+ /// Specifies that the request was served from the prefetch cache.
+ ///
+ [JsonPropertyName("fromEarlyHints")]
+ public bool? FromEarlyHints
+ {
+ get;
+ set;
+ }
+
///
/// Information about how Service Worker Static Router was used.
///
@@ -14301,6 +14349,17 @@ namespace CefSharp.DevTools.Network
set;
}
+ ///
+ /// The string representing this individual cookie as it would appear in the header.
+ ///
+ [JsonPropertyName("cookieLine")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string CookieLine
+ {
+ get;
+ set;
+ }
+
///
/// The cookie object representing the cookie.
///
@@ -16920,6 +16979,38 @@ namespace CefSharp.DevTools.Network
}
}
+ ///
+ /// Fired when 103 Early Hints headers is received in addition to the common response.
+ /// Not every responseReceived event will have an responseReceivedEarlyHints fired.
+ /// Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
+ ///
+ public class ResponseReceivedEarlyHintsEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier. Used to match this information to another responseReceived event.
+ ///
+ [JsonInclude]
+ [JsonPropertyName("requestId")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string RequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Raw response headers as they were received over the wire.
+ ///
+ [JsonInclude]
+ [JsonPropertyName("headers")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public CefSharp.DevTools.Network.Headers Headers
+ {
+ get;
+ private set;
+ }
+ }
+
///
/// Detailed success or error status of the operation.
/// 'AlreadyExists' also signifies a successful operation, as the result
@@ -20449,6 +20540,614 @@ namespace CefSharp.DevTools.Page
}
}
+ ///
+ /// FileFilter
+ ///
+ public partial class FileFilter : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Name
+ ///
+ [JsonPropertyName("name")]
+ public string Name
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Accepts
+ ///
+ [JsonPropertyName("accepts")]
+ public string[] Accepts
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// FileHandler
+ ///
+ public partial class FileHandler : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Action
+ ///
+ [JsonPropertyName("action")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Action
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Name
+ ///
+ [JsonPropertyName("name")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Name
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Icons
+ ///
+ [JsonPropertyName("icons")]
+ public System.Collections.Generic.IList Icons
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Mimic a map, name is the key, accepts is the value.
+ ///
+ [JsonPropertyName("accepts")]
+ public System.Collections.Generic.IList Accepts
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Won't repeat the enums, using string for easy comparison. Same as the
+ /// other enums below.
+ ///
+ [JsonPropertyName("launchType")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string LaunchType
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// The image definition used in both icon and screenshot.
+ ///
+ public partial class ImageResource : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// The src field in the definition, but changing to url in favor of
+ /// consistency.
+ ///
+ [JsonPropertyName("url")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Url
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Sizes
+ ///
+ [JsonPropertyName("sizes")]
+ public string Sizes
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Type
+ ///
+ [JsonPropertyName("type")]
+ public string Type
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// LaunchHandler
+ ///
+ public partial class LaunchHandler : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// ClientMode
+ ///
+ [JsonPropertyName("clientMode")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string ClientMode
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// ProtocolHandler
+ ///
+ public partial class ProtocolHandler : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Protocol
+ ///
+ [JsonPropertyName("protocol")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Protocol
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Url
+ ///
+ [JsonPropertyName("url")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Url
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// RelatedApplication
+ ///
+ public partial class RelatedApplication : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Id
+ ///
+ [JsonPropertyName("id")]
+ public string Id
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Url
+ ///
+ [JsonPropertyName("url")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Url
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// ScopeExtension
+ ///
+ public partial class ScopeExtension : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Instead of using tuple, this field always returns the serialized string
+ /// for easy understanding and comparison.
+ ///
+ [JsonPropertyName("origin")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Origin
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// HasOriginWildcard
+ ///
+ [JsonPropertyName("hasOriginWildcard")]
+ public bool HasOriginWildcard
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// Screenshot
+ ///
+ public partial class Screenshot : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Image
+ ///
+ [JsonPropertyName("image")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public CefSharp.DevTools.Page.ImageResource Image
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// FormFactor
+ ///
+ [JsonPropertyName("formFactor")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string FormFactor
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Label
+ ///
+ [JsonPropertyName("label")]
+ public string Label
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// ShareTarget
+ ///
+ public partial class ShareTarget : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Action
+ ///
+ [JsonPropertyName("action")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Action
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Method
+ ///
+ [JsonPropertyName("method")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Method
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Enctype
+ ///
+ [JsonPropertyName("enctype")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Enctype
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Embed the ShareTargetParams
+ ///
+ [JsonPropertyName("title")]
+ public string Title
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Text
+ ///
+ [JsonPropertyName("text")]
+ public string Text
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Url
+ ///
+ [JsonPropertyName("url")]
+ public string Url
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Files
+ ///
+ [JsonPropertyName("files")]
+ public System.Collections.Generic.IList Files
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// Shortcut
+ ///
+ public partial class Shortcut : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Name
+ ///
+ [JsonPropertyName("name")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Name
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Url
+ ///
+ [JsonPropertyName("url")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Url
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// WebAppManifest
+ ///
+ public partial class WebAppManifest : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// BackgroundColor
+ ///
+ [JsonPropertyName("backgroundColor")]
+ public string BackgroundColor
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The extra description provided by the manifest.
+ ///
+ [JsonPropertyName("description")]
+ public string Description
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Dir
+ ///
+ [JsonPropertyName("dir")]
+ public string Dir
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Display
+ ///
+ [JsonPropertyName("display")]
+ public string Display
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The overrided display mode controlled by the user.
+ ///
+ [JsonPropertyName("displayOverrides")]
+ public string[] DisplayOverrides
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The handlers to open files.
+ ///
+ [JsonPropertyName("fileHandlers")]
+ public System.Collections.Generic.IList FileHandlers
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Icons
+ ///
+ [JsonPropertyName("icons")]
+ public System.Collections.Generic.IList Icons
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Id
+ ///
+ [JsonPropertyName("id")]
+ public string Id
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Lang
+ ///
+ [JsonPropertyName("lang")]
+ public string Lang
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// TODO(crbug.com/1231886): This field is non-standard and part of a Chrome
+ /// experiment. See:
+ /// https://github.com/WICG/web-app-launch/blob/main/launch_handler.md
+ ///
+ [JsonPropertyName("launchHandler")]
+ public CefSharp.DevTools.Page.LaunchHandler LaunchHandler
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Name
+ ///
+ [JsonPropertyName("name")]
+ public string Name
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Orientation
+ ///
+ [JsonPropertyName("orientation")]
+ public string Orientation
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// PreferRelatedApplications
+ ///
+ [JsonPropertyName("preferRelatedApplications")]
+ public bool? PreferRelatedApplications
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The handlers to open protocols.
+ ///
+ [JsonPropertyName("protocolHandlers")]
+ public System.Collections.Generic.IList ProtocolHandlers
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// RelatedApplications
+ ///
+ [JsonPropertyName("relatedApplications")]
+ public System.Collections.Generic.IList RelatedApplications
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Scope
+ ///
+ [JsonPropertyName("scope")]
+ public string Scope
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Non-standard, see
+ /// https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.md
+ ///
+ [JsonPropertyName("scopeExtensions")]
+ public System.Collections.Generic.IList ScopeExtensions
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The screenshots used by chromium.
+ ///
+ [JsonPropertyName("screenshots")]
+ public System.Collections.Generic.IList Screenshots
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// ShareTarget
+ ///
+ [JsonPropertyName("shareTarget")]
+ public CefSharp.DevTools.Page.ShareTarget ShareTarget
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// ShortName
+ ///
+ [JsonPropertyName("shortName")]
+ public string ShortName
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Shortcuts
+ ///
+ [JsonPropertyName("shortcuts")]
+ public System.Collections.Generic.IList Shortcuts
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// StartUrl
+ ///
+ [JsonPropertyName("startUrl")]
+ public string StartUrl
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// ThemeColor
+ ///
+ [JsonPropertyName("themeColor")]
+ public string ThemeColor
+ {
+ get;
+ set;
+ }
+ }
+
///
/// Enum of possible auto-response for permission / prompt dialogs.
///
@@ -24622,7 +25321,12 @@ namespace CefSharp.DevTools.Storage
/// exceedsMaxChannelCapacity
///
[JsonPropertyName("exceedsMaxChannelCapacity")]
- ExceedsMaxChannelCapacity
+ ExceedsMaxChannelCapacity,
+ ///
+ /// exceedsMaxTriggerStateCardinality
+ ///
+ [JsonPropertyName("exceedsMaxTriggerStateCardinality")]
+ ExceedsMaxTriggerStateCardinality
}
///
@@ -30355,6 +31059,78 @@ namespace CefSharp.DevTools.FedCm
}
}
+namespace CefSharp.DevTools.PWA
+{
+ ///
+ /// The following types are the replica of
+ /// https://crsrc.org/c/chrome/browser/web_applications/proto/web_app_os_integration_state.proto;drc=9910d3be894c8f142c977ba1023f30a656bc13fc;l=67
+ ///
+ public partial class FileHandlerAccept : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// New name of the mimetype according to
+ /// https://www.iana.org/assignments/media-types/media-types.xhtml
+ ///
+ [JsonPropertyName("mediaType")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string MediaType
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// FileExtensions
+ ///
+ [JsonPropertyName("fileExtensions")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string[] FileExtensions
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// FileHandler
+ ///
+ public partial class FileHandler : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Action
+ ///
+ [JsonPropertyName("action")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Action
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Accepts
+ ///
+ [JsonPropertyName("accepts")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public System.Collections.Generic.IList Accepts
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// DisplayName
+ ///
+ [JsonPropertyName("displayName")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string DisplayName
+ {
+ get;
+ set;
+ }
+ }
+}
+
namespace CefSharp.DevTools.Debugger
{
///
@@ -34479,6 +35255,22 @@ namespace CefSharp.DevTools.Animation
}
}
+ ///
+ /// Event for animation that has been updated.
+ ///
+ public event System.EventHandler AnimationUpdated
+ {
+ add
+ {
+ _client.AddEventHandler("Animation.animationUpdated", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Animation.animationUpdated", value);
+ }
+ }
+
///
/// Disables animation domain notifications.
///
@@ -39981,7 +40773,7 @@ namespace CefSharp.DevTools.Emulation
/// Screen orientation override.
/// If set, the visible area of the page will be overridden to this viewport. This viewportchange is not observed by the page, e.g. viewport-relative elements do not change positions.
/// If set, the display feature of a multi-segment screen. If not set, multi-segment supportis turned-off.
- /// If set, the posture of a foldable device. If not set the posture is setto continuous.
+ /// If set, the posture of a foldable device. If not set the posture is setto continuous.Deprecated, use Emulation.setDevicePostureOverride.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public System.Threading.Tasks.Task SetDeviceMetricsOverrideAsync(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null, CefSharp.DevTools.Emulation.DevicePosture devicePosture = null)
{
@@ -40044,6 +40836,34 @@ namespace CefSharp.DevTools.Emulation
return _client.ExecuteDevToolsMethodAsync("Emulation.setDeviceMetricsOverride", dict);
}
+ partial void ValidateSetDevicePostureOverride(CefSharp.DevTools.Emulation.DevicePosture posture);
+ ///
+ /// Start reporting the given posture value to the Device Posture API.
+ /// This override can also be set in setDeviceMetricsOverride().
+ ///
+ /// posture
+ /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
+ public System.Threading.Tasks.Task SetDevicePostureOverrideAsync(CefSharp.DevTools.Emulation.DevicePosture posture)
+ {
+ ValidateSetDevicePostureOverride(posture);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("posture", posture.ToDictionary());
+ return _client.ExecuteDevToolsMethodAsync("Emulation.setDevicePostureOverride", dict);
+ }
+
+ ///
+ /// Clears a device posture override set with either setDeviceMetricsOverride()
+ /// or setDevicePostureOverride() and starts using posture information from the
+ /// platform again.
+ /// Does nothing if no override is set.
+ ///
+ /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
+ public System.Threading.Tasks.Task ClearDevicePostureOverrideAsync()
+ {
+ System.Collections.Generic.Dictionary dict = null;
+ return _client.ExecuteDevToolsMethodAsync("Emulation.clearDevicePostureOverride", dict);
+ }
+
partial void ValidateSetScrollbarsHidden(bool hidden);
///
/// SetScrollbarsHidden
@@ -43134,6 +43954,24 @@ namespace CefSharp.DevTools.Network
}
}
+ ///
+ /// Fired when 103 Early Hints headers is received in addition to the common response.
+ /// Not every responseReceived event will have an responseReceivedEarlyHints fired.
+ /// Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
+ ///
+ public event System.EventHandler ResponseReceivedEarlyHints
+ {
+ add
+ {
+ _client.AddEventHandler("Network.responseReceivedEarlyHints", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.responseReceivedEarlyHints", value);
+ }
+ }
+
///
/// Fired exactly once for each Trust Token operation. Depending on
/// the type of the operation and whether the operation succeeded or
@@ -44605,6 +45443,17 @@ namespace CefSharp.DevTools.Page
get;
private set;
}
+
+ ///
+ /// manifest
+ ///
+ [JsonInclude]
+ [JsonPropertyName("manifest")]
+ public CefSharp.DevTools.Page.WebAppManifest Manifest
+ {
+ get;
+ private set;
+ }
}
}
@@ -45608,13 +46457,25 @@ namespace CefSharp.DevTools.Page
return _client.ExecuteDevToolsMethodAsync("Page.enable", dict);
}
+ partial void ValidateGetAppManifest(string manifestId = null);
///
- /// GetAppManifest
+ /// Gets the processed manifest for this current document.
+ /// This API always waits for the manifest to be loaded.
+ /// If manifestId is provided, and it does not match the manifest of the
+ /// current document, this API errors out.
+ /// If there isn’t a loaded page, this API errors out immediately.
///
+ /// manifestId
/// returns System.Threading.Tasks.Task<GetAppManifestResponse>
- public System.Threading.Tasks.Task GetAppManifestAsync()
+ public System.Threading.Tasks.Task GetAppManifestAsync(string manifestId = null)
{
- System.Collections.Generic.Dictionary dict = null;
+ ValidateGetAppManifest(manifestId);
+ var dict = new System.Collections.Generic.Dictionary();
+ if (!(string.IsNullOrEmpty(manifestId)))
+ {
+ dict.Add("manifestId", manifestId);
+ }
+
return _client.ExecuteDevToolsMethodAsync("Page.getAppManifest", dict);
}
@@ -47051,6 +47912,26 @@ namespace CefSharp.DevTools.Storage
}
}
+namespace CefSharp.DevTools.Storage
+{
+ ///
+ /// SendPendingAttributionReportsResponse
+ ///
+ public class SendPendingAttributionReportsResponse : DevToolsDomainResponseBase
+ {
+ ///
+ /// numSent
+ ///
+ [JsonInclude]
+ [JsonPropertyName("numSent")]
+ public int NumSent
+ {
+ get;
+ private set;
+ }
+ }
+}
+
namespace CefSharp.DevTools.Storage
{
///
@@ -47785,6 +48666,17 @@ namespace CefSharp.DevTools.Storage
return _client.ExecuteDevToolsMethodAsync("Storage.setAttributionReportingTracking", dict);
}
+ ///
+ /// Sends all pending Attribution Reports immediately, regardless of their
+ /// scheduled report time.
+ ///
+ /// returns System.Threading.Tasks.Task<SendPendingAttributionReportsResponse>
+ public System.Threading.Tasks.Task SendPendingAttributionReportsAsync()
+ {
+ System.Collections.Generic.Dictionary dict = null;
+ return _client.ExecuteDevToolsMethodAsync("Storage.sendPendingAttributionReports", dict);
+ }
+
///
/// Returns the effective Related Website Sets in use by this profile for the browser
/// session. The effective Related Website Sets will not change during a browser session.
@@ -50420,6 +51312,72 @@ namespace CefSharp.DevTools.FedCm
}
}
+namespace CefSharp.DevTools.PWA
+{
+ ///
+ /// GetOsAppStateResponse
+ ///
+ public class GetOsAppStateResponse : DevToolsDomainResponseBase
+ {
+ ///
+ /// badgeCount
+ ///
+ [JsonInclude]
+ [JsonPropertyName("badgeCount")]
+ public int BadgeCount
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// fileHandlers
+ ///
+ [JsonInclude]
+ [JsonPropertyName("fileHandlers")]
+ public System.Collections.Generic.IList FileHandlers
+ {
+ get;
+ private set;
+ }
+ }
+}
+
+namespace CefSharp.DevTools.PWA
+{
+ using System.Linq;
+
+ ///
+ /// This domain allows interacting with the browser to control PWAs.
+ ///
+ public partial class PWAClient : DevToolsDomainBase
+ {
+ private CefSharp.DevTools.IDevToolsClient _client;
+ ///
+ /// PWA
+ ///
+ /// DevToolsClient
+ public PWAClient(CefSharp.DevTools.IDevToolsClient client)
+ {
+ _client = (client);
+ }
+
+ partial void ValidateGetOsAppState(string manifestId);
+ ///
+ /// Returns the following OS state for the given manifest id.
+ ///
+ /// The id from the webapp's manifest file, commonly it's the url of thesite installing the webapp. Seehttps://web.dev/learn/pwa/web-app-manifest.
+ /// returns System.Threading.Tasks.Task<GetOsAppStateResponse>
+ public System.Threading.Tasks.Task GetOsAppStateAsync(string manifestId)
+ {
+ ValidateGetOsAppState(manifestId);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("manifestId", manifestId);
+ return _client.ExecuteDevToolsMethodAsync("PWA.getOsAppState", dict);
+ }
+ }
+}
+
namespace CefSharp.DevTools.Debugger
{
///
@@ -54155,6 +55113,23 @@ namespace CefSharp.DevTools
}
}
+ private CefSharp.DevTools.PWA.PWAClient _PWA;
+ ///
+ /// This domain allows interacting with the browser to control PWAs.
+ ///
+ public CefSharp.DevTools.PWA.PWAClient PWA
+ {
+ get
+ {
+ if ((_PWA) == (null))
+ {
+ _PWA = (new CefSharp.DevTools.PWA.PWAClient(this));
+ }
+
+ return _PWA;
+ }
+ }
+
private CefSharp.DevTools.Debugger.DebuggerClient _Debugger;
///
/// Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
diff --git a/README.md b/README.md
index a08f39e3d..2a360c270 100644
--- a/README.md
+++ b/README.md
@@ -88,8 +88,13 @@ If you're new to `CefSharp` and are downloading the source to check it out, plea
| Branch | CEF Version | VC++ Version | .Net Version | Status |
|-----------------------------------------------------------------------|------|-------|---------|-----------------|
-| [master](https://github.com/cefsharp/CefSharp/) | 6099 | 2019* | 4.6.2** | Development |
-| [cefsharp/120](https://github.com/cefsharp/CefSharp/tree/cefsharp/120)| 6099 | 2019* | 4.6.2** | **Release** |
+| [master](https://github.com/cefsharp/CefSharp/) | 6422 | 2019* | 4.6.2** | Development |
+| [cefsharp/125](https://github.com/cefsharp/CefSharp/tree/cefsharp/125)| 6422 | 2019* | 4.6.2** | **Release** |
+| [cefsharp/124](https://github.com/cefsharp/CefSharp/tree/cefsharp/124)| 6367 | 2019* | 4.6.2** | Unsupported |
+| [cefsharp/123](https://github.com/cefsharp/CefSharp/tree/cefsharp/123)| 6312 | 2019* | 4.6.2** | Unsupported |
+| [cefsharp/122](https://github.com/cefsharp/CefSharp/tree/cefsharp/122)| 6261 | 2019* | 4.6.2** | Unsupported |
+| [cefsharp/121](https://github.com/cefsharp/CefSharp/tree/cefsharp/121)| 6167 | 2019* | 4.6.2** | Unsupported |
+| [cefsharp/120](https://github.com/cefsharp/CefSharp/tree/cefsharp/120)| 6099 | 2019* | 4.6.2** | Unsupported |
| [cefsharp/119](https://github.com/cefsharp/CefSharp/tree/cefsharp/119)| 6045 | 2019* | 4.6.2** | Unsupported |
| [cefsharp/118](https://github.com/cefsharp/CefSharp/tree/cefsharp/118)| 5993 | 2019* | 4.6.2** | Unsupported |
| [cefsharp/117](https://github.com/cefsharp/CefSharp/tree/cefsharp/117)| 5938 | 2019* | 4.6.2** | Unsupported |