Author: stippi Date: Tue Mar 9 00:34:18 2010 New Revision: 300 URL: http://mmlr.dyndns.org/changeset/300 Log: Make BWebPage accessible. Will be needed in code that needs to get to it from within WebCore. (The Qt port does it like that, though perhaps I can find it better solution, as it's a layering violation.) Modified: webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.h Modified: webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp ============================================================================== --- webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp Mon Mar 8 20:37:20 2010 (r299) +++ webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp Tue Mar 9 00:34:18 2010 (r300) @@ -90,6 +90,11 @@ m_messenger = messenger; } +BWebPage* FrameLoaderClientHaiku::page() const +{ + return m_webPage; +} + void FrameLoaderClientHaiku::frameLoaderDestroyed() { // No one else feels responsible for the BWebFrame instance that created us. Modified: webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.h ============================================================================== --- webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.h Mon Mar 8 20:37:20 2010 (r299) +++ webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.h Tue Mar 9 00:34:18 2010 (r300) @@ -58,6 +58,7 @@ FrameLoaderClientHaiku(BWebPage*, BWebFrame*); void setDispatchTarget(const BMessenger& messenger); + BWebPage* page() const; virtual void frameLoaderDestroyed();