Title: [117301] trunk/Source/WebKit2
Revision
117301
Author
[email protected]
Date
2012-05-16 09:30:10 -0700 (Wed, 16 May 2012)

Log Message

https://bugs.webkit.org/show_bug.cgi?id=86638
Bump the version number on the WKBundlePageLoaderClient

Reviewed by Dan Bernstein.

* WebProcess/InjectedBundle/API/c/WKBundlePage.h: s/1/2/
* Shared/APIClientTraits.cpp: Update client traits for the BundlePageLoaderClient
* Shared/APIClientTraits.h: Update client traits for the BundlePageLoaderClient

* ChangeLog: Change a confusing ChangeLog entry to reflect the actual client that was changed.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (117300 => 117301)


--- trunk/Source/WebKit2/ChangeLog	2012-05-16 16:22:25 UTC (rev 117300)
+++ trunk/Source/WebKit2/ChangeLog	2012-05-16 16:30:10 UTC (rev 117301)
@@ -1,6 +1,19 @@
+2012-05-16  Brady Eidson  <[email protected]>
+
+        https://bugs.webkit.org/show_bug.cgi?id=86638
+        Bump the version number on the WKBundlePageLoaderClient
+
+        Reviewed by Dan Bernstein.
+
+        * WebProcess/InjectedBundle/API/c/WKBundlePage.h: s/1/2/
+        * Shared/APIClientTraits.cpp: Update client traits for the BundlePageLoaderClient
+        * Shared/APIClientTraits.h: Update client traits for the BundlePageLoaderClient
+
+        * ChangeLog: Change a confusing ChangeLog entry to reflect the actual client that was changed.
+
 2012-05-16  Dinu Jacob  <[email protected]>
 
-        Add didFinishProgress BundleUIClient callback
+        Add didFinishProgress BundlePageLoaderClient callback
         https://bugs.webkit.org/show_bug.cgi?id=86541
 
         Reviewed by Kenneth Rohde Christiansen.

Modified: trunk/Source/WebKit2/Shared/APIClientTraits.cpp (117300 => 117301)


--- trunk/Source/WebKit2/Shared/APIClientTraits.cpp	2012-05-16 16:22:25 UTC (rev 117300)
+++ trunk/Source/WebKit2/Shared/APIClientTraits.cpp	2012-05-16 16:30:10 UTC (rev 117301)
@@ -33,6 +33,7 @@
 
 const size_t APIClientTraits<WKBundlePageLoaderClient>::interfaceSizesByVersion[] = {
     offsetof(WKBundlePageLoaderClient, didLayoutForFrame),
+    offsetof(WKBundlePageLoaderClient, didFinishProgress),
     sizeof(WKBundlePageLoaderClient)
 };
 

Modified: trunk/Source/WebKit2/Shared/APIClientTraits.h (117300 => 117301)


--- trunk/Source/WebKit2/Shared/APIClientTraits.h	2012-05-16 16:22:25 UTC (rev 117300)
+++ trunk/Source/WebKit2/Shared/APIClientTraits.h	2012-05-16 16:30:10 UTC (rev 117301)
@@ -37,7 +37,7 @@
 template <typename ClientInterface> const size_t APIClientTraits<ClientInterface>::interfaceSizesByVersion[] = { sizeof(ClientInterface) };
 
 template<> struct APIClientTraits<WKBundlePageLoaderClient> {
-    static const size_t interfaceSizesByVersion[2];
+    static const size_t interfaceSizesByVersion[3];
 };
 
 template<> struct APIClientTraits<WKBundlePageResourceLoadClient> {

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h (117300 => 117301)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h	2012-05-16 16:22:25 UTC (rev 117300)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h	2012-05-16 16:30:10 UTC (rev 117301)
@@ -142,11 +142,13 @@
     WKBundlePageWillDisconnectDOMWindowExtensionFromGlobalObjectCallback    willDisconnectDOMWindowExtensionFromGlobalObject;
     WKBundlePageDidReconnectDOMWindowExtensionToGlobalObjectCallback        didReconnectDOMWindowExtensionToGlobalObject;
     WKBundlePageWillDestroyGlobalObjectForDOMWindowExtensionCallback        willDestroyGlobalObjectForDOMWindowExtension;
+    
+    // Version 2
     WKBundlePageDidFinishProgressCallback                                   didFinishProgress;
 };
 typedef struct WKBundlePageLoaderClient WKBundlePageLoaderClient;
 
-enum { kWKBundlePageLoaderClientCurrentVersion = 1 };
+enum { kWKBundlePageLoaderClientCurrentVersion = 2 };
 
 enum {
     WKBundlePagePolicyActionPassThrough,
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to