[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 13:22:14 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 0ea27c719fa8a8e70daeadd6873b901dde0adfc4
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Sep 13 08:03:23 2010 +0000

    2010-09-13  Patrick Gansterer  <paroga at paroga.com>
    
            Reviewed by Kenneth Rohde Christiansen.
    
            Add FrameNetworkingContextWinCE
            https://bugs.webkit.org/show_bug.cgi?id=45474
    
            * WebCoreSupport/FrameNetworkingContextWinCE.cpp: Added.
            (WebKit::FrameNetworkingContextWinCE::FrameNetworkingContextWinCE):
            (WebKit::FrameNetworkingContextWinCE::userAgent):
            (WebKit::FrameNetworkingContextWinCE::referrer):
            * WebCoreSupport/FrameNetworkingContextWinCE.h: Added.
            (WebKit::FrameNetworkingContextWinCE::create):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67368 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/wince/ChangeLog b/WebKit/wince/ChangeLog
index ea106fe..44ffb44 100644
--- a/WebKit/wince/ChangeLog
+++ b/WebKit/wince/ChangeLog
@@ -1,3 +1,17 @@
+2010-09-13  Patrick Gansterer  <paroga at paroga.com>
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Add FrameNetworkingContextWinCE
+        https://bugs.webkit.org/show_bug.cgi?id=45474
+
+        * WebCoreSupport/FrameNetworkingContextWinCE.cpp: Added.
+        (WebKit::FrameNetworkingContextWinCE::FrameNetworkingContextWinCE):
+        (WebKit::FrameNetworkingContextWinCE::userAgent):
+        (WebKit::FrameNetworkingContextWinCE::referrer):
+        * WebCoreSupport/FrameNetworkingContextWinCE.h: Added.
+        (WebKit::FrameNetworkingContextWinCE::create):
+
 2010-08-31  Patrick Gansterer  <paroga at paroga.com>
 
         Reviewed by Kenneth Rohde Christiansen.
diff --git a/WebKit/wince/WebCoreSupport/FrameNetworkingContextWinCE.cpp b/WebKit/wince/WebCoreSupport/FrameNetworkingContextWinCE.cpp
new file mode 100644
index 0000000..af9efc2
--- /dev/null
+++ b/WebKit/wince/WebCoreSupport/FrameNetworkingContextWinCE.cpp
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2010 Patrick Gansterer <paroga at paroga.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "FrameNetworkingContextWinCE.h"
+
+using namespace WebCore;
+
+namespace WebKit {
+
+FrameNetworkingContextWinCE::FrameNetworkingContextWinCE(Frame* frame, const String& userAgent)
+    : FrameNetworkingContext(frame)
+    , m_userAgent(userAgent)
+{
+}
+
+String FrameNetworkingContextWinCE::userAgent() const
+{
+    return m_userAgent;
+}
+
+String FrameNetworkingContextWinCE::referrer() const
+{
+    return frame()->loader()->referrer();
+}
+
+} // namespace WebKit
diff --git a/WebKit/wince/WebCoreSupport/FrameNetworkingContextWinCE.h b/WebKit/wince/WebCoreSupport/FrameNetworkingContextWinCE.h
new file mode 100644
index 0000000..a826a37
--- /dev/null
+++ b/WebKit/wince/WebCoreSupport/FrameNetworkingContextWinCE.h
@@ -0,0 +1,50 @@
+/*
+ * Copyright (C) 2010 Patrick Gansterer <paroga at paroga.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef FrameNetworkingContextWinCE_h
+#define FrameNetworkingContextWinCE_h
+
+#include "FrameNetworkingContext.h"
+
+namespace WebKit {
+
+class FrameNetworkingContextWinCE : public WebCore::FrameNetworkingContext {
+public:
+    static PassRefPtr<FrameNetworkingContextWinCE> create(WebCore::Frame* frame, const WTF::String& userAgent)
+    {
+        return adoptRef(new FrameNetworkingContextWinCE(frame, userAgent));
+    }
+
+    virtual WTF::String userAgent() const;
+    virtual WTF::String referrer() const;
+
+private:
+    FrameNetworkingContextWinCE(WebCore::Frame* frame, const WTF::String& userAgent);
+
+    WTF::String m_userAgent;
+};
+
+} // namespace WebKit
+
+#endif // FrameNetworkingContextWinCE_h

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list