Commit 808883b8 authored by bdash's avatar bdash

2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>

        Reviewed by Maciej.

        Remove warning about garbage after #else. #else clause applies for all
        non-mac platforms, not only win.

        * kjs/date_object.cpp:
2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>

        Reviewed by Maciej.

        Linux\Gdk build fixes.

        * loader/icon/IconDatabase.cpp:
        * loader/icon/SQLStatement.h:
        * platform/gdk/ChromeClientGdk.h: Added.
        (WebCore::ChromeClientGdk::~ChromeClientGdk):
        * platform/gdk/CursorGdk.cpp:
        (WebCore::pointerCursor):
        * platform/gdk/FrameGdk.cpp:
        (WebCore::doScroll):
        (WebCore::FrameGdk::FrameGdk):
        (WebCore::FrameGdk::submitForm):
        (WebCore::FrameGdk::urlSelected):
        (WebCore::FrameGdk::openURL):
        (WebCore::FrameGdk::handleGdkEvent):
        * platform/gdk/FrameGdk.h:
        (WebCore::FrameGdk::client):
        * platform/gdk/RenderPopupMenuGdk.cpp:
        (WebCore::PopupMenu::updateFromElement):
        * platform/gdk/ScreenGdk.cpp:
        * platform/gdk/TemporaryLinkStubs.cpp:
        (Slider::focusPolicy):
        (WebCore::ServeSynchronousRequest):
        (FrameGdk::goBackOrForward):
        (FrameGdk::getHistoryLength):
        (FrameGdk::historyURL):
        (ChromeClientGdk::canRunModal):
        (ChromeClientGdk::runModal):
        (WebCore::systemBeep):
        (WebCore::CachedResource::setPlatformResponse):
        (Path::transform):
        (ResourceLoader::loadsBlocked):
        (IconLoader::notifyIconChanged):
        * platform/network/gdk/ResourceHandleManager.cpp:
        (WebCore::writeCallback):
        (WebCore::ResourceHandleManager::downloadTimerCallback):
        (WebCore::ResourceHandleManager::remove):
        (WebCore::ResourceHandleManager::add):
2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>

        Reviewed by Maciej.

        Linux\gdk build fixes.

        * GdkLauncher/main.cpp:
        (LauncherFrameGdk::LauncherFrameGdk):
        (main):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ea75f145
