2011-05-30 No'am Rosenthal <noam.rosenthal@nokia.com>
authornoam.rosenthal@nokia.com <noam.rosenthal@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 May 2011 22:02:57 +0000 (22:02 +0000)
committernoam.rosenthal@nokia.com <noam.rosenthal@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 May 2011 22:02:57 +0000 (22:02 +0000)
        Reviewed by Simon Hausmann.

        WebKit2: Enable serializing of data types needed for cross-process accelerated compositing
        https://bugs.webkit.org/show_bug.cgi?id=61694

        Add WebCore::Length and WebCore::TransformationMatrix to the types that use SimpleArgumentCoder.

        * Scripts/webkit2/messages.py:
        * Shared/WebCoreArgumentCoders.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87699 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/Scripts/webkit2/messages.py
Source/WebKit2/Shared/WebCoreArgumentCoders.h

index 3d34bf9..189a823 100644 (file)
@@ -1,3 +1,15 @@
+2011-05-30  No'am Rosenthal  <noam.rosenthal@nokia.com>
+
+        Reviewed by Simon Hausmann.
+
+        WebKit2: Enable serializing of data types needed for cross-process accelerated compositing
+        https://bugs.webkit.org/show_bug.cgi?id=61694
+
+        Add WebCore::Length and WebCore::TransformationMatrix to the types that use SimpleArgumentCoder.
+
+        * Scripts/webkit2/messages.py:
+        * Shared/WebCoreArgumentCoders.h:
+
 2011-05-30  Anders Carlsson  <andersca@apple.com>
 
         Reviewed by Simon Fraser.
index 33ded6d..c84ccb9 100644 (file)
@@ -255,8 +255,10 @@ def struct_or_class(namespace, type):
         'WebCore::CompositionUnderline',
         'WebCore::GrammarDetail',
         'WebCore::KeypressCommand',
+        'WebCore::Length',
         'WebCore::PluginInfo',
         'WebCore::PrintInfo',
+        'WebCore::TransformationMatrix',
         'WebCore::ViewportArguments',
         'WebCore::WindowFeatures',
         'WebKit::AttributedString',
index 1b9b4f5..9c604c1 100644 (file)
 #include <WebCore/GraphicsContext.h>
 #include <WebCore/IntRect.h>
 #include <WebCore/KeyboardEvent.h>
+#include <WebCore/Length.h>
 #include <WebCore/PluginData.h>
 #include <WebCore/ProtectionSpace.h>
 #include <WebCore/ResourceError.h>
 #include <WebCore/ResourceRequest.h>
 #include <WebCore/TextCheckerClient.h>
+#include <WebCore/TransformationMatrix.h>
 #include <WebCore/ViewportArguments.h>
 #include <WebCore/WindowFeatures.h>
 #include <limits>
 
+
 namespace CoreIPC {
 
 template<> struct ArgumentCoder<WebCore::IntPoint> : SimpleArgumentCoder<WebCore::IntPoint> { };
@@ -61,6 +64,8 @@ template<> struct ArgumentCoder<WebCore::ViewportArguments> : SimpleArgumentCode
 template<> struct ArgumentCoder<WebCore::FloatPoint> : SimpleArgumentCoder<WebCore::FloatPoint> { };
 template<> struct ArgumentCoder<WebCore::FloatSize> : SimpleArgumentCoder<WebCore::FloatSize> { };
 template<> struct ArgumentCoder<WebCore::FloatRect> : SimpleArgumentCoder<WebCore::FloatRect> { };
+template<> struct ArgumentCoder<WebCore::Length> : SimpleArgumentCoder<WebCore::Length> { };
+template<> struct ArgumentCoder<WebCore::TransformationMatrix> : SimpleArgumentCoder<WebCore::TransformationMatrix> { };
 
 template<> struct ArgumentCoder<WebCore::MimeClassInfo> {
     static void encode(ArgumentEncoder* encoder, const WebCore::MimeClassInfo& mimeClassInfo)