2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
Add WebKit/gtk/Api and WebCoreSupport API to the INCLUDEPATH to allow GdkLauncher to be
build against it.
* WebKit.pri:
WebCore:
2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
WARNING: NO TEST CASES ADDED OR CHANGED
Add the WebKit/Gtk API to the buildsystem, ask qmake to create a
pkg-config file and install headers and libraries.
Start to emit signals from FrameLoaderClientGdk, hide the kit Frame
inside the the FrameLoaderClientGdk.
Move ChromeClientGdk to WebKit/gtk/WebCoreSupport
* WebCore.pro:
* loader/gdk/FrameLoaderClientGdk.cpp:
* loader/gdk/FrameLoaderClientGdk.h:
* platform/gdk/ChromeClientGdk.h: Removed.
* platform/gdk/FrameGdk.cpp: Remove code not belonging here
* platform/gdk/FrameGdk.h:
* platform/gdk/ScrollViewGdk.cpp: The gdkDrawable won't exist at that time and it is fine
* platform/gdk/TemporaryLinkStubs.cpp: Removed ChromeClientGdk stubs
WebKit:
2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
Add the first API and partial implementation of the WebKit/Gtk port as
of http://bugs.webkit.org/show_bug.cgi?id=14678.
The delegates of WebView will be modeled as signals. Delegates like the
WebPolicyDelegate will be implemented as signals with default handlers.
Start moving files to WebKit/gtk/WebCoreSupport.
* gtk: Added.
* gtk/Api: Added.
* gtk/Api/headers.pri: Added.
* gtk/Api/webkitgtk-marshal.list: Added.
* gtk/Api/webkitgtkdefines.h: Added.
* gtk/Api/webkitgtkframe.cpp: Added.
* gtk/Api/webkitgtkframe.h: Added.
* gtk/Api/webkitgtkframedata.cpp: Added.
* gtk/Api/webkitgtkframedata.h: Added.
* gtk/Api/webkitgtkglobal.cpp: Added.
* gtk/Api/webkitgtkglobal.h: Added.
* gtk/Api/webkitgtknetworkrequest.cpp: Added.
* gtk/Api/webkitgtknetworkrequest.h: Added.
* gtk/Api/webkitgtkpage.cpp: Added.
* gtk/Api/webkitgtkpage.h: Added.
* gtk/Api/webkitgtkprivate.cpp: Added.
* gtk/Api/webkitgtkprivate.h: Added.
* gtk/Api/webkitgtksettings.cpp: Added.
* gtk/Api/webkitgtksettings.h: Added.
* gtk/WebCoreSupport: Added.
* gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
(WebCore::ChromeClientGdk::ChromeClientGdk):
(WebCore::ChromeClientGdk::chromeDestroyed):
(WebCore::ChromeClientGdk::windowRect):
(WebCore::ChromeClientGdk::setWindowRect):
(WebCore::ChromeClientGdk::pageRect):
(WebCore::ChromeClientGdk::scaleFactor):
(WebCore::ChromeClientGdk::focus):
(WebCore::ChromeClientGdk::unfocus):
(WebCore::ChromeClientGdk::createWindow):
(WebCore::ChromeClientGdk::createModalDialog):
(WebCore::ChromeClientGdk::show):
(WebCore::ChromeClientGdk::canRunModal):
(WebCore::ChromeClientGdk::runModal):
(WebCore::ChromeClientGdk::setToolbarsVisible):
(WebCore::ChromeClientGdk::toolbarsVisible):
(WebCore::ChromeClientGdk::setStatusbarVisible):
(WebCore::ChromeClientGdk::statusbarVisible):
(WebCore::ChromeClientGdk::setScrollbarsVisible):
(WebCore::ChromeClientGdk::scrollbarsVisible):
(WebCore::ChromeClientGdk::setMenubarVisible):
(WebCore::ChromeClientGdk::menubarVisible):
(WebCore::ChromeClientGdk::setResizable):
(WebCore::ChromeClientGdk::closeWindowSoon):
(WebCore::ChromeClientGdk::canTakeFocus):
(WebCore::ChromeClientGdk::takeFocus):
(WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
(WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
(WebCore::ChromeClientGdk::addMessageToConsole):
(WebCore::ChromeClientGdk::runJavaScriptAlert):
(WebCore::ChromeClientGdk::runJavaScriptConfirm):
(WebCore::ChromeClientGdk::runJavaScriptPrompt):
(WebCore::ChromeClientGdk::setStatusbarText):
(WebCore::ChromeClientGdk::shouldInterruptJavaScript):
(WebCore::ChromeClientGdk::tabsToLinks):
(WebCore::ChromeClientGdk::windowResizerRect):
(WebCore::ChromeClientGdk::addToDirtyRegion):
(WebCore::ChromeClientGdk::scrollBackingStore):
(WebCore::ChromeClientGdk::updateBackingStore):
(WebCore::ChromeClientGdk::mouseDidMoveOverElement):
(WebCore::ChromeClientGdk::setToolTip):
(WebCore::ChromeClientGdk::print):
* gtk/WebCoreSupport/ChromeClientGdk.h: Added.
WebKitTools:
2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
honor --qmakearg for the Gdk/Gtk build as well.
* GdkLauncher/main.cpp: Switch to the new API
* Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24537
268f45cc-cd09-0410-ab3c-
d52691b4dbfc