mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 00:45:37 +00:00
Webkit: use WebkitGtkSharp-api.xml from WebKit2-4.0.gir & change lib to libwebkit2gtk-4.0.so
This commit is contained in:
parent
6d40ae2437
commit
79097f669f
|
@ -28,7 +28,7 @@ class GLibrary
|
||||||
_libraryDefinitions[Library.Gtk] = new[] { "libgtk-3-0.dll", "libgtk-3.so.0", "libgtk-3.0.dylib", "gtk-3.dll" };
|
_libraryDefinitions[Library.Gtk] = new[] { "libgtk-3-0.dll", "libgtk-3.so.0", "libgtk-3.0.dylib", "gtk-3.dll" };
|
||||||
_libraryDefinitions[Library.PangoCairo] = new[] { "libpangocairo-1.0-0.dll", "libpangocairo-1.0.so.0", "libpangocairo-1.0.0.dylib", "pangocairo-1.dll" };
|
_libraryDefinitions[Library.PangoCairo] = new[] { "libpangocairo-1.0-0.dll", "libpangocairo-1.0.so.0", "libpangocairo-1.0.0.dylib", "pangocairo-1.dll" };
|
||||||
_libraryDefinitions[Library.GtkSource] = new[] { "libgtksourceview-4-0.dll", "libgtksourceview-4.so.0", "libgtksourceview-4.0.dylib", "gtksourceview-4.dll" };
|
_libraryDefinitions[Library.GtkSource] = new[] { "libgtksourceview-4-0.dll", "libgtksourceview-4.so.0", "libgtksourceview-4.0.dylib", "gtksourceview-4.dll" };
|
||||||
_libraryDefinitions[Library.Webkit] = new[] { "libwebkitgtk-3.0.dll", "libwebkitgtk-3.0.so.0", "libwebkitgtk-3.0.dylib", "libwebkitgtk-3.0.dll" };
|
_libraryDefinitions[Library.Webkit] = new[] { "libwebkit2gtk-4.0.dll", "libwebkit2gtk-4.0.so.0", "libwebkit2gtk-4.0.dylib", "libwebkit2gtk-4.0.0.dll" };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,355 +1,4 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<metadata>
|
<metadata>
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/virtual_method[@cname='create_web_view']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/virtual_method[@cname='web_view_ready']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/virtual_method[@cname='close_web_view']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/virtual_method[@cname='navigation_requested']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/virtual_method[@cname='window_object_cleared']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/virtual_method[@cname='script_alert']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/virtual_method[@cname='script_confirm']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/virtual_method[@cname='script_prompt']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/virtual_method[@cname='console_message']" />
|
|
||||||
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/class_struct[@cname='WebKitWebViewClass']/method[@vm='create_web_view']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/class_struct[@cname='WebKitWebViewClass']/method[@vm='web_view_ready']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/class_struct[@cname='WebKitWebViewClass']/method[@vm='close_web_view']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/class_struct[@cname='WebKitWebViewClass']/method[@vm='navigation_requested']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/class_struct[@cname='WebKitWebViewClass']/method[@vm='window_object_cleared']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/class_struct[@cname='WebKitWebViewClass']/method[@vm='script_alert']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/class_struct[@cname='WebKitWebViewClass']/method[@vm='script_confirm']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/class_struct[@cname='WebKitWebViewClass']/method[@vm='script_prompt']" />
|
|
||||||
<remove-node path="/api/namespace/object[@cname='WebKitWebView']/class_struct[@cname='WebKitWebViewClass']/method[@vm='console_message']" />
|
|
||||||
|
|
||||||
<!-- Add missing signal in WebFrame -->
|
|
||||||
<add-node path="/api/namespace/object[@cname='WebKitWebFrame']">
|
|
||||||
|
|
||||||
<signal name="Cleared" cname="cleared" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="LoadCommitted" cname="load-committed" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="LoadDone" cname="load-done" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="gboolean" name="done" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="TitleChanged" cname="title-changed" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="const-gchar*" name="title" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="HoveringOverLink" cname="hovering-over-link" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="const-gchar*" name="link" />
|
|
||||||
<parameter type="const-gchar*" name="url" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
</add-node>
|
|
||||||
|
|
||||||
<!-- Add missing signal in WebView -->
|
|
||||||
<add-node path="/api/namespace/object[@cname='WebKitWebView']">
|
|
||||||
|
|
||||||
<!-- Since: 1.10 -->
|
|
||||||
<signal name="ContextMenu" cname="context-menu" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkWidget*" name="default_menu" />
|
|
||||||
<parameter type="WebKitHitTestResult*" name="hit_test_result" />
|
|
||||||
<parameter type="gboolean" name="triggered_with_keyboard" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.1.23 -->
|
|
||||||
<signal name="GeolocationPolicyDecisionCancelled" cname="geolocation-policy-decision-cancelled" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="GeolocationPolicyDecisionRequested" cname="geolocation-policy-decision-requested" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="WebKitGeolocationPolicyDecision*" name="policy_decision" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.1.18 -->
|
|
||||||
<signal name="IconLoaded" cname="icon-loaded" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="icon_uri" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.1.14
|
|
||||||
* Undo and Redo Signals are internal
|
|
||||||
-->
|
|
||||||
<signal name="DatabaseQuotaExceeded" cname="database-quota-exceeded" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GObject*" name="frame" />
|
|
||||||
<parameter type="GObject*" name="database" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="ResourceRequestStarting" cname="resource-request-starting" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="web_frame" />
|
|
||||||
<parameter type="WebKitWebResource*" name="web_resource" />
|
|
||||||
<parameter type="WebKitNetworkRequest*" name="request" />
|
|
||||||
<parameter type="WebKitNetworkResponse*" name="response" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.1.11 -->
|
|
||||||
<signal name="CloseWebView" cname="close-web-view" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.1.8 -->
|
|
||||||
<signal name="CreatePluginWidget" cname="create-plugin-widget" when="LAST">
|
|
||||||
<return-type type="GtkWidget*" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="mime_type" />
|
|
||||||
<parameter type="const-gchar*" name="uri" />
|
|
||||||
<parameter type="GHashTable*" name="param" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.1.6 -->
|
|
||||||
<signal name="LoadError" cname="load-error" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="const-gchar*" name="uri" />
|
|
||||||
<parameter type="gchar**" name="web_error" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.1.5 -->
|
|
||||||
<signal name="PrintRequested" cname="print-requested" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.1.4 -->
|
|
||||||
<signal name="NewWindowPolicyDecisionRequested" cname="new-window-policy-decision-requested" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="WebKitNetworkRequest*" name="request" />
|
|
||||||
<parameter type="WebKitWebNavigationAction*" name="navigation" />
|
|
||||||
<parameter type="WebKitWebPolicyDecision*" name="policy" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="MovedCursor" cname="move-cursor" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkMovementStep*" name="step" />
|
|
||||||
<parameter type="gint" name="count" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.1.2 -->
|
|
||||||
<signal name="DownloadRequested" cname="download-requested" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitDownload*" name="download" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- Since: 1.0.3 -->
|
|
||||||
<signal name="NavigationPolicyDecisionRequested" cname="navigation-policy-decision-requested" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="WebKitNetworkRequest*" name="request" />
|
|
||||||
<parameter type="WebKitWebNavigationAction*" name="navigation" />
|
|
||||||
<parameter type="WebKitWebPolicyDecision*" name="policy" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="MimeTypePolicyDecisionRequested" cname="mime-type-policy-decision-requested" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="WebKitNetworkRequest*" name="request" />
|
|
||||||
<parameter type="const-gchar*" name="mimetype" />
|
|
||||||
<parameter type="WebKitWebPolicyDecision*" name="policy" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="CreateWebView" cname="create-web-view" when="LAST">
|
|
||||||
<return-type type="WebKitWebView*" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="WebViewReady" cname="web-view-ready" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<!-- From 0.2 -->
|
|
||||||
<signal name="UserChangedContents" cname="user-changed-contents" when="FIRST">
|
|
||||||
<return-type type="void" />
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="NavigationRequested" cname="navigation-requested" when="LAST">
|
|
||||||
<return-type type="gint" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="WebKitNetworkRequest" name="request" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="WindowObjectCleared" cname="window-object-cleared" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="gpointer" name="context" /> <!-- TODO: check the right type -->
|
|
||||||
<parameter type="gpointer" name="window_object" /> <!-- TODO: check the right type -->
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="LoadStarted" cname="load-started" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="LoadCommitted" cname="load-committed" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="LoadProgressChanged" cname="load-progress-changed" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gint" name="progress" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="LoadFinished" cname="load-finished" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="TitleChanged" cname="title-changed" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="const-gchar*" name="title" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="HoveringOverLink" cname="hovering-over-link" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="title" />
|
|
||||||
<parameter type="const-gchar*" name="link" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="PopulatePopup" cname="populate-popup" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkMenu" name="menu" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="StatusBarTextChanged" cname="status-bar-text-changed" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="value" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="SelectionChanged" cname="selection-changed" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="ConsoleMessage" cname="console-message" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="message" />
|
|
||||||
<parameter type="gint" name="line" />
|
|
||||||
<parameter type="const-gchar*" name="source_id" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="ScriptAlert" cname="script-alert" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="const-gchar*" name="message" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="ScriptConfirm" cname="script-confirm" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="const-gchar*" name="message" />
|
|
||||||
<parameter type="gboolean" name="confirmed" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="ScriptPrompt" cname="script-prompt" when="LAST">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="WebKitWebFrame*" name="frame" />
|
|
||||||
<parameter type="const-gchar*" name="message" />
|
|
||||||
<parameter type="const-gchar*" name="default_value" />
|
|
||||||
<parameter type="gchar**" name="text" />
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="SelectedAll" cname="select-all" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="ClipboardCut" cname="cut-clipboard" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="ClipboardCopy" cname="copy-clipboard" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="PastedClipboard" cname="paste-clipboard" when="LAST">
|
|
||||||
<return-type type="void" />
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
</add-node>
|
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue