[WPE] Add initial web extensions API
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jun 2017 07:40:44 +0000 (07:40 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jun 2017 07:40:44 +0000 (07:40 +0000)
commit4d005fe25cd1a31adb3e47f287dad8112aae1a28
treefe475f83fabe4ac1b144076ef47e9b04821dc36d
parent06787b41f7b2c05beda9308f6e5ed3fbeabb1b5a
[WPE] Add initial web extensions API
https://bugs.webkit.org/show_bug.cgi?id=173640

Reviewed by Žan Doberšek.

.:

* Source/cmake/OptionsWPE.cmake:

Source/WebKit2:

Build the glib web extensions API files and the builtin injected bundle library for WPE.

* PlatformWPE.cmake:
* UIProcess/API/glib/WebKitWebContext.cpp:
(webkitWebContextConstructed): Use a different injected bundle filename in WPE and GTK+.
* WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp:
(webkit_web_page_class_init): Do not expose DOM bindings in WPE.
(webkitWebPageCreate): Ditto.
* WebProcess/InjectedBundle/API/wpe/WebKitConsoleMessage.h: Added.
* WebProcess/InjectedBundle/API/wpe/WebKitFrame.h: Added.
* WebProcess/InjectedBundle/API/wpe/WebKitScriptWorld.h: Added.
* WebProcess/InjectedBundle/API/wpe/WebKitWebEditor.h: Added.
* WebProcess/InjectedBundle/API/wpe/WebKitWebExtension.h: Added.
* WebProcess/InjectedBundle/API/wpe/WebKitWebPage.h: Added.
* WebProcess/InjectedBundle/API/wpe/webkit-web-extension.h: Added.

Tools:

Add style checker exceptions for WPE web extensions API files.

* Scripts/webkitpy/style/checker.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@218684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
ChangeLog
Source/WebKit2/ChangeLog
Source/WebKit2/PlatformWPE.cmake
Source/WebKit2/UIProcess/API/glib/WebKitWebContext.cpp
Source/WebKit2/WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp
Source/WebKit2/WebProcess/InjectedBundle/API/wpe/WebKitConsoleMessage.h [new file with mode: 0644]
Source/WebKit2/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h [new file with mode: 0644]
Source/WebKit2/WebProcess/InjectedBundle/API/wpe/WebKitScriptWorld.h [new file with mode: 0644]
Source/WebKit2/WebProcess/InjectedBundle/API/wpe/WebKitWebEditor.h [new file with mode: 0644]
Source/WebKit2/WebProcess/InjectedBundle/API/wpe/WebKitWebExtension.h [new file with mode: 0644]
Source/WebKit2/WebProcess/InjectedBundle/API/wpe/WebKitWebPage.h [new file with mode: 0644]
Source/WebKit2/WebProcess/InjectedBundle/API/wpe/webkit-web-extension.h [new file with mode: 0644]
Source/cmake/OptionsWPE.cmake
Tools/ChangeLog
Tools/Scripts/webkitpy/style/checker.py