2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Maciej.
Remove warning about garbage after #else. #else clause applies for all
non-mac platforms, not only win.
* kjs/date_object.cpp:
2006-11-06 Mark Rowe <bdash@webkit.org> 2006-11-06 Mark Rowe <bdash@webkit.org>
Reviewed by the wonderful Mitz Pettel. Reviewed by the wonderful Mitz Pettel.
......
...@@ -154,7 +154,7 @@ static UString formatLocaleDate(ExecState *exec, double time, bool includeDate, ...@@ -154,7 +154,7 @@ static UString formatLocaleDate(ExecState *exec, double time, bool includeDate,
return UString(buffer, length); return UString(buffer, length);
} }
#else if PLATFORM(WIN_OS) #else
enum LocaleDateTimeFormat { LocaleDateAndTime, LocaleDate, LocaleTime }; enum LocaleDateTimeFormat { LocaleDateAndTime, LocaleDate, LocaleTime };
......
2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Maciej.
Linux\Gdk build fixes.
* loader/icon/IconDatabase.cpp:
* loader/icon/SQLStatement.h:
* platform/gdk/ChromeClientGdk.h: Added.
(WebCore::ChromeClientGdk::~ChromeClientGdk):
* platform/gdk/CursorGdk.cpp:
(WebCore::pointerCursor):
* platform/gdk/FrameGdk.cpp:
(WebCore::doScroll):
(WebCore::FrameGdk::FrameGdk):
(WebCore::FrameGdk::submitForm):
(WebCore::FrameGdk::urlSelected):
(WebCore::FrameGdk::openURL):
(WebCore::FrameGdk::handleGdkEvent):
* platform/gdk/FrameGdk.h:
(WebCore::FrameGdk::client):
* platform/gdk/RenderPopupMenuGdk.cpp:
(WebCore::PopupMenu::updateFromElement):
* platform/gdk/ScreenGdk.cpp:
* platform/gdk/TemporaryLinkStubs.cpp:
(Slider::focusPolicy):
(WebCore::ServeSynchronousRequest):
(FrameGdk::goBackOrForward):
(FrameGdk::getHistoryLength):
(FrameGdk::historyURL):
(ChromeClientGdk::canRunModal):
(ChromeClientGdk::runModal):
(WebCore::systemBeep):
(WebCore::CachedResource::setPlatformResponse):
(Path::transform):
(ResourceLoader::loadsBlocked):
(IconLoader::notifyIconChanged):
* platform/network/gdk/ResourceHandleManager.cpp:
(WebCore::writeCallback):
(WebCore::ResourceHandleManager::downloadTimerCallback):
(WebCore::ResourceHandleManager::remove):
(WebCore::ResourceHandleManager::add):
2006-11-06 Geoffrey Garen <ggaren@apple.com> 2006-11-06 Geoffrey Garen <ggaren@apple.com>
build fix. build fix.
...@@ -38,6 +38,8 @@ ...@@ -38,6 +38,8 @@
#if PLATFORM(WIN) #if PLATFORM(WIN)
#include <windows.h> #include <windows.h>
#include <winbase.h> #include <winbase.h>
#else
#include <sys/stat.h>
#endif #endif
namespace WebCore { namespace WebCore {
......
...@@ -100,4 +100,4 @@ private: ...@@ -100,4 +100,4 @@ private:
} // namespace WebCore } // namespace WebCore
#endif SQLStatement_H #endif // SQLStatement_H
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef ChromeClientGdk_H
#define ChromeClientGdk_H
#include "ChromeClient.h"
namespace WebCore {
class ChromeClientGdk : public ChromeClient {
public:
virtual ~ChromeClientGdk() { }
virtual bool canRunModal();
virtual void runModal();
};
}
#endif // ChromeClientGdk_H
...@@ -63,6 +63,12 @@ Cursor::Cursor(GdkCursor* c) ...@@ -63,6 +63,12 @@ Cursor::Cursor(GdkCursor* c)
gdk_cursor_ref(c); gdk_cursor_ref(c);
} }
const Cursor& pointerCursor()
{
static Cursor c = gdk_cursor_new(GDK_LEFT_PTR);
return c;
}
const Cursor& crossCursor() const Cursor& crossCursor()
{ {
static Cursor c = gdk_cursor_new(GDK_CROSS); static Cursor c = gdk_cursor_new(GDK_CROSS);
......
...@@ -27,35 +27,36 @@ ...@@ -27,35 +27,36 @@
#include "config.h" #include "config.h"
#include "FrameGdk.h" #include "FrameGdk.h"
#include "ChromeClientGdk.h"
#include "Element.h"
#include "RenderObject.h"
#include "RenderWidget.h"
#include "RenderLayer.h"
#include "Page.h"
#include "Document.h" #include "Document.h"
#include "DOMWindow.h"
#include "DOMImplementation.h" #include "DOMImplementation.h"
#include "Document.h" #include "DOMWindow.h"
#include "Settings.h" #include "Element.h"
#include "Plugin.h" #include "FrameView.h"
#include "FrameLoadRequest.h"
#include "FramePrivate.h" #include "FramePrivate.h"
#include "GraphicsContext.h" #include "GraphicsContext.h"
#include "HitTestResult.h"
#include "HitTestRequest.h"
#include "HTMLDocument.h" #include "HTMLDocument.h"
#include "ResourceHandle.h" #include "KeyboardCodes.h"
#include "ResourceHandleInternal.h" #include "MouseEventWithHitTestResults.h"
#include "Page.h"
#include "PlatformMouseEvent.h" #include "PlatformMouseEvent.h"
#include "PlatformKeyboardEvent.h" #include "PlatformKeyboardEvent.h"
#include "PlatformWheelEvent.h" #include "PlatformWheelEvent.h"
#include "MouseEventWithHitTestResults.h" #include "Plugin.h"
#include "RenderObject.h"
#include "RenderWidget.h"
#include "RenderLayer.h"
#include "ResourceHandle.h"
#include "ResourceHandleInternal.h"
#include "SelectionController.h" #include "SelectionController.h"
#include "TypingCommand.h" #include "Settings.h"
#include "SSLKeyGenerator.h" #include "SSLKeyGenerator.h"
#include "KeyboardCodes.h" #include "TypingCommand.h"
#include "FrameLoadRequest.h"
#include <gdk/gdk.h> #include <gdk/gdk.h>
// This function loads resources from WebKit // This function loads resources from WebKit
// This does not belong here and I'm not sure where // This does not belong here and I'm not sure where
// it should go // it should go
...@@ -151,13 +152,13 @@ static void doScroll(const RenderObject* r, float deltaX, float deltaY) ...@@ -151,13 +152,13 @@ static void doScroll(const RenderObject* r, float deltaX, float deltaY)
if (!r->layer()) if (!r->layer())
return; return;
int x = r->layer()->scrollXOffset() + deltaX; int x = r->layer()->scrollXOffset() + (int)deltaX;
int y = r->layer()->scrollYOffset() + deltaY; int y = r->layer()->scrollYOffset() + (int)deltaY;
r->layer()->scrollToOffset(x, y, true, true); r->layer()->scrollToOffset(x, y, true, true);
} }
FrameGdk::FrameGdk(GdkDrawable* gdkdrawable) FrameGdk::FrameGdk(GdkDrawable* gdkdrawable)
: Frame(new Page, 0), m_drawable(gdkdrawable) : Frame(new Page(new ChromeClientGdk()), 0, 0), m_drawable(gdkdrawable)
{ {
Settings* settings = new Settings; Settings* settings = new Settings;
settings->setAutoLoadImages(true); settings->setAutoLoadImages(true);
...@@ -182,8 +183,8 @@ FrameGdk::FrameGdk(GdkDrawable* gdkdrawable) ...@@ -182,8 +183,8 @@ FrameGdk::FrameGdk(GdkDrawable* gdkdrawable)
m_client->setFrame(this); m_client->setFrame(this);
} }
FrameGdk::FrameGdk(Page* page, Element* element) FrameGdk::FrameGdk(Page* page, Element* element, PassRefPtr<EditorClient> editorClient)
: Frame(page,element) : Frame(page,element, editorClient)
{ {
Settings* settings = new Settings; Settings* settings = new Settings;
settings->setAutoLoadImages(true); settings->setAutoLoadImages(true);
...@@ -199,7 +200,7 @@ FrameGdk::~FrameGdk() ...@@ -199,7 +200,7 @@ FrameGdk::~FrameGdk()
void FrameGdk::submitForm(const FrameLoadRequest& frameLoadRequest, Event*) void FrameGdk::submitForm(const FrameLoadRequest& frameLoadRequest, Event*)
{ {
ResourceRequest request = frameLoadRequest.m_request; ResourceRequest request = frameLoadRequest.resourceRequest();
// FIXME: this is a hack inherited from FrameMac, and should be pushed into Frame // FIXME: this is a hack inherited from FrameMac, and should be pushed into Frame
if (d->m_submittedFormURL == request.url()) if (d->m_submittedFormURL == request.url())
...@@ -208,13 +209,14 @@ void FrameGdk::submitForm(const FrameLoadRequest& frameLoadRequest, Event*) ...@@ -208,13 +209,14 @@ void FrameGdk::submitForm(const FrameLoadRequest& frameLoadRequest, Event*)
d->m_submittedFormURL = request.url(); d->m_submittedFormURL = request.url();
if (m_client) if (m_client)
m_client->submitForm(request.doPost() ? "POST" : "GET", request.url(), &request.postData); m_client->submitForm(request.httpMethod(), request.url(), &request.httpBody());
clearRecordedFormValues(); clearRecordedFormValues();
} }
void FrameGdk::urlSelected(const FrameLoadRequest& frameLoadRequest, Event*) void FrameGdk::urlSelected(const FrameLoadRequest& frameLoadRequest, Event*)
{ {
ResourceRequest request = frameLoadRequest.m_request; ResourceRequest request = frameLoadRequest.resourceRequest();
if (!m_client) if (!m_client)
return; return;
...@@ -222,6 +224,14 @@ void FrameGdk::urlSelected(const FrameLoadRequest& frameLoadRequest, Event*) ...@@ -222,6 +224,14 @@ void FrameGdk::urlSelected(const FrameLoadRequest& frameLoadRequest, Event*)
m_client->openURL(request.url()); m_client->openURL(request.url());
} }
#if 0
void FrameGdk::openURL(const KURL& url)
{
ASSERT(m_client);
m_client->openURL(url);
}
#endif
String FrameGdk::userAgent() const String FrameGdk::userAgent() const
{ {
return "Mozilla/5.0 (PC; U; Intel; Linux; en) AppleWebKit/420+ (KHTML, like Gecko)"; return "Mozilla/5.0 (PC; U; Intel; Linux; en) AppleWebKit/420+ (KHTML, like Gecko)";
...@@ -261,9 +271,11 @@ void FrameGdk::handleGdkEvent(GdkEvent* event) ...@@ -261,9 +271,11 @@ void FrameGdk::handleGdkEvent(GdkEvent* event)
if (wheelEvent.isAccepted()) { if (wheelEvent.isAccepted()) {
return; return;
} }
RenderObject::NodeInfo nodeInfo(true, true);
renderer()->layer()->hitTest(nodeInfo, wheelEvent.pos()); HitTestRequest hitTestRequest(true, true);
Node* node = nodeInfo.innerNode(); HitTestResult hitTestResult(wheelEvent.pos());
renderer()->layer()->hitTest(hitTestRequest, hitTestResult);
Node* node = hitTestResult.innerNode();
if (!node) if (!node)
return; return;
//Default to scrolling the page //Default to scrolling the page
......
...@@ -30,12 +30,14 @@ ...@@ -30,12 +30,14 @@
#include "Frame.h" #include "Frame.h"
#include "ResourceHandleClient.h" #include "ResourceHandleClient.h"
#include "EditorClient.h"
#include <gdk/gdk.h> #include <gdk/gdk.h>
namespace WebCore { namespace WebCore {
class Element; class Element;
class FrameGdk; class FrameGdk;
class EditorClient;
class FrameGdkClient { class FrameGdkClient {
public: public:
...@@ -73,7 +75,7 @@ private: ...@@ -73,7 +75,7 @@ private:
class FrameGdk : public Frame { class FrameGdk : public Frame {
public: public:
FrameGdk(Page*, Element*); FrameGdk(Page*, Element*, PassRefPtr<EditorClient>);
FrameGdk(GdkDrawable*); FrameGdk(GdkDrawable*);
virtual ~FrameGdk(); virtual ~FrameGdk();
...@@ -146,6 +148,10 @@ public: ...@@ -146,6 +148,10 @@ public:
virtual void partClearedInBegin(); virtual void partClearedInBegin();
virtual bool canGoBackOrForward(int distance) const; virtual bool canGoBackOrForward(int distance) const;
virtual void goBackOrForward(int distance);
virtual int getHistoryLength();
virtual KURL historyURL(int distance);
virtual void handledOnloadEvents(); virtual void handledOnloadEvents();
virtual bool canPaste() const; virtual bool canPaste() const;
...@@ -162,6 +168,8 @@ public: ...@@ -162,6 +168,8 @@ public:
virtual Frame* createFrame(const KURL&, const String& name, Element* ownerElement, const String& referrer); virtual Frame* createFrame(const KURL&, const String& name, Element* ownerElement, const String& referrer);
Widget* createJavaAppletWidget(const IntSize&, Element*, const HashMap<String, String>&); Widget* createJavaAppletWidget(const IntSize&, Element*, const HashMap<String, String>&);
FrameGdkClient* client() const { return m_client; }
private: private:
virtual bool isLoadTypeReload(); virtual bool isLoadTypeReload();
virtual bool passMouseDownEventToWidget(Widget*); virtual bool passMouseDownEventToWidget(Widget*);
......
...@@ -38,16 +38,6 @@ PopupMenu::~PopupMenu() ...@@ -38,16 +38,6 @@ PopupMenu::~PopupMenu()
{ {
} }
void PopupMenu::clear()
{
notImplemented();
}
void PopupMenu::populate()
{
notImplemented();
}
void PopupMenu::show(const IntRect&, FrameView*, int) void PopupMenu::show(const IntRect&, FrameView*, int)
{ {
notImplemented(); notImplemented();
...@@ -58,19 +48,9 @@ void PopupMenu::hide() ...@@ -58,19 +48,9 @@ void PopupMenu::hide()
notImplemented(); notImplemented();
} }
void PopupMenu::addSeparator() void PopupMenu::updateFromElement()
{ {
notImplemented(); notImplemented();
}
void PopupMenu::addGroupLabel(HTMLOptGroupElement*)
{
notImplemented();
}
void PopupMenu::addOption(HTMLOptionElement*)
{
notImplemented();
} }
} }
......
...@@ -28,10 +28,11 @@ ...@@ -28,10 +28,11 @@
#include "config.h" #include "config.h"
#include "Screen.h" #include "Screen.h"
#include "Page.h" #include "FloatRect.h"
#include "Frame.h" #include "Frame.h"
#include "FrameView.h"
#include "Page.h"
#include "Widget.h" #include "Widget.h"
#include "FloatRect.h"
#include <gdk/gdk.h> #include <gdk/gdk.h>
......
...@@ -27,46 +27,50 @@ ...@@ -27,46 +27,50 @@
#include "config.h" #include "config.h"
#include <stdio.h> #include "AXObjectCache.h"
#include <stdlib.h> #include "CachedResource.h"
#include "ChromeClientGdk.h"
#include "CookieJar.h"
#include "CString.h" #include "CString.h"
#include "Node.h" #include "Cursor.h"
#include "TextField.h" #include "EditCommand.h"
#include "FileChooser.h" #include "FileChooser.h"
#include "Font.h" #include "Font.h"
#include "ListBox.h" #include "FrameGdk.h"
#include "IntPoint.h" #include "FrameLoadRequest.h"
#include "Widget.h"
#include "GraphicsContext.h"
#include "Slider.h"
#include "Cursor.h"
#include "loader.h"
#include "FrameView.h" #include "FrameView.h"
#include "KURL.h" #include "GraphicsContext.h"
#include "PlatformScrollBar.h"
#include "ScrollBar.h"
#include "Path.h"
#include "PlatformMouseEvent.h"
#include "CookieJar.h"
#include "Screen.h"
#include "History.h" #include "History.h"
#include "Icon.h"
#include "IconDatabase.h"
#include "IconLoader.h"
#include "IntPoint.h"
#include "KURL.h"
#include "Language.h" #include "Language.h"
#include "loader.h"
#include "LocalizedStrings.h" #include "LocalizedStrings.h"
#include "Node.h"
#include "Page.h"
#include "Path.h"
#include "PlatformMouseEvent.h"
#include "PlatformScrollBar.h"
#include "PlugInInfoStore.h" #include "PlugInInfoStore.h"
#include "RenderTheme.h" #include "RenderTheme.h"
#include "FrameGdk.h"
#include "FrameLoadRequest.h"
#include "RenderThemeGdk.h" #include "RenderThemeGdk.h"
#include "ResourceLoader.h"
#include "Screen.h"
#include "ScrollBar.h"
#include "Slider.h"
#include "TextBoundaries.h" #include "TextBoundaries.h"
#include "AXObjectCache.h" #include "TextField.h"
#include "EditCommand.h" #include "Widget.h"
#include "Icon.h" #include <stdio.h>
#include "IconLoader.h" #include <stdlib.h>
#include "IconDatabase.h"
#include "CachedResource.h"
using namespace WebCore; using namespace WebCore;
#define notImplemented() do { fprintf(stderr, "%s FIXME: UNIMPLEMENTED %s:%d\n", __PRETTY_FUNCTION__, __FILE__, __LINE__); } while(0)
namespace WebCore { namespace WebCore {
struct PlatformDataStruct struct PlatformDataStruct
{ {
...@@ -77,8 +81,6 @@ struct PlatformResponseStruct ...@@ -77,8 +81,6 @@ struct PlatformResponseStruct
}; };
} }
#define notImplemented() do { fprintf(stderr, "FIXME: UNIMPLEMENTED: %s in %s:%d\n", __FUNCTION__, __FILE__, __LINE__); } while(0)
void FrameView::updateBorder() { notImplemented(); } void FrameView::updateBorder() { notImplemented(); }
bool FrameView::passMousePressEventToScrollbar(MouseEventWithHitTestResults&, PlatformScrollbar*) { return false; } bool FrameView::passMousePressEventToScrollbar(MouseEventWithHitTestResults&, PlatformScrollbar*) { return false; }
bool FrameView::passMousePressEventToSubframe(MouseEventWithHitTestResults&, Frame*) { return true; } bool FrameView::passMousePressEventToSubframe(MouseEventWithHitTestResults&, Frame*) { return true; }
...@@ -114,18 +116,7 @@ Slider::~Slider() { notImplemented(); } ...@@ -114,18 +116,7 @@ Slider::~Slider() { notImplemented(); }
void Slider::setFont(WebCore::Font const&) { notImplemented(); } void Slider::setFont(WebCore::Font const&) { notImplemented(); }
double Slider::value() const { notImplemented(); return 0; } double Slider::value() const { notImplemented(); return 0; }
void ListBox::setSelected(int, bool) { notImplemented(); }
IntSize ListBox::sizeForNumberOfLines(int) const { notImplemented(); return IntSize(); }
bool ListBox::isSelected(int) const { notImplemented(); return 0; }
void ListBox::appendItem(DeprecatedString const&, ListBoxItemType, bool) { notImplemented(); }
void ListBox::doneAppendingItems() { notImplemented(); }
void ListBox::setWritingDirection(TextDirection) { notImplemented(); }
void ListBox::setEnabled(bool) { notImplemented(); }
void ListBox::clear() { notImplemented(); }
bool ListBox::checksDescendantsForFocus() const { notImplemented(); return 0; }
Widget::FocusPolicy Slider::focusPolicy() const { notImplemented(); return NoFocus; } Widget::FocusPolicy Slider::focusPolicy() const { notImplemented(); return NoFocus; }
Widget::FocusPolicy ListBox::focusPolicy() const { notImplemented(); return NoFocus; }
Widget::FocusPolicy TextField::focusPolicy() const { notImplemented(); return NoFocus; } Widget::FocusPolicy TextField::focusPolicy() const { notImplemented(); return NoFocus; }
Cursor::Cursor(Image*, const IntPoint&) { notImplemented(); } Cursor::Cursor(Image*, const IntPoint&) { notImplemented(); }
...@@ -138,9 +129,7 @@ void WebCore::findSentenceBoundary(UChar const*, int, int, int*, int*) { notImpl ...@@ -138,9 +129,7 @@ void WebCore::findSentenceBoundary(UChar const*, int, int, int*, int*) { notImpl
int WebCore::findNextWordFromIndex(UChar const*, int, int, bool) { notImplemented(); return 0; } int WebCore::findNextWordFromIndex(UChar const*, int, int, bool) { notImplemented(); return 0; }
namespace WebCore { namespace WebCore {
Vector<char> ServeSynchronousRequest(Loader *loader, DocLoader *docLoader, const ResourceRequest& request, ResourceResponse& response) { notImplemented(); return Vector<char>(); }
Vector<char> ServeSynchronousRequest(Loader*,DocLoader*,ResourceHandle*,KURL&,DeprecatedString&) { notImplemented(); return Vector<char>(); }
} }
void FrameGdk::focusWindow() { notImplemented(); } void FrameGdk::focusWindow() { notImplemented(); }
...@@ -179,6 +168,12 @@ bool FrameGdk::isLoadTypeReload() { notImplemented(); return false; } ...@@ -179,6 +168,12 @@ bool FrameGdk::isLoadTypeReload() { notImplemented(); return false; }
KURL FrameGdk::originalRequestURL() const { return KURL(); } KURL FrameGdk::originalRequestURL() const { return KURL(); }
Plugin* FrameGdk::createPlugin(Element*, KURL const&, const Vector<String>&, const Vector<String>&, String const&) { notImplemented(); return 0; } Plugin* FrameGdk::createPlugin(Element*, KURL const&, const Vector<String>&, const Vector<String>&, String const&) { notImplemented(); return 0; }
void FrameGdk::goBackOrForward(int distance) { notImplemented(); }
int FrameGdk::getHistoryLength() {notImplemented(); return 0; }
KURL FrameGdk::historyURL(int distance) { notImplemented(); return KURL(); }
bool ChromeClientGdk::canRunModal() { notImplemented(); return 0; }
void ChromeClientGdk::runModal() { notImplemented(); }
int WebCore::screenDepthPerComponent(const Page*) { notImplemented(); return 0; } int WebCore::screenDepthPerComponent(const Page*) { notImplemented(); return 0; }
bool WebCore::screenIsMonochrome(const Page*) { notImplemented(); return false; } bool WebCore::screenIsMonochrome(const Page*) { notImplemented(); return false; }
...@@ -206,9 +201,6 @@ unsigned PlugInInfoStore::pluginCount() const { return 0; } ...@@ -206,9 +201,6 @@ unsigned PlugInInfoStore::pluginCount() const { return 0; }
bool WebCore::PlugInInfoStore::supportsMIMEType(const WebCore::String&) { return false; } bool WebCore::PlugInInfoStore::supportsMIMEType(const WebCore::String&) { return false; }
void WebCore::refreshPlugins(bool) { } void WebCore::refreshPlugins(bool) { }
void WebCore::ResourceHandle::assembleResponseHeaders() const { }
void WebCore::ResourceHandle::retrieveCharset() const { }
void FrameGdk::restoreDocumentState() { } void FrameGdk::restoreDocumentState() { }
void FrameGdk::partClearedInBegin() { } void FrameGdk::partClearedInBegin() { }
void FrameGdk::createEmptyDocument() { } void FrameGdk::createEmptyDocument() { }
...@@ -231,6 +223,8 @@ void FrameGdk::respondToChangedContents(const Selection&) { } ...@@ -231,6 +223,8 @@ void FrameGdk::respondToChangedContents(const Selection&) { }
namespace WebCore { namespace WebCore {
void systemBeep() { notImplemented(); }
bool CheckIfReloading(DocLoader*) { return false; } bool CheckIfReloading(DocLoader*) { return false; }
time_t CacheObjectExpiresTime(DocLoader*, PlatformResponse) { return 0; } time_t CacheObjectExpiresTime(DocLoader*, PlatformResponse) { return 0; }
void CheckCacheObjectStatus(DocLoader*, CachedResource*) { } void CheckCacheObjectStatus(DocLoader*, CachedResource*) { }
...@@ -238,7 +232,7 @@ DeprecatedString ResponseURL(PlatformResponse) { return DeprecatedString(); } ...@@ -238,7 +232,7 @@ DeprecatedString ResponseURL(PlatformResponse) { return DeprecatedString(); }
bool IsResponseURLEqualToURL(PlatformResponse , const String& URL) { return false; } bool IsResponseURLEqualToURL(PlatformResponse , const String& URL) { return false; }
bool ResponseIsMultipart(PlatformResponse) { return false; } bool ResponseIsMultipart(PlatformResponse) { return false; }
DeprecatedString ResponseMIMEType(PlatformResponse) { return DeprecatedString(); } DeprecatedString ResponseMIMEType(PlatformResponse) { return DeprecatedString(); }
void CachedResource::setResponse(PlatformResponse) { notImplemented(); } void CachedResource::setPlatformResponse(PlatformResponse) { notImplemented(); }
void CachedResource::setAllData(PlatformData) { notImplemented(); } void CachedResource::setAllData(PlatformData) { notImplemented(); }