WebKit2/UIProcess/API/qt/ClientImpl.h
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 /*
       
     2     Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
       
     3 
       
     4     This library is free software; you can redistribute it and/or
       
     5     modify it under the terms of the GNU Library General Public
       
     6     License as published by the Free Software Foundation; either
       
     7     version 2 of the License, or (at your option) any later version.
       
     8 
       
     9     This library is distributed in the hope that it will be useful,
       
    10     but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    12     Library General Public License for more details.
       
    13 
       
    14     You should have received a copy of the GNU Library General Public License
       
    15     along with this library; see the file COPYING.LIB.  If not, write to
       
    16     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
       
    17     Boston, MA 02110-1301, USA.
       
    18 */
       
    19 
       
    20 #ifndef DefaultClientCallbacksQt_h
       
    21 #define DefaultClientCallbacksQt_h
       
    22 
       
    23 #include <WebKit2/WKBase.h>
       
    24 
       
    25 #ifdef __cplusplus
       
    26 extern "C" {
       
    27 #endif
       
    28 
       
    29 // loader client
       
    30 void qt_wk_didStartProvisionalLoadForFrame(WKPageRef, WKFrameRef, const void* clientInfo);
       
    31 void qt_wk_didReceiveServerRedirectForProvisionalLoadForFrame(WKPageRef, WKFrameRef, const void* clientInfo);
       
    32 void qt_wk_didFailProvisionalLoadWithErrorForFrame(WKPageRef, WKFrameRef, const void* clientInfo);
       
    33 void qt_wk_didCommitLoadForFrame(WKPageRef, WKFrameRef, const void* clientInfo);
       
    34 void qt_wk_didFinishLoadForFrame(WKPageRef, WKFrameRef, const void* clientInfo);
       
    35 void qt_wk_didFailLoadWithErrorForFrame(WKPageRef, WKFrameRef, const void* clientInfo);
       
    36 void qt_wk_didReceiveTitleForFrame(WKPageRef, WKStringRef title, WKFrameRef, const void* clientInfo);
       
    37 void qt_wk_didFirstLayoutForFrame(WKPageRef, WKFrameRef, const void* clientInfo);
       
    38 void qt_wk_didFirstVisuallyNonEmptyLayoutForFrame(WKPageRef, WKFrameRef, const void* clientInfo);
       
    39 void qt_wk_didStartProgress(WKPageRef, const void* clientInfo);
       
    40 void qt_wk_didChangeProgress(WKPageRef, const void* clientInfo);
       
    41 void qt_wk_didFinishProgress(WKPageRef, const void* clientInfo);
       
    42 void qt_wk_didBecomeUnresponsive(WKPageRef, const void* clientInfo);
       
    43 void qt_wk_didBecomeResponsive(WKPageRef, const void* clientInfo);
       
    44 
       
    45 // ui client
       
    46 WKPageRef qt_wk_createNewPage(WKPageRef page, const void *clientInfo);
       
    47 void qt_wk_showPage(WKPageRef page, const void *clientInfo);
       
    48 void qt_wk_close(WKPageRef page, const void *clientInfo);
       
    49 void qt_wk_runJavaScriptAlert(WKPageRef page, WKStringRef alertText, WKFrameRef frame, const void* clientInfo);
       
    50 
       
    51 #ifdef __cplusplus
       
    52 }
       
    53 #endif
       
    54 
       
    55 #endif /* DefaultClientCallbacksQt_h */
       
    56