Commit a0f3dadc authored by andreas.kling@nokia.com's avatar andreas.kling@nokia.com
Browse files

2011-01-25 Andreas Kling <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt][WK2] Add QWKPage::processCrashed() signal
        https://bugs.webkit.org/show_bug.cgi?id=53076

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::processDidCrash):
        * UIProcess/API/qt/qwkpage.h:
        * UIProcess/API/qt/qwkpage_p.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0b637892
2011-01-25 Andreas Kling <kling@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt][WK2] Add QWKPage::processCrashed() signal
https://bugs.webkit.org/show_bug.cgi?id=53076
* UIProcess/API/qt/qwkpage.cpp:
(QWKPagePrivate::processDidCrash):
* UIProcess/API/qt/qwkpage.h:
* UIProcess/API/qt/qwkpage_p.h:
2011-01-24 Anders Carlsson <andersca@apple.com>
 
Fix build.
......@@ -393,6 +393,11 @@ void QWKPagePrivate::didRelaunchProcess()
q->setViewportSize(wkView->size().toSize());
}
void QWKPagePrivate::processDidCrash()
{
emit q->processCrashed();
}
QWKPage::QWKPage(QWKContext* context)
: d(new QWKPagePrivate(this, context))
{
......
......@@ -133,6 +133,7 @@ public:
Q_SIGNAL void zoomableAreaFound(const QRect&);
Q_SIGNAL void focusNextPrevChild(bool);
Q_SIGNAL void showContextMenu(QMenu*);
Q_SIGNAL void processCrashed();
protected:
void timerEvent(QTimerEvent*);
......
......@@ -61,7 +61,7 @@ public:
void pageDidLeaveAcceleratedCompositing() { }
#endif // USE(ACCELERATED_COMPOSITING)
virtual void pageDidRequestScroll(const WebCore::IntSize&);
virtual void processDidCrash() { }
virtual void processDidCrash();
virtual void didRelaunchProcess();
virtual void didChangeContentsSize(const WebCore::IntSize&);
virtual void didFindZoomableArea(const WebCore::IntRect&);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment