diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h')
-rw-r--r-- | Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h b/Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h index 821b0ab42..0558efdba 100644 --- a/Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h +++ b/Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h @@ -26,7 +26,7 @@ #ifndef WKContextHistoryClient_h #define WKContextHistoryClient_h -#include <WebKit2/WKBase.h> +#include <WebKit/WKBase.h> typedef void (*WKContextDidNavigateWithNavigationDataCallback)(WKContextRef context, WKPageRef page, WKNavigationDataRef navigationData, WKFrameRef frame, const void *clientInfo); typedef void (*WKContextDidPerformClientRedirectCallback)(WKContextRef context, WKPageRef page, WKURLRef sourceURL, WKURLRef destinationURL, WKFrameRef frame, const void *clientInfo); @@ -50,17 +50,4 @@ typedef struct WKContextHistoryClientV0 { WKContextPopulateVisitedLinksCallback populateVisitedLinks; } WKContextHistoryClientV0; -enum { kWKContextHistoryClientCurrentVersion WK_ENUM_DEPRECATED("Use an explicit version number instead") = 0 }; -typedef struct WKContextHistoryClient { - int version; - const void * clientInfo; - - // Version 0. - WKContextDidNavigateWithNavigationDataCallback didNavigateWithNavigationData; - WKContextDidPerformClientRedirectCallback didPerformClientRedirect; - WKContextDidPerformServerRedirectCallback didPerformServerRedirect; - WKContextDidUpdateHistoryTitleCallback didUpdateHistoryTitle; - WKContextPopulateVisitedLinksCallback populateVisitedLinks; -} WKContextHistoryClient WK_DEPRECATED("Use an explicit versioned struct instead"); - #endif // WKContextHistoryClient_h |