Title: [150369] trunk/Source/WebKit2
- Revision
- 150369
- Author
- wei...@apple.com
- Date
- 2013-05-20 09:21:47 -0700 (Mon, 20 May 2013)
Log Message
Bump WKBundlePageLoaderClient version number so as not to break some clients
https://bugs.webkit.org/show_bug.cgi?id=116426
Reviewed by Anders Carlsson.
* Shared/APIClientTraits.cpp:
(WebKit):
* Shared/APIClientTraits.h:
* WebProcess/InjectedBundle/API/c/WKBundlePage.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (150368 => 150369)
--- trunk/Source/WebKit2/ChangeLog 2013-05-20 16:00:52 UTC (rev 150368)
+++ trunk/Source/WebKit2/ChangeLog 2013-05-20 16:21:47 UTC (rev 150369)
@@ -1,3 +1,15 @@
+2013-05-19 Sam Weinig <s...@webkit.org>
+
+ Bump WKBundlePageLoaderClient version number so as not to break some clients
+ https://bugs.webkit.org/show_bug.cgi?id=116426
+
+ Reviewed by Anders Carlsson.
+
+ * Shared/APIClientTraits.cpp:
+ (WebKit):
+ * Shared/APIClientTraits.h:
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
+
2013-05-19 Anders Carlsson <ander...@apple.com>
Remove link prerendering code
Modified: trunk/Source/WebKit2/Shared/APIClientTraits.cpp (150368 => 150369)
--- trunk/Source/WebKit2/Shared/APIClientTraits.cpp 2013-05-20 16:00:52 UTC (rev 150368)
+++ trunk/Source/WebKit2/Shared/APIClientTraits.cpp 2013-05-20 16:21:47 UTC (rev 150369)
@@ -42,6 +42,7 @@
offsetof(WKBundlePageLoaderClient, didReceiveIntentForFrame_unavailable),
offsetof(WKBundlePageLoaderClient, registerIntentServiceForFrame_unavailable),
offsetof(WKBundlePageLoaderClient, didLayout),
+ offsetof(WKBundlePageLoaderClient, featuresUsedInPage),
sizeof(WKBundlePageLoaderClient)
};
Modified: trunk/Source/WebKit2/Shared/APIClientTraits.h (150368 => 150369)
--- trunk/Source/WebKit2/Shared/APIClientTraits.h 2013-05-20 16:00:52 UTC (rev 150368)
+++ trunk/Source/WebKit2/Shared/APIClientTraits.h 2013-05-20 16:21:47 UTC (rev 150369)
@@ -44,7 +44,7 @@
};
template<> struct APIClientTraits<WKBundlePageLoaderClient> {
- static const size_t interfaceSizesByVersion[6];
+ static const size_t interfaceSizesByVersion[7];
};
template<> struct APIClientTraits<WKBundlePageResourceLoadClient> {
Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h (150368 => 150369)
--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h 2013-05-20 16:00:52 UTC (rev 150368)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h 2013-05-20 16:21:47 UTC (rev 150369)
@@ -161,12 +161,14 @@
// Version 5
WKBundlePageFeaturesUsedInPageCallback featuresUsedInPage;
+
+ // Version 6
WKBundlePageWillLoadURLRequestCallback willLoadURLRequest;
WKBundlePageWillLoadDataRequestCallback willLoadDataRequest;
};
typedef struct WKBundlePageLoaderClient WKBundlePageLoaderClient;
-enum { kWKBundlePageLoaderClientCurrentVersion = 5 };
+enum { kWKBundlePageLoaderClientCurrentVersion = 6 };
enum {
WKBundlePagePolicyActionPassThrough,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes