Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[GTK] [CMake] Add support for building the DOM bindings
https://bugs.webkit.org/show_bug.cgi?id=116375 Reviewed by Gustavo Noronha Silva. The CMake build is more complete than the autotools counterpart, so autotools doesn't consider some supplemental IDL attributes when building the DOM bindings. To prevent API breaks we should protect these attributes from DOM binding generation. * Modules/battery/BatteryManager.idl: Protect non-GObject DOM bound methods by C preprocessor checks. * Modules/battery/NavigatorBattery.idl: Ditto. * Modules/mediastream/HTMLMediaElementMediaStream.idl: Ditto. * Modules/networkinfo/NavigatorNetworkInfoConnection.idl: Ditto. * Modules/networkinfo/NetworkInfoConnection.idl: Ditto. * PlatformGTK.cmake: Add build steps for building the bindings. * dom/Document.idl: Protect non-GObject DOM bound methods by C preprocessor checks. * html/HTMLMediaElement.idl: Ditto. Canonical link: https://commits.webkit.org/143574@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
290 additions
and 6 deletions.
- +20 −0 Source/WebCore/ChangeLog
- +2 −1 Source/WebCore/Modules/battery/BatteryManager.idl
- +2 −1 Source/WebCore/Modules/battery/NavigatorBattery.idl
- +2 −0 Source/WebCore/Modules/mediastream/HTMLMediaElementMediaStream.idl
- +2 −1 Source/WebCore/Modules/networkinfo/NavigatorNetworkInfoConnection.idl
- +2 −0 Source/WebCore/Modules/networkinfo/NetworkInfoConnection.idl
- +254 −0 Source/WebCore/PlatformGTK.cmake
- +1 −1 Source/WebCore/dom/Document.idl
- +5 −2 Source/WebCore/html/HTMLMediaElement.idl
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -27,5 +27,7 @@ | ||
Conditional=VIDEO&MEDIA_STREAM, | ||
] partial interface HTMLMediaElement | ||
{ | ||
#if !defined(LANGUAGE_GOBJECT) || !LANGUAGE_GOBJECT | ||
attribute MediaStream? srcObject; | ||
#endif | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters