summaryrefslogtreecommitdiffstats
path: root/WebKit/haiku
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/haiku')
-rw-r--r--WebKit/haiku/ChangeLog40
-rw-r--r--WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp2
-rw-r--r--WebKit/haiku/WebCoreSupport/ChromeClientHaiku.h3
-rw-r--r--WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp10
4 files changed, 48 insertions, 7 deletions
diff --git a/WebKit/haiku/ChangeLog b/WebKit/haiku/ChangeLog
index f73a332..457e3f4 100644
--- a/WebKit/haiku/ChangeLog
+++ b/WebKit/haiku/ChangeLog
@@ -1,3 +1,43 @@
+2009-10-07 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Darin Adler.
+
+ Factor PolicyChecker out of FrameLoader
+ https://bugs.webkit.org/show_bug.cgi?id=30155
+
+ Move the policy callback to the policy object.
+
+ * WebCoreSupport/FrameLoaderClientHaiku.cpp:
+ (WebCore::FrameLoaderClientHaiku::dispatchWillSubmitForm):
+ (WebCore::FrameLoaderClientHaiku::dispatchDecidePolicyForMIMEType):
+ (WebCore::FrameLoaderClientHaiku::dispatchDecidePolicyForNewWindowAction):
+ (WebCore::FrameLoaderClientHaiku::dispatchDecidePolicyForNavigationAction):
+
+2009-09-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ Reviewed by Simon Hausmann.
+
+ Make PlatformWindow return something else than PlatformWidget
+ https://bugs.webkit.org/show_bug.cgi?id=29085
+
+ Reflect the rename of platformWindow and it's return type.
+
+ * WebCoreSupport/ChromeClientHaiku.cpp:
+ (WebCore::ChromeClientHaiku::platformPageClient):
+ * WebCoreSupport/ChromeClientHaiku.h:
+
+2009-08-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
+
+ Reviewed by Holger Freyther.
+
+ https://bugs.webkit.org/show_bug.cgi?id=25889
+ [GTK] scrollbar policy for main frame is not implementable
+
+ Add empty implementation for new ChromeClient method.
+
+ * WebCoreSupport/ChromeClientHaiku.h:
+ (ChromeClientHaiku::scrollbarsModeDidChange):
+
2009-07-29 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin Adler.
diff --git a/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp b/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp
index 8932da1..4820d78 100644
--- a/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp
+++ b/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp
@@ -271,7 +271,7 @@ IntRect ChromeClientHaiku::windowToScreen(const IntRect&) const
return IntRect();
}
-PlatformWidget ChromeClientHaiku::platformWindow() const
+PlatformPageClient ChromeClientHaiku::platformPageClient() const
{
notImplemented();
return PlatformWidget();
diff --git a/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.h b/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.h
index 386c380..a6f57eb 100644
--- a/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.h
+++ b/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.h
@@ -104,7 +104,7 @@ namespace WebCore {
void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect);
IntPoint screenToWindow(const IntPoint&) const;
IntRect windowToScreen(const IntRect&) const;
- PlatformWidget platformWindow() const;
+ PlatformPageClient platformPageClient() const;
void contentsSizeChanged(Frame*, const IntSize&) const;
void scrollRectIntoView(const IntRect&, const ScrollView*) const;
@@ -112,6 +112,7 @@ namespace WebCore {
void scrollBackingStore(int, int, const IntRect&, const IntRect&);
void updateBackingStore();
+ void scrollbarsModeDidChange() const { }
void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlags);
void setToolTip(const String&);
diff --git a/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp b/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp
index d2683c0..a8ba16f 100644
--- a/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp
+++ b/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp
@@ -280,7 +280,7 @@ void FrameLoaderClientHaiku::dispatchWillSubmitForm(FramePolicyFunction function
// FIXME: Send an event to allow for alerts and cancellation.
if (!m_frame)
return;
- (m_frame->loader()->*function)(PolicyUse);
+ (m_frame->loader()->policyChecker()->*function)(PolicyUse);
}
void FrameLoaderClientHaiku::dispatchDidLoadMainResource(DocumentLoader*)
@@ -635,7 +635,7 @@ void FrameLoaderClientHaiku::dispatchDecidePolicyForMIMEType(FramePolicyFunction
return;
notImplemented();
- (m_frame->loader()->*function)(PolicyUse);
+ (m_frame->loader()->policyChecker()->*function)(PolicyUse);
}
void FrameLoaderClientHaiku::dispatchDecidePolicyForNewWindowAction(FramePolicyFunction function,
@@ -650,12 +650,12 @@ void FrameLoaderClientHaiku::dispatchDecidePolicyForNewWindowAction(FramePolicyF
BMessage message(NEW_WINDOW_REQUESTED);
message.AddString("url", request.url().string());
if (m_messenger->SendMessage(&message)) {
- (m_frame->loader()->*function)(PolicyIgnore);
+ (m_frame->loader()->policyChecker()->*function)(PolicyIgnore);
return;
}
}
- (m_frame->loader()->*function)(PolicyUse);
+ (m_frame->loader()->policyChecker()->*function)(PolicyUse);
}
void FrameLoaderClientHaiku::dispatchDecidePolicyForNavigationAction(FramePolicyFunction function,
@@ -671,7 +671,7 @@ void FrameLoaderClientHaiku::dispatchDecidePolicyForNavigationAction(FramePolicy
message.AddString("url", request.url().string());
m_messenger->SendMessage(&message);
- (m_frame->loader()->*function)(PolicyUse);
+ (m_frame->loader()->policyChecker()->*function)(PolicyUse);
}
}