Diff
Modified: trunk/Source/WebKit2/ChangeLog (170218 => 170219)
--- trunk/Source/WebKit2/ChangeLog 2014-06-20 22:42:06 UTC (rev 170218)
+++ trunk/Source/WebKit2/ChangeLog 2014-06-20 22:46:30 UTC (rev 170219)
@@ -1,3 +1,34 @@
+2014-06-20 Anders Carlsson <[email protected]>
+
+ Introduce a WKSessionStateRef object
+ https://bugs.webkit.org/show_bug.cgi?id=134136
+
+ Reviewed by Tim Horton.
+
+ WKSessionStateRef is going to hold session state, making it possible to migrate state from one
+ webpage to another without having to do any serialization/deserialization.
+
+ * Shared/API/c/WKBase.h:
+ * Shared/APIObject.h:
+ * Shared/SessionState.cpp:
+ (WebKit::SessionState::encode):
+ * Shared/SessionState.h:
+ * UIProcess/API/APISessionState.cpp: Added.
+ (API::SessionState::create):
+ (API::SessionState::SessionState):
+ (API::SessionState::~SessionState):
+ * UIProcess/API/APISessionState.h:
+ * UIProcess/API/C/WKAPICast.h:
+ * UIProcess/API/C/WKSessionStateRef.cpp:
+ (WKSessionStateCreateFromData):
+ * UIProcess/API/C/WKSessionStateRef.h:
+ * UIProcess/mac/LegacySessionStateCoding.cpp:
+ (WebKit::LegacySessionStateDecoder::LegacySessionStateDecoder):
+ (WebKit::LegacySessionStateDecoder::~LegacySessionStateDecoder):
+ (WebKit::LegacySessionStateDecoder::decodeSessionState):
+ * UIProcess/mac/LegacySessionStateCoding.h:
+ * WebKit2.xcodeproj/project.pbxproj:
+
2014-06-19 Enrica Casucci <[email protected]>
iOS WebKit2: selection handles become too large when zooming a page.
Modified: trunk/Source/WebKit2/Shared/API/c/WKBase.h (170218 => 170219)
--- trunk/Source/WebKit2/Shared/API/c/WKBase.h 2014-06-20 22:42:06 UTC (rev 170218)
+++ trunk/Source/WebKit2/Shared/API/c/WKBase.h 2014-06-20 22:46:30 UTC (rev 170219)
@@ -126,6 +126,7 @@
typedef const struct OpaqueWKProtectionSpace* WKProtectionSpaceRef;
typedef const struct OpaqueWKTextChecker* WKTextCheckerRef;
typedef const struct OpaqueWKSession* WKSessionRef;
+typedef const struct OpaqueWKSessionState* WKSessionStateRef;
typedef const struct OpaqueWKVibration* WKVibrationRef;
typedef const struct OpaqueWKViewportAttributes* WKViewportAttributesRef;
Modified: trunk/Source/WebKit2/Shared/APIObject.h (170218 => 170219)
--- trunk/Source/WebKit2/Shared/APIObject.h 2014-06-20 22:42:06 UTC (rev 170218)
+++ trunk/Source/WebKit2/Shared/APIObject.h 2014-06-20 22:46:30 UTC (rev 170219)
@@ -73,6 +73,7 @@
RenderLayer,
RenderObject,
SecurityOrigin,
+ SessionState,
SerializedScriptValue,
String,
URL,
Modified: trunk/Source/WebKit2/Shared/SessionState.cpp (170218 => 170219)
--- trunk/Source/WebKit2/Shared/SessionState.cpp 2014-06-20 22:42:06 UTC (rev 170218)
+++ trunk/Source/WebKit2/Shared/SessionState.cpp 2014-06-20 22:46:30 UTC (rev 170219)
@@ -73,4 +73,10 @@
encoder << mainFrameState;
}
+void SessionState::encode(IPC::ArgumentEncoder& encoder) const
+{
+ encoder << backForwardListItems;
+ encoder << currentIndex;
+}
+
} // namespace WebKit
Modified: trunk/Source/WebKit2/Shared/SessionState.h (170218 => 170219)
--- trunk/Source/WebKit2/Shared/SessionState.h 2014-06-20 22:42:06 UTC (rev 170218)
+++ trunk/Source/WebKit2/Shared/SessionState.h 2014-06-20 22:46:30 UTC (rev 170219)
@@ -97,6 +97,13 @@
FrameState mainFrameState;
};
+struct SessionState {
+ void encode(IPC::ArgumentEncoder&) const;
+
+ Vector<PageState> backForwardListItems;
+ uint32_t currentIndex;
+};
+
} // namespace WebKit
#endif // SessionState_h
Copied: trunk/Source/WebKit2/UIProcess/API/APISessionState.cpp (from rev 170218, trunk/Source/WebKit2/Shared/SessionState.cpp) (0 => 170219)
--- trunk/Source/WebKit2/UIProcess/API/APISessionState.cpp (rev 0)
+++ trunk/Source/WebKit2/UIProcess/API/APISessionState.cpp 2014-06-20 22:46:30 UTC (rev 170219)
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * 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 INC. 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 INC. 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 "APISessionState.h"
+
+namespace API {
+
+PassRefPtr<SessionState> SessionState::create(WebKit::SessionState sessionState)
+{
+ return adoptRef(new SessionState(std::move(sessionState)));
+}
+
+SessionState::SessionState(WebKit::SessionState sessionState)
+ : m_sessionState(std::move(sessionState))
+{
+}
+
+SessionState::~SessionState()
+{
+}
+
+} // namespace API
Copied: trunk/Source/WebKit2/UIProcess/API/APISessionState.h (from rev 170218, trunk/Source/WebKit2/Shared/SessionState.cpp) (0 => 170219)
--- trunk/Source/WebKit2/UIProcess/API/APISessionState.h (rev 0)
+++ trunk/Source/WebKit2/UIProcess/API/APISessionState.h 2014-06-20 22:46:30 UTC (rev 170219)
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * 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 INC. 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 INC. 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 APISessionState_h
+#define APISessionState_h
+
+#include "APIObject.h"
+#include "SessionState.h"
+
+namespace API {
+
+class SessionState final : public ObjectImpl<Object::Type::SessionState> {
+public:
+ static PassRefPtr<SessionState> create(WebKit::SessionState);
+ virtual ~SessionState();
+
+private:
+ explicit SessionState(WebKit::SessionState);
+
+ const WebKit::SessionState m_sessionState;
+};
+
+} // namespace API
+
+#endif // APISessionState_h
Modified: trunk/Source/WebKit2/UIProcess/API/C/WKAPICast.h (170218 => 170219)
--- trunk/Source/WebKit2/UIProcess/API/C/WKAPICast.h 2014-06-20 22:42:06 UTC (rev 170218)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKAPICast.h 2014-06-20 22:46:30 UTC (rev 170219)
@@ -53,6 +53,7 @@
namespace API {
class ContextConfiguration;
class NavigationData;
+class SessionState;
}
namespace WebKit {
@@ -143,6 +144,7 @@
WK_ADD_API_MAPPING(WKProtectionSpaceRef, WebProtectionSpace)
WK_ADD_API_MAPPING(WKRenderLayerRef, WebRenderLayer)
WK_ADD_API_MAPPING(WKRenderObjectRef, WebRenderObject)
+WK_ADD_API_MAPPING(WKSessionStateRef, API::SessionState)
WK_ADD_API_MAPPING(WKTextCheckerRef, WebTextChecker)
WK_ADD_API_MAPPING(WKVibrationRef, WebVibrationProxy)
WK_ADD_API_MAPPING(WKViewportAttributesRef, WebViewportAttributes)
Copied: trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.cpp (from rev 170218, trunk/Source/WebKit2/Shared/SessionState.cpp) (0 => 170219)
--- trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.cpp (rev 0)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.cpp 2014-06-20 22:46:30 UTC (rev 170219)
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * 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 INC. 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 INC. 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 "WKSessionStateRef.h"
+
+#include "APISessionState.h"
+#include "LegacySessionStateCoding.h"
+#include "SessionState.h"
+#include "WKAPICast.h"
+
+WKSessionStateRef WKSessionStateCreateFromData(WKDataRef data)
+{
+ WebKit::LegacySessionStateDecoder decoder { WebKit::toImpl(data) };
+
+ WebKit::SessionState sessionState;
+ if (!decoder.decodeSessionState(sessionState))
+ return nullptr;
+
+ return WebKit::toAPI(API::SessionState::create(std::move(sessionState)).leakRef());
+}
Copied: trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.h (from rev 170218, trunk/Source/WebKit2/Shared/SessionState.cpp) (0 => 170219)
--- trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.h (rev 0)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.h 2014-06-20 22:46:30 UTC (rev 170219)
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * 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 INC. 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 INC. 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 WKSessionStateRef_h
+#define WKSessionStateRef_h
+
+#include <WebKit/WKBase.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+WK_EXPORT WKSessionStateRef WKSessionStateCreateFromData(WKDataRef data);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // WKSessionStateRef_h
Copied: trunk/Source/WebKit2/UIProcess/mac/LegacySessionStateCoding.cpp (from rev 170218, trunk/Source/WebKit2/Shared/SessionState.cpp) (0 => 170219)
--- trunk/Source/WebKit2/UIProcess/mac/LegacySessionStateCoding.cpp (rev 0)
+++ trunk/Source/WebKit2/UIProcess/mac/LegacySessionStateCoding.cpp 2014-06-20 22:46:30 UTC (rev 170219)
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * 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 INC. 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 INC. 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 "LegacySessionStateCoding.h"
+
+namespace WebKit {
+
+LegacySessionStateDecoder::LegacySessionStateDecoder(API::Data* data)
+ : m_data(data)
+{
+}
+
+LegacySessionStateDecoder::~LegacySessionStateDecoder()
+{
+}
+
+bool LegacySessionStateDecoder::decodeSessionState(SessionState& sessionState) const
+{
+ // FIXME: Implement this.
+ (void)m_data;
+
+ return false;
+}
+
+} // namespace WebKit
Copied: trunk/Source/WebKit2/UIProcess/mac/LegacySessionStateCoding.h (from rev 170218, trunk/Source/WebKit2/Shared/SessionState.cpp) (0 => 170219)
--- trunk/Source/WebKit2/UIProcess/mac/LegacySessionStateCoding.h (rev 0)
+++ trunk/Source/WebKit2/UIProcess/mac/LegacySessionStateCoding.h 2014-06-20 22:46:30 UTC (rev 170219)
@@ -0,0 +1,50 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * 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 INC. 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 INC. 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 LegacySessionStateCoding_h
+#define LegacySessionStateCoding_h
+
+namespace API {
+class Data;
+}
+
+namespace WebKit {
+
+struct SessionState;
+
+class LegacySessionStateDecoder {
+public:
+ explicit LegacySessionStateDecoder(API::Data*);
+ ~LegacySessionStateDecoder();
+
+ bool decodeSessionState(SessionState&) const;
+
+private:
+ API::Data* m_data;
+};
+
+} // namespace WebKit
+
+#endif // LegacySessionStateCoding_h
Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (170218 => 170219)
--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2014-06-20 22:42:06 UTC (rev 170218)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2014-06-20 22:46:30 UTC (rev 170219)
@@ -418,6 +418,8 @@
1ADAE12E1919A5B400F48E21 /* WKPreferences.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ADAE12D1919A5B400F48E21 /* WKPreferences.h */; settings = {ATTRIBUTES = (Private, ); }; };
1ADCB86A189831B30022EE5A /* NavigationActionData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADCB868189831B30022EE5A /* NavigationActionData.cpp */; };
1ADCB86B189831B30022EE5A /* NavigationActionData.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ADCB869189831B30022EE5A /* NavigationActionData.h */; };
+ 1ADE46B21954EC61000F7985 /* WKSessionStateRef.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADE46B01954EC61000F7985 /* WKSessionStateRef.cpp */; };
+ 1ADE46B31954EC61000F7985 /* WKSessionStateRef.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ADE46B11954EC61000F7985 /* WKSessionStateRef.h */; settings = {ATTRIBUTES = (Private, ); }; };
1ADF591A1890528E0043C145 /* WKWebViewConfiguration.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1ADF59181890528E0043C145 /* WKWebViewConfiguration.mm */; };
1ADF591B1890528E0043C145 /* WKWebViewConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ADF59191890528E0043C145 /* WKWebViewConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; };
1AE00D4C182D6EB000087DD7 /* WKBrowsingContextHandle.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AE00D4A182D6EB000087DD7 /* WKBrowsingContextHandle.mm */; };
@@ -464,6 +466,10 @@
1AFDE64519510B5500C48FFA /* LegacyBundleForClass.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AFDE64319510B5500C48FFA /* LegacyBundleForClass.mm */; };
1AFDE6591954A42B00C48FFA /* SessionState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFDE6571954A42B00C48FFA /* SessionState.cpp */; };
1AFDE65A1954A42B00C48FFA /* SessionState.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AFDE6581954A42B00C48FFA /* SessionState.h */; };
+ 1AFDE65D1954E8D500C48FFA /* LegacySessionStateCoding.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFDE65B1954E8D500C48FFA /* LegacySessionStateCoding.cpp */; };
+ 1AFDE65E1954E8D500C48FFA /* LegacySessionStateCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AFDE65C1954E8D500C48FFA /* LegacySessionStateCoding.h */; };
+ 1AFDE6611954E9B100C48FFA /* APISessionState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFDE65F1954E9B100C48FFA /* APISessionState.cpp */; };
+ 1AFDE6621954E9B100C48FFA /* APISessionState.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AFDE6601954E9B100C48FFA /* APISessionState.h */; };
1AFE436518B6C081009C7A48 /* UIDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AFE436318B6C081009C7A48 /* UIDelegate.mm */; };
1AFE436618B6C081009C7A48 /* UIDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AFE436418B6C081009C7A48 /* UIDelegate.h */; };
1AFF49001833DE78009AB15A /* WKDeprecatedFunctions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFF48FE1833DE78009AB15A /* WKDeprecatedFunctions.cpp */; };
@@ -2376,6 +2382,8 @@
1ADAE12D1919A5B400F48E21 /* WKPreferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKPreferences.h; sourceTree = "<group>"; };
1ADCB868189831B30022EE5A /* NavigationActionData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NavigationActionData.cpp; sourceTree = "<group>"; };
1ADCB869189831B30022EE5A /* NavigationActionData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NavigationActionData.h; sourceTree = "<group>"; };
+ 1ADE46B01954EC61000F7985 /* WKSessionStateRef.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKSessionStateRef.cpp; sourceTree = "<group>"; };
+ 1ADE46B11954EC61000F7985 /* WKSessionStateRef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKSessionStateRef.h; sourceTree = "<group>"; };
1ADF59181890528E0043C145 /* WKWebViewConfiguration.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKWebViewConfiguration.mm; sourceTree = "<group>"; };
1ADF59191890528E0043C145 /* WKWebViewConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebViewConfiguration.h; sourceTree = "<group>"; };
1AE00D4A182D6EB000087DD7 /* WKBrowsingContextHandle.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKBrowsingContextHandle.mm; sourceTree = "<group>"; };
@@ -2422,6 +2430,10 @@
1AFDE64319510B5500C48FFA /* LegacyBundleForClass.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = LegacyBundleForClass.mm; sourceTree = "<group>"; };
1AFDE6571954A42B00C48FFA /* SessionState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SessionState.cpp; sourceTree = "<group>"; };
1AFDE6581954A42B00C48FFA /* SessionState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SessionState.h; sourceTree = "<group>"; };
+ 1AFDE65B1954E8D500C48FFA /* LegacySessionStateCoding.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LegacySessionStateCoding.cpp; sourceTree = "<group>"; };
+ 1AFDE65C1954E8D500C48FFA /* LegacySessionStateCoding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LegacySessionStateCoding.h; sourceTree = "<group>"; };
+ 1AFDE65F1954E9B100C48FFA /* APISessionState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = APISessionState.cpp; sourceTree = "<group>"; };
+ 1AFDE6601954E9B100C48FFA /* APISessionState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APISessionState.h; sourceTree = "<group>"; };
1AFE436318B6C081009C7A48 /* UIDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = UIDelegate.mm; sourceTree = "<group>"; };
1AFE436418B6C081009C7A48 /* UIDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIDelegate.h; sourceTree = "<group>"; };
1AFF48FE1833DE78009AB15A /* WKDeprecatedFunctions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKDeprecatedFunctions.cpp; sourceTree = "<group>"; };
@@ -5872,6 +5884,8 @@
1A6637D618B2831F00C0BCF3 /* APIHistoryClient.h */,
1A2464F21891E45100234C5B /* APILoaderClient.h */,
1AFDD3141891B54000153970 /* APIPolicyClient.h */,
+ 1AFDE65F1954E9B100C48FFA /* APISessionState.cpp */,
+ 1AFDE6601954E9B100C48FFA /* APISessionState.h */,
1A4D664718A2D91A00D82E21 /* APIUIClient.h */,
);
path = API;
@@ -5973,6 +5987,8 @@
33367639130C99DC006C9DE2 /* WKResourceCacheManager.h */,
75A8D2D0187D17BF00C39C9E /* WKSessionRef.cpp */,
75A8D2D1187D17BF00C39C9E /* WKSessionRef.h */,
+ 1ADE46B01954EC61000F7985 /* WKSessionStateRef.cpp */,
+ 1ADE46B11954EC61000F7985 /* WKSessionStateRef.h */,
1AE52F9319201F6B00A1FA37 /* WKContextConfigurationRef.cpp */,
1AE52F9419201F6B00A1FA37 /* WKContextConfigurationRef.h */,
);
@@ -6540,6 +6556,8 @@
B878B614133428DC006888E9 /* CorrectionPanel.mm */,
0FCB4E5618BBE3D9000FCFC9 /* FindIndicatorWindow.h */,
0FCB4E5718BBE3D9000FCFC9 /* FindIndicatorWindow.mm */,
+ 1AFDE65B1954E8D500C48FFA /* LegacySessionStateCoding.cpp */,
+ 1AFDE65C1954E8D500C48FFA /* LegacySessionStateCoding.h */,
0FCB4E5818BBE3D9000FCFC9 /* PageClientImpl.h */,
0FCB4E5918BBE3D9000FCFC9 /* PageClientImpl.mm */,
1AB16AE01648656D00290D62 /* RemoteLayerTreeDrawingAreaProxy.h */,
@@ -7008,6 +7026,7 @@
512F589912A8838800629530 /* AuthenticationDecisionListener.h in Headers */,
518E8EF916B2091C00E91429 /* AuthenticationManager.h in Headers */,
512F58A312A883AD00629530 /* AuthenticationManagerMessages.h in Headers */,
+ 1AFDE6621954E9B100C48FFA /* APISessionState.h in Headers */,
E170876C16D6CA6900F99226 /* BlobRegistryProxy.h in Headers */,
4F601432155C5AA2001FBDE0 /* BlockingResponseMap.h in Headers */,
51E351CB180F2CCC00E53BE9 /* IDBUtilities.h in Headers */,
@@ -7141,6 +7160,7 @@
378E1A4E18208D700031007A /* WKNSURL.h in Headers */,
1A1B0EB818A424CD0038481A /* WKNavigationResponseInternal.h in Headers */,
2D7AAFD318C8640600A7ACD4 /* WKWebViewContentProvider.h in Headers */,
+ 1ADE46B31954EC61000F7985 /* WKSessionStateRef.h in Headers */,
512935E41288D97800A4B695 /* InjectedBundlePageContextMenuClient.h in Headers */,
E1EE53E311F8CFC000CCBEE4 /* InjectedBundlePageEditorClient.h in Headers */,
BC14E10A120B905E00826C0C /* InjectedBundlePageFormClient.h in Headers */,
@@ -7241,6 +7261,7 @@
BCC43ABB127B95DC00317F16 /* PlatformPopupMenuData.h in Headers */,
BC8780FC1161C2B800CC2768 /* PlatformProcessIdentifier.h in Headers */,
1A6FB7D311E651E200DB1371 /* Plugin.h in Headers */,
+ 1AFDE65E1954E8D500C48FFA /* LegacySessionStateCoding.h in Headers */,
31A67E0D165B2A99006CBA66 /* PlugInAutoStartProvider.h in Headers */,
1A9FBA8D13FF04E600DEED67 /* PluginComplexTextInputState.h in Headers */,
1AA56F2911E92BC80061B882 /* PluginController.h in Headers */,
@@ -8776,6 +8797,7 @@
BCA8C6A811E3BA5F00812FB7 /* InjectedBundlePageLoaderClient.cpp in Sources */,
0FCB4E6718BBE3D9000FCFC9 /* WKPrintingView.mm in Sources */,
1AAB037C185F99D800EDF501 /* APIData.cpp in Sources */,
+ 1AFDE6611954E9B100C48FFA /* APISessionState.cpp in Sources */,
BC8147AA12F64CDA007B2C32 /* InjectedBundlePagePolicyClient.cpp in Sources */,
659C551E130006410025C0C2 /* InjectedBundlePageResourceLoadClient.cpp in Sources */,
1AFE436518B6C081009C7A48 /* UIDelegate.mm in Sources */,
@@ -9017,6 +9039,7 @@
BC111A5B112F4FBB00337BAB /* WebContextMenuClient.cpp in Sources */,
51021E9C12B16788005C033C /* WebContextMenuClientMac.mm in Sources */,
7C361D78192803BD0036A59D /* WebUserContentControllerProxyMessageReceiver.cpp in Sources */,
+ 1ADE46B21954EC61000F7985 /* WKSessionStateRef.cpp in Sources */,
512935D71288D19400A4B695 /* WebContextMenuItem.cpp in Sources */,
29232DF918B2AB3A00D0596F /* WKAccessibilityWebPageObjectMac.mm in Sources */,
510FBB9A1288C95E00AFFDF4 /* WebContextMenuItemData.cpp in Sources */,
@@ -9284,6 +9307,7 @@
BC017D0816260FF4007054F5 /* WKDOMDocument.mm in Sources */,
BC017D0A16260FF4007054F5 /* WKDOMElement.mm in Sources */,
BC017D0C16260FF4007054F5 /* WKDOMInternals.mm in Sources */,
+ 1AFDE65D1954E8D500C48FFA /* LegacySessionStateCoding.cpp in Sources */,
BC017D0E16260FF4007054F5 /* WKDOMNode.mm in Sources */,
BC39C4351626366F008BC689 /* WKDOMRange.mm in Sources */,
293EBEAC1627D9C9005F89F1 /* WKDOMText.mm in Sources */,