<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[177721] trunk/Source/WebKit2</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/177721">177721</a></dd>
<dt>Author</dt> <dd>changseok.oh@collabora.com</dd>
<dt>Date</dt> <dd>2014-12-23 21:34:39 -0800 (Tue, 23 Dec 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>[GTK] Build fix after <a href="http://trac.webkit.org/projects/webkit/changeset/177692">r177692</a>
https://bugs.webkit.org/show_bug.cgi?id=139919
Reviewed by Gyuyoung Kim.
This change addresses build failures introduced after <a href="http://trac.webkit.org/projects/webkit/changeset/177692">r177692</a>.
* PlatformEfl.cmake: Renamed WebContextSoup to WebProcessPoolSoup.cpp
* PlatformGTK.cmake: ditto.
* UIProcess/API/gtk/PageClientImpl.cpp:
* UIProcess/API/gtk/WebKitDownloadClient.cpp:
* UIProcess/API/gtk/WebKitFormSubmissionRequest.cpp:
(webkitFormSubmissionRequestCreate):
(webkit_form_submission_request_get_text_fields):
* UIProcess/API/gtk/WebKitFormSubmissionRequestPrivate.h:
* UIProcess/API/gtk/WebKitInjectedBundleClient.cpp:
(didReceiveWebViewMessageFromInjectedBundle):
(didReceiveMessageFromInjectedBundle):
* UIProcess/API/gtk/WebKitSecurityManager.cpp:
(registerSecurityPolicyForURIScheme):
* UIProcess/API/gtk/WebKitWebContext.cpp:
(webkitWebContextConstructed):
(webkit_web_context_prefetch_dns):
(webkitWebContextGetContext):
* UIProcess/API/gtk/WebKitWebContextPrivate.h:
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_get_snapshot):
* UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseCreate):
(webkitWebViewBaseCreateWebPage):
* UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
* UIProcess/API/gtk/WebKitWindowProperties.cpp:
* UIProcess/gtk/WebInspectorProxyGtk.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
* UIProcess/gtk/WebProcessPoolGtk.cpp: Renamed from Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp.
(WebKit::initInspectorServer):
(WebKit::WebProcessPool::platformDefaultApplicationCacheDirectory):
(WebKit::WebProcessPool::platformInitializeWebProcess):
(WebKit::WebProcessPool::platformInvalidateContext):
(WebKit::WebProcessPool::platformDefaultWebSQLDatabaseDirectory):
(WebKit::WebProcessPool::platformDefaultIndexedDBDatabaseDirectory):
(WebKit::WebProcessPool::platformDefaultIconDatabasePath):
(WebKit::WebProcessPool::platformDefaultLocalStorageDirectory):
(WebKit::WebProcessPool::platformDefaultMediaKeysStorageDirectory):
(WebKit::WebProcessPool::platformDefaultDiskCacheDirectory):
(WebKit::WebProcessPool::platformDefaultCookieStorageDirectory):
(WebKit::WebProcessPool::setIgnoreTLSErrors):
* UIProcess/soup/WebProcessPoolSoup.cpp: Renamed from Source/WebKit2/UIProcess/soup/WebContextSoup.cpp.
(WebKit::WebProcessPool::platformInitializeNetworkProcess):
* WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp:
(webkitWebExtensionDidReceiveMessage):
* WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
(didInitiateLoadForResource):
(willSendRequestForFrame):
(didReceiveResponseForResource):
(didReceiveContentLengthForResource):
(didFinishLoadForResource):
(didFailLoadForResource):
(webkitWebPageDidReceiveMessage):
* WebProcess/InjectedBundle/API/gtk/WebKitWebPagePrivate.h:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2PlatformEflcmake">trunk/Source/WebKit2/PlatformEfl.cmake</a></li>
<li><a href="#trunkSourceWebKit2PlatformGTKcmake">trunk/Source/WebKit2/PlatformGTK.cmake</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkPageClientImplcpp">trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitDownloadClientcpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitDownloadClient.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitFormSubmissionRequestcpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFormSubmissionRequest.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitFormSubmissionRequestPrivateh">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFormSubmissionRequestPrivate.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitInjectedBundleClientcpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitInjectedBundleClient.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitSecurityManagercpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitSecurityManager.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitWebContextcpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitWebContextPrivateh">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContextPrivate.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitWebViewcpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitWebViewBasecpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitWebViewBasePrivateh">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBasePrivate.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitWindowPropertiescpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWindowProperties.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessgtkWebInspectorProxyGtkcpp">trunk/Source/WebKit2/UIProcess/gtk/WebInspectorProxyGtk.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleAPIgtkWebKitWebExtensioncpp">trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleAPIgtkWebKitWebPagecpp">trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleAPIgtkWebKitWebPagePrivateh">trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPagePrivate.h</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2UIProcessgtkWebProcessPoolGtkcpp">trunk/Source/WebKit2/UIProcess/gtk/WebProcessPoolGtk.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcesssoupWebProcessPoolSoupcpp">trunk/Source/WebKit2/UIProcess/soup/WebProcessPoolSoup.cpp</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2UIProcessgtkWebContextGtkcpp">trunk/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcesssoupWebContextSoupcpp">trunk/Source/WebKit2/UIProcess/soup/WebContextSoup.cpp</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/ChangeLog        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -1,3 +1,66 @@
</span><ins>+2014-12-23 ChangSeok Oh <changseok.oh@collabora.com>
+
+ [GTK] Build fix after r177692
+ https://bugs.webkit.org/show_bug.cgi?id=139919
+
+ Reviewed by Gyuyoung Kim.
+
+ This change addresses build failures introduced after r177692.
+
+ * PlatformEfl.cmake: Renamed WebContextSoup to WebProcessPoolSoup.cpp
+ * PlatformGTK.cmake: ditto.
+ * UIProcess/API/gtk/PageClientImpl.cpp:
+ * UIProcess/API/gtk/WebKitDownloadClient.cpp:
+ * UIProcess/API/gtk/WebKitFormSubmissionRequest.cpp:
+ (webkitFormSubmissionRequestCreate):
+ (webkit_form_submission_request_get_text_fields):
+ * UIProcess/API/gtk/WebKitFormSubmissionRequestPrivate.h:
+ * UIProcess/API/gtk/WebKitInjectedBundleClient.cpp:
+ (didReceiveWebViewMessageFromInjectedBundle):
+ (didReceiveMessageFromInjectedBundle):
+ * UIProcess/API/gtk/WebKitSecurityManager.cpp:
+ (registerSecurityPolicyForURIScheme):
+ * UIProcess/API/gtk/WebKitWebContext.cpp:
+ (webkitWebContextConstructed):
+ (webkit_web_context_prefetch_dns):
+ (webkitWebContextGetContext):
+ * UIProcess/API/gtk/WebKitWebContextPrivate.h:
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (webkit_web_view_get_snapshot):
+ * UIProcess/API/gtk/WebKitWebViewBase.cpp:
+ (webkitWebViewBaseCreate):
+ (webkitWebViewBaseCreateWebPage):
+ * UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
+ * UIProcess/API/gtk/WebKitWindowProperties.cpp:
+ * UIProcess/gtk/WebInspectorProxyGtk.cpp:
+ (WebKit::WebInspectorProxy::platformCreateInspectorPage):
+ * UIProcess/gtk/WebProcessPoolGtk.cpp: Renamed from Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp.
+ (WebKit::initInspectorServer):
+ (WebKit::WebProcessPool::platformDefaultApplicationCacheDirectory):
+ (WebKit::WebProcessPool::platformInitializeWebProcess):
+ (WebKit::WebProcessPool::platformInvalidateContext):
+ (WebKit::WebProcessPool::platformDefaultWebSQLDatabaseDirectory):
+ (WebKit::WebProcessPool::platformDefaultIndexedDBDatabaseDirectory):
+ (WebKit::WebProcessPool::platformDefaultIconDatabasePath):
+ (WebKit::WebProcessPool::platformDefaultLocalStorageDirectory):
+ (WebKit::WebProcessPool::platformDefaultMediaKeysStorageDirectory):
+ (WebKit::WebProcessPool::platformDefaultDiskCacheDirectory):
+ (WebKit::WebProcessPool::platformDefaultCookieStorageDirectory):
+ (WebKit::WebProcessPool::setIgnoreTLSErrors):
+ * UIProcess/soup/WebProcessPoolSoup.cpp: Renamed from Source/WebKit2/UIProcess/soup/WebContextSoup.cpp.
+ (WebKit::WebProcessPool::platformInitializeNetworkProcess):
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp:
+ (webkitWebExtensionDidReceiveMessage):
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
+ (didInitiateLoadForResource):
+ (willSendRequestForFrame):
+ (didReceiveResponseForResource):
+ (didReceiveContentLengthForResource):
+ (didFinishLoadForResource):
+ (didFailLoadForResource):
+ (webkitWebPageDidReceiveMessage):
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebPagePrivate.h:
+
</ins><span class="cx"> 2014-12-23 Dan Bernstein <mitz@apple.com>
</span><span class="cx">
</span><span class="cx"> iOS build fix
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformEflcmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/PlatformEfl.cmake (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/PlatformEfl.cmake        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/PlatformEfl.cmake        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -174,8 +174,8 @@
</span><span class="cx"> UIProcess/efl/WebUIPopupMenuClient.cpp
</span><span class="cx"> UIProcess/efl/WebViewEfl.cpp
</span><span class="cx">
</span><del>- UIProcess/soup/WebContextSoup.cpp
</del><span class="cx"> UIProcess/soup/WebCookieManagerProxySoup.cpp
</span><ins>+ UIProcess/soup/WebProcessPoolSoup.cpp
</ins><span class="cx">
</span><span class="cx"> WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
</span><span class="cx"> WebProcess/Cookies/soup/WebKitSoupCookieJarSqlite.cpp
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformGTKcmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/PlatformGTK.cmake (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/PlatformGTK.cmake        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/PlatformGTK.cmake        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -268,7 +268,6 @@
</span><span class="cx"> UIProcess/gtk/InputMethodFilter.cpp
</span><span class="cx"> UIProcess/gtk/RedirectedXCompositeWindow.cpp
</span><span class="cx"> UIProcess/gtk/TextCheckerGtk.cpp
</span><del>- UIProcess/gtk/WebContextGtk.cpp
</del><span class="cx"> UIProcess/gtk/WebContextMenuProxyGtk.cpp
</span><span class="cx"> UIProcess/gtk/WebFullScreenClientGtk.cpp
</span><span class="cx"> UIProcess/gtk/WebInspectorClientGtk.cpp
</span><span class="lines">@@ -276,11 +275,12 @@
</span><span class="cx"> UIProcess/gtk/WebPageProxyGtk.cpp
</span><span class="cx"> UIProcess/gtk/WebPopupMenuProxyGtk.cpp
</span><span class="cx"> UIProcess/gtk/WebPreferencesGtk.cpp
</span><ins>+ UIProcess/gtk/WebProcessPoolGtk.cpp
</ins><span class="cx"> UIProcess/gtk/WebProcessProxyGtk.cpp
</span><span class="cx">
</span><span class="cx"> UIProcess/Network/soup/NetworkProcessProxySoup.cpp
</span><del>- UIProcess/soup/WebContextSoup.cpp
</del><span class="cx"> UIProcess/soup/WebCookieManagerProxySoup.cpp
</span><ins>+ UIProcess/soup/WebProcessPoolSoup.cpp
</ins><span class="cx">
</span><span class="cx"> WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
</span><span class="cx"> WebProcess/Cookies/soup/WebKitSoupCookieJarSqlite.cpp
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkPageClientImplcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -32,12 +32,12 @@
</span><span class="cx"> #include "NativeWebKeyboardEvent.h"
</span><span class="cx"> #include "NativeWebMouseEvent.h"
</span><span class="cx"> #include "NotImplemented.h"
</span><del>-#include "WebContext.h"
</del><span class="cx"> #include "WebContextMenuProxyGtk.h"
</span><span class="cx"> #include "WebEventFactory.h"
</span><span class="cx"> #include "WebKitWebViewBasePrivate.h"
</span><span class="cx"> #include "WebPageProxy.h"
</span><span class="cx"> #include "WebPopupMenuProxyGtk.h"
</span><ins>+#include "WebProcessPool.h"
</ins><span class="cx"> #include <WebCore/Cursor.h>
</span><span class="cx"> #include <WebCore/EventNames.h>
</span><span class="cx"> #include <WebCore/GtkUtilities.h>
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitDownloadClientcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitDownloadClient.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitDownloadClient.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitDownloadClient.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -21,10 +21,10 @@
</span><span class="cx"> #include "WebKitDownloadClient.h"
</span><span class="cx">
</span><span class="cx"> #include "APIURLResponse.h"
</span><del>-#include "WebContext.h"
</del><span class="cx"> #include "WebKitDownloadPrivate.h"
</span><span class="cx"> #include "WebKitURIResponsePrivate.h"
</span><span class="cx"> #include "WebKitWebContextPrivate.h"
</span><ins>+#include "WebProcessPool.h"
</ins><span class="cx"> #include <WebKit/WKString.h>
</span><span class="cx"> #include <wtf/gobject/GRefPtr.h>
</span><span class="cx"> #include <wtf/text/CString.h>
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitFormSubmissionRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFormSubmissionRequest.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFormSubmissionRequest.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFormSubmissionRequest.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -20,8 +20,8 @@
</span><span class="cx"> #include "config.h"
</span><span class="cx"> #include "WebKitFormSubmissionRequest.h"
</span><span class="cx">
</span><ins>+#include "APIDictionary.h"
</ins><span class="cx"> #include "APIString.h"
</span><del>-#include "ImmutableDictionary.h"
</del><span class="cx"> #include "WebFormSubmissionListenerProxy.h"
</span><span class="cx"> #include "WebKitFormSubmissionRequestPrivate.h"
</span><span class="cx"> #include <wtf/gobject/GRefPtr.h>
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> */
</span><span class="cx">
</span><span class="cx"> struct _WebKitFormSubmissionRequestPrivate {
</span><del>- RefPtr<ImmutableDictionary> webValues;
</del><ins>+ RefPtr<API::Dictionary> webValues;
</ins><span class="cx"> RefPtr<WebFormSubmissionListenerProxy> listener;
</span><span class="cx"> GRefPtr<GHashTable> values;
</span><span class="cx"> bool handledRequest;
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx"> objectClass->dispose = webkitFormSubmissionRequestDispose;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-WebKitFormSubmissionRequest* webkitFormSubmissionRequestCreate(ImmutableDictionary* values, WebFormSubmissionListenerProxy* listener)
</del><ins>+WebKitFormSubmissionRequest* webkitFormSubmissionRequestCreate(API::Dictionary* values, WebFormSubmissionListenerProxy* listener)
</ins><span class="cx"> {
</span><span class="cx"> WebKitFormSubmissionRequest* request = WEBKIT_FORM_SUBMISSION_REQUEST(g_object_new(WEBKIT_TYPE_FORM_SUBMISSION_REQUEST, NULL));
</span><span class="cx"> request->priv->webValues = values;
</span><span class="lines">@@ -100,9 +100,9 @@
</span><span class="cx">
</span><span class="cx"> request->priv->values = adoptGRef(g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free));
</span><span class="cx">
</span><del>- const ImmutableDictionary::MapType& map = request->priv->webValues->map();
- ImmutableDictionary::MapType::const_iterator end = map.end();
- for (ImmutableDictionary::MapType::const_iterator it = map.begin(); it != end; ++it) {
</del><ins>+ const API::Dictionary::MapType& map = request->priv->webValues->map();
+ API::Dictionary::MapType::const_iterator end = map.end();
+ for (API::Dictionary::MapType::const_iterator it = map.begin(); it != end; ++it) {
</ins><span class="cx"> API::String* value = static_cast<API::String*>(it->value.get());
</span><span class="cx"> g_hash_table_insert(request->priv->values.get(), g_strdup(it->key.utf8().data()), g_strdup(value->string().utf8().data()));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitFormSubmissionRequestPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFormSubmissionRequestPrivate.h (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFormSubmissionRequestPrivate.h        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitFormSubmissionRequestPrivate.h        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -23,6 +23,6 @@
</span><span class="cx"> #include "WebKitFormSubmissionRequest.h"
</span><span class="cx"> #include "WebKitPrivate.h"
</span><span class="cx">
</span><del>-WebKitFormSubmissionRequest* webkitFormSubmissionRequestCreate(WebKit::ImmutableDictionary* values, WebKit::WebFormSubmissionListenerProxy*);
</del><ins>+WebKitFormSubmissionRequest* webkitFormSubmissionRequestCreate(API::Dictionary* values, WebKit::WebFormSubmissionListenerProxy*);
</ins><span class="cx">
</span><span class="cx"> #endif // WebKitFormSubmissionRequestPrivate_h
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitInjectedBundleClientcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitInjectedBundleClient.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitInjectedBundleClient.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitInjectedBundleClient.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx"> using namespace WebKit;
</span><span class="cx"> using namespace WebCore;
</span><span class="cx">
</span><del>-static void didReceiveWebViewMessageFromInjectedBundle(WebKitWebView* webView, const char* messageName, ImmutableDictionary& message)
</del><ins>+static void didReceiveWebViewMessageFromInjectedBundle(WebKitWebView* webView, const char* messageName, API::Dictionary& message)
</ins><span class="cx"> {
</span><span class="cx"> if (g_str_equal(messageName, "DidInitiateLoadForResource")) {
</span><span class="cx"> WebFrameProxy* frame = static_cast<WebFrameProxy*>(message.get(String::fromUTF8("Frame")));
</span><span class="lines">@@ -106,7 +106,7 @@
</span><span class="cx"> static void didReceiveMessageFromInjectedBundle(WKContextRef, WKStringRef messageName, WKTypeRef messageBody, const void* clientInfo)
</span><span class="cx"> {
</span><span class="cx"> ASSERT(WKGetTypeID(messageBody) == WKDictionaryGetTypeID());
</span><del>- ImmutableDictionary& message = *toImpl(static_cast<WKDictionaryRef>(messageBody));
</del><ins>+ API::Dictionary& message = *toImpl(static_cast<WKDictionaryRef>(messageBody));
</ins><span class="cx">
</span><span class="cx"> CString messageNameCString = toImpl(messageName)->string().utf8();
</span><span class="cx"> const char* messageNameUTF8 = messageNameCString.data();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitSecurityManagercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitSecurityManager.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitSecurityManager.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitSecurityManager.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -20,9 +20,9 @@
</span><span class="cx"> #include "config.h"
</span><span class="cx"> #include "WebKitSecurityManager.h"
</span><span class="cx">
</span><del>-#include "WebContext.h"
</del><span class="cx"> #include "WebKitSecurityManagerPrivate.h"
</span><span class="cx"> #include "WebKitWebContextPrivate.h"
</span><ins>+#include "WebProcessPool.h"
</ins><span class="cx"> #include <WebCore/SchemeRegistry.h>
</span><span class="cx">
</span><span class="cx"> using namespace WebKit;
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx"> static void registerSecurityPolicyForURIScheme(WebKitSecurityManager* manager, const char* scheme, SecurityPolicy policy)
</span><span class="cx"> {
</span><span class="cx"> String urlScheme = String::fromUTF8(scheme);
</span><del>- WebContext* webContext = webkitWebContextGetContext(manager->priv->webContext);
</del><ins>+ WebProcessPool* webContext = webkitWebContextGetContext(manager->priv->webContext);
</ins><span class="cx">
</span><span class="cx"> // We keep the WebCore::SchemeRegistry of the UI process in sync with the
</span><span class="cx"> // web process one, so that we can return the SecurityPolicy for
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitWebContextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -153,7 +153,7 @@
</span><span class="cx"> typedef HashMap<uint64_t, GRefPtr<WebKitURISchemeRequest> > URISchemeRequestMap;
</span><span class="cx">
</span><span class="cx"> struct _WebKitWebContextPrivate {
</span><del>- RefPtr<WebContext> context;
</del><ins>+ RefPtr<WebProcessPool> context;
</ins><span class="cx"> bool clientsDetached;
</span><span class="cx">
</span><span class="cx"> GRefPtr<WebKitCookieManager> cookieManager;
</span><span class="lines">@@ -257,15 +257,15 @@
</span><span class="cx"> G_OBJECT_CLASS(webkit_web_context_parent_class)->constructed(object);
</span><span class="cx">
</span><span class="cx"> GUniquePtr<char> bundleFilename(g_build_filename(injectedBundleDirectory(), "libwebkit2gtkinjectedbundle.so", nullptr));
</span><del>- WebContextConfiguration webContextConfiguration;
</del><ins>+ WebProcessPoolConfiguration webContextConfiguration;
</ins><span class="cx"> webContextConfiguration.injectedBundlePath = WebCore::filenameToString(bundleFilename.get());
</span><del>- WebContext::applyPlatformSpecificConfigurationDefaults(webContextConfiguration);
</del><ins>+ WebProcessPool::applyPlatformSpecificConfigurationDefaults(webContextConfiguration);
</ins><span class="cx"> WebKitWebContext* webContext = WEBKIT_WEB_CONTEXT(object);
</span><span class="cx"> WebKitWebContextPrivate* priv = webContext->priv;
</span><span class="cx"> if (!priv->localStorageDirectory.isNull())
</span><span class="cx"> webContextConfiguration.localStorageDirectory = WebCore::filenameToString(priv->localStorageDirectory.data());
</span><span class="cx">
</span><del>- priv->context = WebContext::create(WTF::move(webContextConfiguration));
</del><ins>+ priv->context = WebProcessPool::create(WTF::move(webContextConfiguration));
</ins><span class="cx">
</span><span class="cx"> priv->requestManager = priv->context->supplement<WebSoupCustomProtocolRequestManager>();
</span><span class="cx"> priv->context->setCacheModel(CacheModelPrimaryWebBrowser);
</span><span class="lines">@@ -1003,9 +1003,9 @@
</span><span class="cx"> g_return_if_fail(WEBKIT_IS_WEB_CONTEXT(context));
</span><span class="cx"> g_return_if_fail(hostname);
</span><span class="cx">
</span><del>- ImmutableDictionary::MapType message;
</del><ins>+ API::Dictionary::MapType message;
</ins><span class="cx"> message.set(String::fromUTF8("Hostname"), API::String::create(String::fromUTF8(hostname)));
</span><del>- context->priv->context->postMessageToInjectedBundle(String::fromUTF8("PrefetchDNS"), ImmutableDictionary::create(WTF::move(message)).get());
</del><ins>+ context->priv->context->postMessageToInjectedBundle(String::fromUTF8("PrefetchDNS"), API::Dictionary::create(WTF::move(message)).get());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /**
</span><span class="lines">@@ -1124,7 +1124,7 @@
</span><span class="cx"> context->priv->webExtensionsInitializationUserData.get());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-WebContext* webkitWebContextGetContext(WebKitWebContext* context)
</del><ins>+WebProcessPool* webkitWebContextGetContext(WebKitWebContext* context)
</ins><span class="cx"> {
</span><span class="cx"> g_assert(WEBKIT_IS_WEB_CONTEXT(context));
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitWebContextPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContextPrivate.h (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContextPrivate.h        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContextPrivate.h        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -27,13 +27,13 @@
</span><span class="cx"> #define WebKitWebContextPrivate_h
</span><span class="cx">
</span><span class="cx"> #include "DownloadProxy.h"
</span><del>-#include "WebContext.h"
</del><span class="cx"> #include "WebKitPrivate.h"
</span><span class="cx"> #include "WebKitUserContentManager.h"
</span><span class="cx"> #include "WebKitWebContext.h"
</span><ins>+#include "WebProcessPool.h"
</ins><span class="cx"> #include "WebSoupCustomProtocolRequestManager.h"
</span><span class="cx">
</span><del>-WebKit::WebContext* webkitWebContextGetContext(WebKitWebContext*);
</del><ins>+WebKit::WebProcessPool* webkitWebContextGetContext(WebKitWebContext*);
</ins><span class="cx"> WebKitDownload* webkitWebContextGetOrCreateDownload(WebKit::DownloadProxy*);
</span><span class="cx"> WebKitDownload* webkitWebContextStartDownload(WebKitWebContext*, const char* uri, WebKit::WebPageProxy*);
</span><span class="cx"> void webkitWebContextRemoveDownload(WebKit::DownloadProxy*);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitWebViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -3472,14 +3472,14 @@
</span><span class="cx"> {
</span><span class="cx"> g_return_if_fail(WEBKIT_IS_WEB_VIEW(webView));
</span><span class="cx">
</span><del>- ImmutableDictionary::MapType message;
</del><ins>+ API::Dictionary::MapType message;
</ins><span class="cx"> uint64_t callbackID = generateSnapshotCallbackID();
</span><span class="cx"> message.set(String::fromUTF8("SnapshotOptions"), API::UInt64::create(static_cast<uint64_t>(webKitSnapshotOptionsToSnapshotOptions(options))));
</span><span class="cx"> message.set(String::fromUTF8("SnapshotRegion"), API::UInt64::create(static_cast<uint64_t>(toSnapshotRegion(region))));
</span><span class="cx"> message.set(String::fromUTF8("CallbackID"), API::UInt64::create(callbackID));
</span><span class="cx">
</span><span class="cx"> webView->priv->snapshotResultsMap.set(callbackID, adoptGRef(g_task_new(webView, cancellable, callback, userData)));
</span><del>- getPage(webView)->postMessageToInjectedBundle(String::fromUTF8("GetSnapshot"), ImmutableDictionary::create(WTF::move(message)).get());
</del><ins>+ getPage(webView)->postMessageToInjectedBundle(String::fromUTF8("GetSnapshot"), API::Dictionary::create(WTF::move(message)).get());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /**
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitWebViewBasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include "PageClientImpl.h"
</span><span class="cx"> #include "RedirectedXCompositeWindow.h"
</span><span class="cx"> #include "ViewState.h"
</span><del>-#include "WebContext.h"
</del><span class="cx"> #include "WebEventFactory.h"
</span><span class="cx"> #include "WebFullScreenClientGtk.h"
</span><span class="cx"> #include "WebInspectorProxy.h"
</span><span class="lines">@@ -47,6 +46,7 @@
</span><span class="cx"> #include "WebPageGroup.h"
</span><span class="cx"> #include "WebPageProxy.h"
</span><span class="cx"> #include "WebPreferences.h"
</span><ins>+#include "WebProcessPool.h"
</ins><span class="cx"> #include "WebUserContentControllerProxy.h"
</span><span class="cx"> #include <WebCore/CairoUtilities.h>
</span><span class="cx"> #include <WebCore/GUniquePtrGtk.h>
</span><span class="lines">@@ -1082,7 +1082,7 @@
</span><span class="cx"> containerClass->forall = webkitWebViewBaseContainerForall;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-WebKitWebViewBase* webkitWebViewBaseCreate(WebContext* context, WebPreferences* preferences, WebPageGroup* pageGroup, WebUserContentControllerProxy* userContentController, WebPageProxy* relatedPage)
</del><ins>+WebKitWebViewBase* webkitWebViewBaseCreate(WebProcessPool* context, WebPreferences* preferences, WebPageGroup* pageGroup, WebUserContentControllerProxy* userContentController, WebPageProxy* relatedPage)
</ins><span class="cx"> {
</span><span class="cx"> WebKitWebViewBase* webkitWebViewBase = WEBKIT_WEB_VIEW_BASE(g_object_new(WEBKIT_TYPE_WEB_VIEW_BASE, NULL));
</span><span class="cx"> webkitWebViewBaseCreateWebPage(webkitWebViewBase, context, preferences, pageGroup, userContentController, relatedPage);
</span><span class="lines">@@ -1119,7 +1119,7 @@
</span><span class="cx"> }
</span><span class="cx"> #endif // HAVE(GTK_SCALE_FACTOR)
</span><span class="cx">
</span><del>-void webkitWebViewBaseCreateWebPage(WebKitWebViewBase* webkitWebViewBase, WebContext* context, WebPreferences* preferences, WebPageGroup* pageGroup, WebUserContentControllerProxy* userContentController, WebPageProxy* relatedPage)
</del><ins>+void webkitWebViewBaseCreateWebPage(WebKitWebViewBase* webkitWebViewBase, WebProcessPool* context, WebPreferences* preferences, WebPageGroup* pageGroup, WebUserContentControllerProxy* userContentController, WebPageProxy* relatedPage)
</ins><span class="cx"> {
</span><span class="cx"> WebKitWebViewBasePrivate* priv = webkitWebViewBase->priv;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitWebViewBasePrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBasePrivate.h (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBasePrivate.h        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBasePrivate.h        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -36,10 +36,10 @@
</span><span class="cx"> #include "WebKitWebViewBase.h"
</span><span class="cx"> #include "WebPageProxy.h"
</span><span class="cx">
</span><del>-WebKitWebViewBase* webkitWebViewBaseCreate(WebKit::WebContext*, WebKit::WebPreferences*, WebKit::WebPageGroup*, WebKit::WebUserContentControllerProxy*, WebKit::WebPageProxy*);
</del><ins>+WebKitWebViewBase* webkitWebViewBaseCreate(WebKit::WebProcessPool*, WebKit::WebPreferences*, WebKit::WebPageGroup*, WebKit::WebUserContentControllerProxy*, WebKit::WebPageProxy*);
</ins><span class="cx"> GtkIMContext* webkitWebViewBaseGetIMContext(WebKitWebViewBase*);
</span><span class="cx"> WebKit::WebPageProxy* webkitWebViewBaseGetPage(WebKitWebViewBase*);
</span><del>-void webkitWebViewBaseCreateWebPage(WebKitWebViewBase*, WebKit::WebContext*, WebKit::WebPreferences*, WebKit::WebPageGroup*, WebKit::WebUserContentControllerProxy*, WebKit::WebPageProxy*);
</del><ins>+void webkitWebViewBaseCreateWebPage(WebKitWebViewBase*, WebKit::WebProcessPool*, WebKit::WebPreferences*, WebKit::WebPageGroup*, WebKit::WebUserContentControllerProxy*, WebKit::WebPageProxy*);
</ins><span class="cx"> void webkitWebViewBaseSetTooltipText(WebKitWebViewBase*, const char*);
</span><span class="cx"> void webkitWebViewBaseSetTooltipArea(WebKitWebViewBase*, const WebCore::IntRect&);
</span><span class="cx"> void webkitWebViewBaseForwardNextKeyEvent(WebKitWebViewBase*);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitWindowPropertiescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWindowProperties.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWindowProperties.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWindowProperties.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -20,9 +20,9 @@
</span><span class="cx"> #include "config.h"
</span><span class="cx"> #include "WebKitWindowProperties.h"
</span><span class="cx">
</span><ins>+#include "APIDictionary.h"
</ins><span class="cx"> #include "APINumber.h"
</span><span class="cx"> #include "APIURLRequest.h"
</span><del>-#include "ImmutableDictionary.h"
</del><span class="cx"> #include "WebKitPrivate.h"
</span><span class="cx"> #include "WebKitWindowPropertiesPrivate.h"
</span><span class="cx"> #include <WebCore/IntRect.h>
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessgtkWebContextGtkcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -1,169 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- * Portions Copyright (c) 2010 Motorola Mobility, Inc. All rights reserved.
- * Copyright (C) 2012 Samsung Electronics Ltd. 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 "WebContext.h"
-
-#include "Logging.h"
-#include "WebCookieManagerProxy.h"
-#include "WebInspectorServer.h"
-#include "WebProcessCreationParameters.h"
-#include "WebProcessMessages.h"
-#include "WebSoupCustomProtocolRequestManager.h"
-#include <WebCore/FileSystem.h>
-#include <WebCore/NotImplemented.h>
-#include <WebCore/SchemeRegistry.h>
-#include <wtf/gobject/GUniquePtr.h>
-#include <wtf/text/CString.h>
-
-#if ENABLE(NETWORK_PROCESS)
-#include "NetworkProcessMessages.h"
-#endif
-
-namespace WebKit {
-
-static void initInspectorServer()
-{
-#if ENABLE(INSPECTOR_SERVER)
- static bool initialized = false;
- if (initialized)
- return;
-
- initialized = true;
- String serverAddress(g_getenv("WEBKIT_INSPECTOR_SERVER"));
-
- if (!serverAddress.isNull()) {
- String bindAddress = "127.0.0.1";
- unsigned short port = 2999;
-
- Vector<String> result;
- serverAddress.split(':', result);
-
- if (result.size() == 2) {
- bindAddress = result[0];
- bool ok = false;
- port = result[1].toInt(&ok);
- if (!ok) {
- port = 2999;
- LOG_ERROR("Couldn't parse the port. Use 2999 instead.");
- }
- } else
- LOG_ERROR("Couldn't parse %s, wrong format? Use 127.0.0.1:2999 instead.", serverAddress.utf8().data());
-
- if (!WebInspectorServer::shared().listen(bindAddress, port))
- LOG_ERROR("Couldn't start listening on: IP address=%s, port=%d.", bindAddress.utf8().data(), port);
- return;
- }
-
- LOG(InspectorServer, "To start inspector server set WEBKIT_INSPECTOR_SERVER to 127.0.0.1:2999 for example.");
-#endif
-}
-
-WTF::String WebContext::platformDefaultApplicationCacheDirectory() const
-{
- GUniquePtr<gchar> cacheDirectory(g_build_filename(g_get_user_cache_dir(), "webkitgtk", "applications", nullptr));
- return WebCore::filenameToString(cacheDirectory.get());
-}
-
-void WebContext::platformInitializeWebProcess(WebProcessCreationParameters& parameters)
-{
- initInspectorServer();
-
- if (!parameters.urlSchemesRegisteredAsLocal.contains("resource")) {
- WebCore::SchemeRegistry::registerURLSchemeAsLocal("resource");
- parameters.urlSchemesRegisteredAsLocal.append("resource");
- }
-
- if (!usesNetworkProcess()) {
- parameters.urlSchemesRegisteredForCustomProtocols = supplement<WebSoupCustomProtocolRequestManager>()->registeredSchemesForCustomProtocols();
-
- supplement<WebCookieManagerProxy>()->getCookiePersistentStorage(parameters.cookiePersistentStoragePath, parameters.cookiePersistentStorageType);
- parameters.cookieAcceptPolicy = m_initialHTTPCookieAcceptPolicy;
-
- parameters.ignoreTLSErrors = m_ignoreTLSErrors;
- }
-}
-
-void WebContext::platformInvalidateContext()
-{
-}
-
-String WebContext::platformDefaultWebSQLDatabaseDirectory()
-{
- GUniquePtr<gchar> databaseDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "databases", nullptr));
- return WebCore::filenameToString(databaseDirectory.get());
-}
-
-String WebContext::platformDefaultIndexedDBDatabaseDirectory()
-{
- notImplemented();
- return String();
-}
-
-String WebContext::platformDefaultIconDatabasePath() const
-{
- GUniquePtr<gchar> databaseDirectory(g_build_filename(g_get_user_cache_dir(), "webkitgtk", "icondatabase", nullptr));
- return WebCore::filenameToString(databaseDirectory.get());
-}
-
-String WebContext::platformDefaultLocalStorageDirectory()
-{
- GUniquePtr<gchar> storageDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "localstorage", nullptr));
- return WebCore::filenameToString(storageDirectory.get());
-}
-
-String WebContext::platformDefaultMediaKeysStorageDirectory()
-{
- GUniquePtr<gchar> mediaKeysStorageDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "mediakeys", nullptr));
- return WebCore::filenameToString(mediaKeysStorageDirectory.get());
-}
-
-String WebContext::platformDefaultDiskCacheDirectory() const
-{
- GUniquePtr<char> diskCacheDirectory(g_build_filename(g_get_user_cache_dir(), g_get_prgname(), nullptr));
- return WebCore::filenameToString(diskCacheDirectory.get());
-}
-
-String WebContext::platformDefaultCookieStorageDirectory() const
-{
- notImplemented();
- return String();
-}
-
-void WebContext::setIgnoreTLSErrors(bool ignoreTLSErrors)
-{
- m_ignoreTLSErrors = ignoreTLSErrors;
-#if ENABLE(NETWORK_PROCESS)
- if (usesNetworkProcess() && networkProcess()) {
- networkProcess()->send(Messages::NetworkProcess::SetIgnoreTLSErrors(m_ignoreTLSErrors), 0);
- return;
- }
-#endif
- sendToAllProcesses(Messages::WebProcess::SetIgnoreTLSErrors(m_ignoreTLSErrors));
-}
-
-} // namespace WebKit
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcessgtkWebInspectorProxyGtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/gtk/WebInspectorProxyGtk.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/gtk/WebInspectorProxyGtk.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebInspectorProxyGtk.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> {
</span><span class="cx"> ASSERT(m_page);
</span><span class="cx"> ASSERT(!m_inspectorView);
</span><del>- m_inspectorView = GTK_WIDGET(webkitWebViewBaseCreate(&inspectorContext(), nullptr, inspectorPageGroup(), nullptr, nullptr));
</del><ins>+ m_inspectorView = GTK_WIDGET(webkitWebViewBaseCreate(&inspectorProcessPool(), nullptr, inspectorPageGroup(), nullptr, nullptr));
</ins><span class="cx"> g_object_add_weak_pointer(G_OBJECT(m_inspectorView), reinterpret_cast<void**>(&m_inspectorView));
</span><span class="cx"> return webkitWebViewBaseGetPage(WEBKIT_WEB_VIEW_BASE(m_inspectorView));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessgtkWebProcessPoolGtkcppfromrev177720trunkSourceWebKit2UIProcessgtkWebContextGtkcpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/UIProcess/gtk/WebProcessPoolGtk.cpp (from rev 177720, trunk/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp) (0 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/gtk/WebProcessPoolGtk.cpp         (rev 0)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebProcessPoolGtk.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -0,0 +1,169 @@
</span><ins>+/*
+ * Copyright (C) 2010 Apple Inc. All rights reserved.
+ * Portions Copyright (c) 2010 Motorola Mobility, Inc. All rights reserved.
+ * Copyright (C) 2012 Samsung Electronics Ltd. 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 "WebProcessPool.h"
+
+#include "Logging.h"
+#include "WebCookieManagerProxy.h"
+#include "WebInspectorServer.h"
+#include "WebProcessCreationParameters.h"
+#include "WebProcessMessages.h"
+#include "WebSoupCustomProtocolRequestManager.h"
+#include <WebCore/FileSystem.h>
+#include <WebCore/NotImplemented.h>
+#include <WebCore/SchemeRegistry.h>
+#include <wtf/gobject/GUniquePtr.h>
+#include <wtf/text/CString.h>
+
+#if ENABLE(NETWORK_PROCESS)
+#include "NetworkProcessMessages.h"
+#endif
+
+namespace WebKit {
+
+static void initInspectorServer()
+{
+#if ENABLE(INSPECTOR_SERVER)
+ static bool initialized = false;
+ if (initialized)
+ return;
+
+ initialized = true;
+ String serverAddress(g_getenv("WEBKIT_INSPECTOR_SERVER"));
+
+ if (!serverAddress.isNull()) {
+ String bindAddress = "127.0.0.1";
+ unsigned short port = 2999;
+
+ Vector<String> result;
+ serverAddress.split(':', result);
+
+ if (result.size() == 2) {
+ bindAddress = result[0];
+ bool ok = false;
+ port = result[1].toInt(&ok);
+ if (!ok) {
+ port = 2999;
+ LOG_ERROR("Couldn't parse the port. Use 2999 instead.");
+ }
+ } else
+ LOG_ERROR("Couldn't parse %s, wrong format? Use 127.0.0.1:2999 instead.", serverAddress.utf8().data());
+
+ if (!WebInspectorServer::shared().listen(bindAddress, port))
+ LOG_ERROR("Couldn't start listening on: IP address=%s, port=%d.", bindAddress.utf8().data(), port);
+ return;
+ }
+
+ LOG(InspectorServer, "To start inspector server set WEBKIT_INSPECTOR_SERVER to 127.0.0.1:2999 for example.");
+#endif
+}
+
+WTF::String WebProcessPool::platformDefaultApplicationCacheDirectory() const
+{
+ GUniquePtr<gchar> cacheDirectory(g_build_filename(g_get_user_cache_dir(), "webkitgtk", "applications", nullptr));
+ return WebCore::filenameToString(cacheDirectory.get());
+}
+
+void WebProcessPool::platformInitializeWebProcess(WebProcessCreationParameters& parameters)
+{
+ initInspectorServer();
+
+ if (!parameters.urlSchemesRegisteredAsLocal.contains("resource")) {
+ WebCore::SchemeRegistry::registerURLSchemeAsLocal("resource");
+ parameters.urlSchemesRegisteredAsLocal.append("resource");
+ }
+
+ if (!usesNetworkProcess()) {
+ parameters.urlSchemesRegisteredForCustomProtocols = supplement<WebSoupCustomProtocolRequestManager>()->registeredSchemesForCustomProtocols();
+
+ supplement<WebCookieManagerProxy>()->getCookiePersistentStorage(parameters.cookiePersistentStoragePath, parameters.cookiePersistentStorageType);
+ parameters.cookieAcceptPolicy = m_initialHTTPCookieAcceptPolicy;
+
+ parameters.ignoreTLSErrors = m_ignoreTLSErrors;
+ }
+}
+
+void WebProcessPool::platformInvalidateContext()
+{
+}
+
+String WebProcessPool::platformDefaultWebSQLDatabaseDirectory()
+{
+ GUniquePtr<gchar> databaseDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "databases", nullptr));
+ return WebCore::filenameToString(databaseDirectory.get());
+}
+
+String WebProcessPool::platformDefaultIndexedDBDatabaseDirectory()
+{
+ notImplemented();
+ return String();
+}
+
+String WebProcessPool::platformDefaultIconDatabasePath() const
+{
+ GUniquePtr<gchar> databaseDirectory(g_build_filename(g_get_user_cache_dir(), "webkitgtk", "icondatabase", nullptr));
+ return WebCore::filenameToString(databaseDirectory.get());
+}
+
+String WebProcessPool::platformDefaultLocalStorageDirectory()
+{
+ GUniquePtr<gchar> storageDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "localstorage", nullptr));
+ return WebCore::filenameToString(storageDirectory.get());
+}
+
+String WebProcessPool::platformDefaultMediaKeysStorageDirectory()
+{
+ GUniquePtr<gchar> mediaKeysStorageDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "mediakeys", nullptr));
+ return WebCore::filenameToString(mediaKeysStorageDirectory.get());
+}
+
+String WebProcessPool::platformDefaultDiskCacheDirectory() const
+{
+ GUniquePtr<char> diskCacheDirectory(g_build_filename(g_get_user_cache_dir(), g_get_prgname(), nullptr));
+ return WebCore::filenameToString(diskCacheDirectory.get());
+}
+
+String WebProcessPool::platformDefaultCookieStorageDirectory() const
+{
+ notImplemented();
+ return String();
+}
+
+void WebProcessPool::setIgnoreTLSErrors(bool ignoreTLSErrors)
+{
+ m_ignoreTLSErrors = ignoreTLSErrors;
+#if ENABLE(NETWORK_PROCESS)
+ if (usesNetworkProcess() && networkProcess()) {
+ networkProcess()->send(Messages::NetworkProcess::SetIgnoreTLSErrors(m_ignoreTLSErrors), 0);
+ return;
+ }
+#endif
+ sendToAllProcesses(Messages::WebProcess::SetIgnoreTLSErrors(m_ignoreTLSErrors));
+}
+
+} // namespace WebKit
</ins></span></pre></div>
<a id="trunkSourceWebKit2UIProcesssoupWebContextSoupcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/UIProcess/soup/WebContextSoup.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/soup/WebContextSoup.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/UIProcess/soup/WebContextSoup.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 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"
-#if ENABLE(NETWORK_PROCESS)
-#include "WebProcessPool.h"
-
-#include "NetworkProcessCreationParameters.h"
-#include "WebCookieManagerProxy.h"
-#include "WebSoupCustomProtocolRequestManager.h"
-#include <WebCore/Language.h>
-
-namespace WebKit {
-
-void WebProcessPool::platformInitializeNetworkProcess(NetworkProcessCreationParameters& parameters)
-{
- supplement<WebCookieManagerProxy>()->getCookiePersistentStorage(parameters.cookiePersistentStoragePath, parameters.cookiePersistentStorageType);
- parameters.cookieAcceptPolicy = m_initialHTTPCookieAcceptPolicy;
- parameters.ignoreTLSErrors = m_ignoreTLSErrors;
- parameters.languages = WebCore::userPreferredLanguages();
- parameters.urlSchemesRegisteredForCustomProtocols = supplement<WebSoupCustomProtocolRequestManager>()->registeredSchemesForCustomProtocols();
-}
-
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcesssoupWebProcessPoolSoupcppfromrev177720trunkSourceWebKit2UIProcesssoupWebContextSoupcpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/UIProcess/soup/WebProcessPoolSoup.cpp (from rev 177720, trunk/Source/WebKit2/UIProcess/soup/WebContextSoup.cpp) (0 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/soup/WebProcessPoolSoup.cpp         (rev 0)
+++ trunk/Source/WebKit2/UIProcess/soup/WebProcessPoolSoup.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+/*
+ * Copyright (C) 2012 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"
+#if ENABLE(NETWORK_PROCESS)
+#include "WebProcessPool.h"
+
+#include "NetworkProcessCreationParameters.h"
+#include "WebCookieManagerProxy.h"
+#include "WebSoupCustomProtocolRequestManager.h"
+#include <WebCore/Language.h>
+
+namespace WebKit {
+
+void WebProcessPool::platformInitializeNetworkProcess(NetworkProcessCreationParameters& parameters)
+{
+ supplement<WebCookieManagerProxy>()->getCookiePersistentStorage(parameters.cookiePersistentStoragePath, parameters.cookiePersistentStorageType);
+ parameters.cookieAcceptPolicy = m_initialHTTPCookieAcceptPolicy;
+ parameters.ignoreTLSErrors = m_ignoreTLSErrors;
+ parameters.languages = WebCore::userPreferredLanguages();
+ parameters.urlSchemesRegisteredForCustomProtocols = supplement<WebSoupCustomProtocolRequestManager>()->registeredSchemesForCustomProtocols();
+}
+
+}
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleAPIgtkWebKitWebExtensioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -20,8 +20,8 @@
</span><span class="cx"> #include "config.h"
</span><span class="cx"> #include "WebKitWebExtension.h"
</span><span class="cx">
</span><ins>+#include "APIDictionary.h"
</ins><span class="cx"> #include "APIString.h"
</span><del>-#include "ImmutableDictionary.h"
</del><span class="cx"> #include "WKBundleAPICast.h"
</span><span class="cx"> #include "WKBundlePage.h"
</span><span class="cx"> #include "WebKitPrivate.h"
</span><span class="lines">@@ -81,7 +81,7 @@
</span><span class="cx"> extension->priv->pages.remove(page);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-static void webkitWebExtensionDidReceiveMessage(WebKitWebExtension*, const String& messageName, ImmutableDictionary& message)
</del><ins>+static void webkitWebExtensionDidReceiveMessage(WebKitWebExtension*, const String& messageName, API::Dictionary& message)
</ins><span class="cx"> {
</span><span class="cx"> if (messageName == String::fromUTF8("PrefetchDNS")) {
</span><span class="cx"> API::String* hostname = static_cast<API::String*>(message.get(String::fromUTF8("Hostname")));
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleAPIgtkWebKitWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -21,8 +21,8 @@
</span><span class="cx"> #include "WebKitWebPage.h"
</span><span class="cx">
</span><span class="cx"> #include "APIArray.h"
</span><ins>+#include "APIDictionary.h"
</ins><span class="cx"> #include "ImageOptions.h"
</span><del>-#include "ImmutableDictionary.h"
</del><span class="cx"> #include "InjectedBundle.h"
</span><span class="cx"> #include "WKBundleAPICast.h"
</span><span class="cx"> #include "WKBundleFrame.h"
</span><span class="lines">@@ -158,12 +158,12 @@
</span><span class="cx">
</span><span class="cx"> static void didInitiateLoadForResource(WKBundlePageRef page, WKBundleFrameRef frame, uint64_t identifier, WKURLRequestRef request, bool /* pageLoadIsProvisional */, const void*)
</span><span class="cx"> {
</span><del>- ImmutableDictionary::MapType message;
</del><ins>+ API::Dictionary::MapType message;
</ins><span class="cx"> message.set(String::fromUTF8("Page"), toImpl(page));
</span><span class="cx"> message.set(String::fromUTF8("Frame"), toImpl(frame));
</span><span class="cx"> message.set(String::fromUTF8("Identifier"), API::UInt64::create(identifier));
</span><span class="cx"> message.set(String::fromUTF8("Request"), toImpl(request));
</span><del>- WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidInitiateLoadForResource"), ImmutableDictionary::create(WTF::move(message)).get());
</del><ins>+ WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidInitiateLoadForResource"), API::Dictionary::create(WTF::move(message)).get());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static WKURLRequestRef willSendRequestForFrame(WKBundlePageRef page, WKBundleFrameRef, uint64_t identifier, WKURLRequestRef wkRequest, WKURLResponseRef wkRedirectResponse, const void* clientInfo)
</span><span class="lines">@@ -182,50 +182,50 @@
</span><span class="cx"> resourceRequest.setInitiatingPageID(toImpl(page)->pageID());
</span><span class="cx"> RefPtr<API::URLRequest> newRequest = API::URLRequest::create(resourceRequest);
</span><span class="cx">
</span><del>- ImmutableDictionary::MapType message;
</del><ins>+ API::Dictionary::MapType message;
</ins><span class="cx"> message.set(String::fromUTF8("Page"), toImpl(page));
</span><span class="cx"> message.set(String::fromUTF8("Identifier"), API::UInt64::create(identifier));
</span><span class="cx"> message.set(String::fromUTF8("Request"), newRequest.get());
</span><span class="cx"> if (!redirectResourceResponse.isNull())
</span><span class="cx"> message.set(String::fromUTF8("RedirectResponse"), toImpl(wkRedirectResponse));
</span><del>- WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidSendRequestForResource"), ImmutableDictionary::create(WTF::move(message)).get());
</del><ins>+ WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidSendRequestForResource"), API::Dictionary::create(WTF::move(message)).get());
</ins><span class="cx">
</span><span class="cx"> return toAPI(newRequest.release().leakRef());
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static void didReceiveResponseForResource(WKBundlePageRef page, WKBundleFrameRef, uint64_t identifier, WKURLResponseRef response, const void*)
</span><span class="cx"> {
</span><del>- ImmutableDictionary::MapType message;
</del><ins>+ API::Dictionary::MapType message;
</ins><span class="cx"> message.set(String::fromUTF8("Page"), toImpl(page));
</span><span class="cx"> message.set(String::fromUTF8("Identifier"), API::UInt64::create(identifier));
</span><span class="cx"> message.set(String::fromUTF8("Response"), toImpl(response));
</span><del>- WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidReceiveResponseForResource"), ImmutableDictionary::create(WTF::move(message)).get());
</del><ins>+ WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidReceiveResponseForResource"), API::Dictionary::create(WTF::move(message)).get());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static void didReceiveContentLengthForResource(WKBundlePageRef page, WKBundleFrameRef, uint64_t identifier, uint64_t length, const void*)
</span><span class="cx"> {
</span><del>- ImmutableDictionary::MapType message;
</del><ins>+ API::Dictionary::MapType message;
</ins><span class="cx"> message.set(String::fromUTF8("Page"), toImpl(page));
</span><span class="cx"> message.set(String::fromUTF8("Identifier"), API::UInt64::create(identifier));
</span><span class="cx"> message.set(String::fromUTF8("ContentLength"), API::UInt64::create(length));
</span><del>- WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidReceiveContentLengthForResource"), ImmutableDictionary::create(WTF::move(message)).get());
</del><ins>+ WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidReceiveContentLengthForResource"), API::Dictionary::create(WTF::move(message)).get());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static void didFinishLoadForResource(WKBundlePageRef page, WKBundleFrameRef, uint64_t identifier, const void*)
</span><span class="cx"> {
</span><del>- ImmutableDictionary::MapType message;
</del><ins>+ API::Dictionary::MapType message;
</ins><span class="cx"> message.set(String::fromUTF8("Page"), toImpl(page));
</span><span class="cx"> message.set(String::fromUTF8("Identifier"), API::UInt64::create(identifier));
</span><del>- WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidFinishLoadForResource"), ImmutableDictionary::create(WTF::move(message)).get());
</del><ins>+ WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidFinishLoadForResource"), API::Dictionary::create(WTF::move(message)).get());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static void didFailLoadForResource(WKBundlePageRef page, WKBundleFrameRef, uint64_t identifier, WKErrorRef error, const void*)
</span><span class="cx"> {
</span><del>- ImmutableDictionary::MapType message;
</del><ins>+ API::Dictionary::MapType message;
</ins><span class="cx"> message.set(String::fromUTF8("Page"), toImpl(page));
</span><span class="cx"> message.set(String::fromUTF8("Identifier"), API::UInt64::create(identifier));
</span><span class="cx"> message.set(String::fromUTF8("Error"), toImpl(error));
</span><del>- WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidFailLoadForResource"), ImmutableDictionary::create(WTF::move(message)).get());
</del><ins>+ WebProcess::shared().injectedBundle()->postMessage(String::fromUTF8("WebPage.DidFailLoadForResource"), API::Dictionary::create(WTF::move(message)).get());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static void getContextMenuFromDefaultMenu(WKBundlePageRef, WKBundleHitTestResultRef wkHitTestResult, WKArrayRef wkDefaultMenu, WKArrayRef* wkNewMenu, WKTypeRef* wkUserData, const void* clientInfo)
</span><span class="lines">@@ -448,7 +448,7 @@
</span><span class="cx"> return page;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-void webkitWebPageDidReceiveMessage(WebKitWebPage* page, const String& messageName, ImmutableDictionary& message)
</del><ins>+void webkitWebPageDidReceiveMessage(WebKitWebPage* page, const String& messageName, API::Dictionary& message)
</ins><span class="cx"> {
</span><span class="cx"> if (messageName == String("GetSnapshot")) {
</span><span class="cx"> SnapshotOptions snapshotOptions = static_cast<SnapshotOptions>(static_cast<API::UInt64*>(message.get("SnapshotOptions"))->value());
</span><span class="lines">@@ -473,11 +473,11 @@
</span><span class="cx"> snapshotImage = webPage->scaledSnapshotWithOptions(snapshotRect, 1, snapshotOptions | SnapshotOptionsShareable);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- ImmutableDictionary::MapType messageReply;
</del><ins>+ API::Dictionary::MapType messageReply;
</ins><span class="cx"> messageReply.set("Page", webPage);
</span><span class="cx"> messageReply.set("CallbackID", API::UInt64::create(callbackID));
</span><span class="cx"> messageReply.set("Snapshot", snapshotImage);
</span><del>- WebProcess::shared().injectedBundle()->postMessage("WebPage.DidGetSnapshot", ImmutableDictionary::create(WTF::move(messageReply)).get());
</del><ins>+ WebProcess::shared().injectedBundle()->postMessage("WebPage.DidGetSnapshot", API::Dictionary::create(WTF::move(messageReply)).get());
</ins><span class="cx"> } else
</span><span class="cx"> ASSERT_NOT_REACHED();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleAPIgtkWebKitWebPagePrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPagePrivate.h (177720 => 177721)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPagePrivate.h        2014-12-24 04:58:51 UTC (rev 177720)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPagePrivate.h        2014-12-24 05:34:39 UTC (rev 177721)
</span><span class="lines">@@ -20,11 +20,11 @@
</span><span class="cx"> #ifndef WebKitWebPagePrivate_h
</span><span class="cx"> #define WebKitWebPagePrivate_h
</span><span class="cx">
</span><del>-#include "ImmutableDictionary.h"
</del><ins>+#include "APIDictionary.h"
</ins><span class="cx"> #include "WebKitWebPage.h"
</span><span class="cx"> #include "WebPage.h"
</span><span class="cx">
</span><span class="cx"> WebKitWebPage* webkitWebPageCreate(WebKit::WebPage*);
</span><del>-void webkitWebPageDidReceiveMessage(WebKitWebPage*, const String& messageName, WebKit::ImmutableDictionary& message);
</del><ins>+void webkitWebPageDidReceiveMessage(WebKitWebPage*, const String& messageName, API::Dictionary& message);
</ins><span class="cx">
</span><span class="cx"> #endif // WebKitWebPagePrivate_h
</span></span></pre>
</div>
</div>
</body>
</html>