<!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>[177608] 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/177608">177608</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2014-12-19 16:46:42 -0800 (Fri, 19 Dec 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Get rid of the hardcoded set of structs in the message generation script
https://bugs.webkit.org/show_bug.cgi?id=139844
Reviewed by Tim Horton.
Instead, make it possible to use 'struct' in front of the type name to declare that the type is a struct.
* DatabaseProcess/DatabaseProcess.messages.in:
* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
* NetworkProcess/NetworkProcess.messages.in:
* PluginProcess/PluginProcess.messages.in:
* PluginProcess/WebProcessConnection.messages.in:
* Scripts/webkit/messages.py:
(struct_or_class):
(forward_declarations_for_namespace):
(forward_declarations_and_headers):
* Scripts/webkit/model.py:
(Parameter.__init__):
* Scripts/webkit/parser.py:
(parse_parameters_string):
* UIProcess/Storage/StorageManager.messages.in:
* UIProcess/WebContext.messages.in:
* UIProcess/WebPageProxy.messages.in:
* UIProcess/WebProcessProxy.messages.in:
* WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in:
* WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in:
* WebProcess/OriginData/WebOriginDataManager.messages.in:
* WebProcess/ResourceCache/WebResourceCacheManager.messages.in:
* WebProcess/WebPage/DrawingArea.messages.in:
* WebProcess/WebPage/WebPage.messages.in:
* WebProcess/WebProcess.messages.in:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessDatabaseProcessmessagesin">trunk/Source/WebKit2/DatabaseProcess/DatabaseProcess.messages.in</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessIndexedDBDatabaseProcessIDBConnectionmessagesin">trunk/Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessNetworkProcessmessagesin">trunk/Source/WebKit2/NetworkProcess/NetworkProcess.messages.in</a></li>
<li><a href="#trunkSourceWebKit2PluginProcessPluginProcessmessagesin">trunk/Source/WebKit2/PluginProcess/PluginProcess.messages.in</a></li>
<li><a href="#trunkSourceWebKit2PluginProcessWebProcessConnectionmessagesin">trunk/Source/WebKit2/PluginProcess/WebProcessConnection.messages.in</a></li>
<li><a href="#trunkSourceWebKit2Scriptswebkitmessagespy">trunk/Source/WebKit2/Scripts/webkit/messages.py</a></li>
<li><a href="#trunkSourceWebKit2Scriptswebkitmodelpy">trunk/Source/WebKit2/Scripts/webkit/model.py</a></li>
<li><a href="#trunkSourceWebKit2Scriptswebkitparserpy">trunk/Source/WebKit2/Scripts/webkit/parser.py</a></li>
<li><a href="#trunkSourceWebKit2UIProcessStorageStorageManagermessagesin">trunk/Source/WebKit2/UIProcess/Storage/StorageManager.messages.in</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebContextmessagesin">trunk/Source/WebKit2/UIProcess/WebContext.messages.in</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebPageProxymessagesin">trunk/Source/WebKit2/UIProcess/WebPageProxy.messages.in</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebProcessProxymessagesin">trunk/Source/WebKit2/UIProcess/WebProcessProxy.messages.in</a></li>
<li><a href="#trunkSourceWebKit2WebProcessApplicationCacheWebApplicationCacheManagermessagesin">trunk/Source/WebKit2/WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in</a></li>
<li><a href="#trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBServerConnectionmessagesin">trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in</a></li>
<li><a href="#trunkSourceWebKit2WebProcessOriginDataWebOriginDataManagermessagesin">trunk/Source/WebKit2/WebProcess/OriginData/WebOriginDataManager.messages.in</a></li>
<li><a href="#trunkSourceWebKit2WebProcessResourceCacheWebResourceCacheManagermessagesin">trunk/Source/WebKit2/WebProcess/ResourceCache/WebResourceCacheManager.messages.in</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageDrawingAreamessagesin">trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.messages.in</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagemessagesin">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebProcessmessagesin">trunk/Source/WebKit2/WebProcess/WebProcess.messages.in</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/ChangeLog        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -1,3 +1,37 @@
</span><ins>+2014-12-19 Anders Carlsson <andersca@apple.com>
+
+ Get rid of the hardcoded set of structs in the message generation script
+ https://bugs.webkit.org/show_bug.cgi?id=139844
+
+ Reviewed by Tim Horton.
+
+ Instead, make it possible to use 'struct' in front of the type name to declare that the type is a struct.
+
+ * DatabaseProcess/DatabaseProcess.messages.in:
+ * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
+ * NetworkProcess/NetworkProcess.messages.in:
+ * PluginProcess/PluginProcess.messages.in:
+ * PluginProcess/WebProcessConnection.messages.in:
+ * Scripts/webkit/messages.py:
+ (struct_or_class):
+ (forward_declarations_for_namespace):
+ (forward_declarations_and_headers):
+ * Scripts/webkit/model.py:
+ (Parameter.__init__):
+ * Scripts/webkit/parser.py:
+ (parse_parameters_string):
+ * UIProcess/Storage/StorageManager.messages.in:
+ * UIProcess/WebContext.messages.in:
+ * UIProcess/WebPageProxy.messages.in:
+ * UIProcess/WebProcessProxy.messages.in:
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in:
+ * WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in:
+ * WebProcess/OriginData/WebOriginDataManager.messages.in:
+ * WebProcess/ResourceCache/WebResourceCacheManager.messages.in:
+ * WebProcess/WebPage/DrawingArea.messages.in:
+ * WebProcess/WebPage/WebPage.messages.in:
+ * WebProcess/WebProcess.messages.in:
+
</ins><span class="cx"> 2014-12-19 Timothy Horton <timothy_horton@apple.com>
</span><span class="cx">
</span><span class="cx"> Fix the build.
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessDatabaseProcessmessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/DatabaseProcess.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/DatabaseProcess.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/DatabaseProcess/DatabaseProcess.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -24,7 +24,7 @@
</span><span class="cx">
</span><span class="cx"> messages -> DatabaseProcess LegacyReceiver {
</span><span class="cx"> # Initializes the DatabaseProcess with the correct parameters
</span><del>- InitializeDatabaseProcess(WebKit::DatabaseProcessCreationParameters processCreationParameters)
</del><ins>+ InitializeDatabaseProcess(struct WebKit::DatabaseProcessCreationParameters processCreationParameters)
</ins><span class="cx">
</span><span class="cx"> # Creates a connection for communication with a WebProcess
</span><span class="cx"> CreateDatabaseToWebProcessConnection()
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessIndexedDBDatabaseProcessIDBConnectionmessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> #if ENABLE(INDEXED_DATABASE) && ENABLE(DATABASE_PROCESS)
</span><span class="cx">
</span><span class="cx"> messages -> DatabaseProcessIDBConnection LegacyReceiver {
</span><del>- EstablishConnection(String databaseName, WebKit::SecurityOriginData openingOrigin, WebKit::SecurityOriginData mainFrameOrigin)
</del><ins>+ EstablishConnection(String databaseName, struct WebKit::SecurityOriginData openingOrigin, struct WebKit::SecurityOriginData mainFrameOrigin)
</ins><span class="cx"> GetOrEstablishIDBDatabaseMetadata(uint64_t requestID)
</span><span class="cx"> DeleteDatabase(uint64_t requestID, String databaseName)
</span><span class="cx">
</span><span class="lines">@@ -37,21 +37,21 @@
</span><span class="cx"> RollbackTransactionSync(int64_t transactionID) -> (bool success) Delayed
</span><span class="cx">
</span><span class="cx"> ChangeDatabaseVersion(uint64_t requestID, int64_t transactionID, uint64_t newVersion)
</span><del>- CreateObjectStore(uint64_t requestID, int64_t transactionID, WebCore::IDBObjectStoreMetadata objectStoreMetadata)
</del><ins>+ CreateObjectStore(uint64_t requestID, int64_t transactionID, struct WebCore::IDBObjectStoreMetadata objectStoreMetadata)
</ins><span class="cx"> DeleteObjectStore(uint64_t requestID, int64_t transactionID, int64_t objectStoreID)
</span><span class="cx"> ClearObjectStore(uint64_t requestID, int64_t transactionID, int64_t objectStoreID);
</span><del>- CreateIndex(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, WebCore::IDBIndexMetadata indexMetadata)
</del><ins>+ CreateIndex(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, struct WebCore::IDBIndexMetadata indexMetadata)
</ins><span class="cx"> DeleteIndex(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, int64_t indexID)
</span><span class="cx">
</span><del>- PutRecord(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, WebCore::IDBKeyData key, IPC::DataReference value, int64_t putMode, Vector<int64_t> indexIDs, Vector<Vector<WebCore::IDBKeyData>> indexKeys)
- GetRecord(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, int64_t indexID, WebCore::IDBKeyRangeData keyRange, int64_t cursorType)
</del><ins>+ PutRecord(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, struct WebCore::IDBKeyData key, IPC::DataReference value, int64_t putMode, Vector<int64_t> indexIDs, Vector<Vector<WebCore::IDBKeyData>> indexKeys)
+ GetRecord(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, int64_t indexID, struct WebCore::IDBKeyRangeData keyRange, int64_t cursorType)
</ins><span class="cx">
</span><del>- OpenCursor(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, int64_t indexID, int64_t cursorDirection, int64_t cursorType, int64_t taskType, WebCore::IDBKeyRangeData keyRange)
</del><ins>+ OpenCursor(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, int64_t indexID, int64_t cursorDirection, int64_t cursorType, int64_t taskType, struct WebCore::IDBKeyRangeData keyRange)
</ins><span class="cx"> CursorAdvance(uint64_t requestID, int64_t cursorID, uint64_t count)
</span><del>- CursorIterate(uint64_t requestID, int64_t cursorID, WebCore::IDBKeyData key)
</del><ins>+ CursorIterate(uint64_t requestID, int64_t cursorID, struct WebCore::IDBKeyData key)
</ins><span class="cx">
</span><del>- Count(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, int64_t indexID, WebCore::IDBKeyRangeData keyRange)
- DeleteRange(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, WebCore::IDBKeyRangeData keyRange)
</del><ins>+ Count(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, int64_t indexID, struct WebCore::IDBKeyRangeData keyRange)
+ DeleteRange(uint64_t requestID, int64_t transactionID, int64_t objectStoreID, struct WebCore::IDBKeyRangeData keyRange)
</ins><span class="cx">
</span><span class="cx"> Close()
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessNetworkProcessmessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/NetworkProcess.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/NetworkProcess.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/NetworkProcess/NetworkProcess.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -24,7 +24,7 @@
</span><span class="cx">
</span><span class="cx"> messages -> NetworkProcess LegacyReceiver {
</span><span class="cx"> # Initializes the network process.
</span><del>- InitializeNetworkProcess(WebKit::NetworkProcessCreationParameters processCreationParameters)
</del><ins>+ InitializeNetworkProcess(struct WebKit::NetworkProcessCreationParameters processCreationParameters)
</ins><span class="cx">
</span><span class="cx"> # Creates a connection for communication with a WebProcess
</span><span class="cx"> CreateNetworkConnectionToWebProcess()
</span></span></pre></div>
<a id="trunkSourceWebKit2PluginProcessPluginProcessmessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/PluginProcess/PluginProcess.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/PluginProcess/PluginProcess.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/PluginProcess/PluginProcess.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -24,7 +24,7 @@
</span><span class="cx">
</span><span class="cx"> messages -> PluginProcess LegacyReceiver {
</span><span class="cx"> # Initializes the plug-in process.
</span><del>- InitializePluginProcess(WebKit::PluginProcessCreationParameters processCreationParameters)
</del><ins>+ InitializePluginProcess(struct WebKit::PluginProcessCreationParameters processCreationParameters)
</ins><span class="cx">
</span><span class="cx"> # Creates a web process connection. When the connection has been created,
</span><span class="cx"> # The plug-in process sends back a DidCreateWebProcessConnection message with
</span></span></pre></div>
<a id="trunkSourceWebKit2PluginProcessWebProcessConnectionmessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/PluginProcess/WebProcessConnection.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/PluginProcess/WebProcessConnection.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/PluginProcess/WebProcessConnection.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -24,10 +24,10 @@
</span><span class="cx">
</span><span class="cx"> messages -> WebProcessConnection LegacyReceiver {
</span><span class="cx"> # Creates a plug-in instance using the given creation parameters.
</span><del>- CreatePlugin(WebKit::PluginCreationParameters pluginCreationParameters) -> (bool creationResult, bool wantsWheelEvents, uint32_t remoteLayerClientID) Delayed
</del><ins>+ CreatePlugin(struct WebKit::PluginCreationParameters pluginCreationParameters) -> (bool creationResult, bool wantsWheelEvents, uint32_t remoteLayerClientID) Delayed
</ins><span class="cx">
</span><span class="cx"> # Creates a plug-in instance asynchronously using the given creation parameters.
</span><del>- CreatePluginAsynchronously(WebKit::PluginCreationParameters pluginCreationParameters)
</del><ins>+ CreatePluginAsynchronously(struct WebKit::PluginCreationParameters pluginCreationParameters)
</ins><span class="cx">
</span><span class="cx"> # Destroys the plug-in instance with the given instance ID.
</span><span class="cx"> DestroyPlugin(uint64_t pluginInstanceID, bool asynchronousCreationIncomplete) -> () Delayed
</span></span></pre></div>
<a id="trunkSourceWebKit2Scriptswebkitmessagespy"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Scripts/webkit/messages.py (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Scripts/webkit/messages.py        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/Scripts/webkit/messages.py        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -153,86 +153,20 @@
</span><span class="cx"> return surround_in_condition(''.join(result), message.condition)
</span><span class="cx">
</span><span class="cx">
</span><del>-def struct_or_class(namespace, type):
- structs = frozenset([
- 'WebCore::Animation',
- 'WebCore::EditorCommandsForKeyEvent',
- 'WebCore::CompositionUnderline',
- 'WebCore::Cookie',
- 'WebCore::FloatPoint3D',
- 'WebCore::FileChooserSettings',
- 'WebCore::GrammarDetail',
- 'WebCore::Highlight',
- 'WebCore::IDBDatabaseMetadata',
- 'WebCore::IDBGetResult',
- 'WebCore::IDBIndexMetadata',
- 'WebCore::IDBKeyData',
- 'WebCore::IDBKeyRangeData',
- 'WebCore::IDBObjectStoreMetadata',
- 'WebCore::IdentityTransformOperation',
- 'WebCore::KeypressCommand',
- 'WebCore::Length',
- 'WebCore::MatrixTransformOperation',
- 'WebCore::Matrix3DTransformOperation',
- 'WebCore::NotificationContents',
- 'WebCore::PasteboardImage',
- 'WebCore::PasteboardWebContent',
- 'WebCore::PerspectiveTransformOperation',
- 'WebCore::PluginInfo',
- 'WebCore::PrintInfo',
- 'WebCore::RotateTransformOperation',
- 'WebCore::ScaleTransformOperation',
- 'WebCore::SkewTransformOperation',
- 'WebCore::TextIndicatorData',
- 'WebCore::TimingFunction',
- 'WebCore::TransformationMatrix',
- 'WebCore::TransformOperation',
- 'WebCore::TransformOperations',
- 'WebCore::TranslateTransformOperation',
- 'WebCore::ViewportArguments',
- 'WebCore::ViewportAttributes',
- 'WebCore::WindowFeatures',
- 'WebKit::ActionMenuHitTestResult',
- 'WebKit::AssistedNodeInformation',
- 'WebKit::AttributedString',
- 'WebKit::BackForwardListItemState',
- 'WebKit::ColorSpaceData',
- 'WebKit::ContextMenuState',
- 'WebKit::DatabaseProcessCreationParameters',
- 'WebKit::DictionaryPopupInfo',
- 'WebKit::DrawingAreaInfo',
- 'WebKit::EditingRange',
- 'WebKit::EditorState',
- 'WebKit::InteractionInformationAtPosition',
- 'WebKit::NavigationActionData',
- 'WebKit::NetworkProcessCreationParameters',
- 'WebKit::PageState',
- 'WebKit::PlatformPopupMenuData',
- 'WebKit::PluginCreationParameters',
- 'WebKit::PluginProcessCreationParameters',
- 'WebKit::PrintInfo',
- 'WebKit::SecurityOriginData',
- 'WebKit::StatisticsData',
- 'WebKit::TextCheckerState',
- 'WebKit::WKOptionItem',
- 'WebKit::WebNavigationDataStore',
- 'WebKit::WebPageCreationParameters',
- 'WebKit::WebPreferencesStore',
- 'WebKit::WebProcessCreationParameters',
- 'WebKit::WebScriptMessageHandlerHandle',
- 'WebKit::WindowGeometry',
- ])
</del><ins>+def struct_or_class(namespace, kind_and_type):
+ kind, type = kind_and_type
</ins><span class="cx">
</span><span class="cx"> qualified_name = '%s::%s' % (namespace, type)
</span><del>- if qualified_name in structs:
</del><ins>+ if kind == 'struct':
</ins><span class="cx"> return 'struct %s' % type
</span><ins>+ else:
+ return 'class %s' % type
</ins><span class="cx">
</span><del>- return 'class %s' % type
</del><span class="cx">
</span><del>-def forward_declarations_for_namespace(namespace, types):
</del><ins>+def forward_declarations_for_namespace(namespace, kind_and_types):
</ins><span class="cx"> result = []
</span><span class="cx"> result.append('namespace %s {\n' % namespace)
</span><del>- result += [' %s;\n' % struct_or_class(namespace, x) for x in types]
</del><ins>+ result += [' %s;\n' % struct_or_class(namespace, x) for x in kind_and_types]
</ins><span class="cx"> result.append('}\n')
</span><span class="cx"> return ''.join(result)
</span><span class="cx">
</span><span class="lines">@@ -253,9 +187,10 @@
</span><span class="cx"> for message in receiver.messages:
</span><span class="cx"> if message.reply_parameters != None and message.has_attribute(DELAYED_ATTRIBUTE):
</span><span class="cx"> headers.add('<wtf/ThreadSafeRefCounted.h>')
</span><del>- types_by_namespace['IPC'].update(['Connection'])
</del><ins>+ types_by_namespace['IPC'].update([('class', 'Connection')])
</ins><span class="cx">
</span><span class="cx"> for parameter in receiver.iterparameters():
</span><ins>+ kind = parameter.kind
</ins><span class="cx"> type = parameter.type
</span><span class="cx">
</span><span class="cx"> if type.find('<') != -1:
</span><span class="lines">@@ -272,7 +207,7 @@
</span><span class="cx"> if len(split) == 2:
</span><span class="cx"> namespace = split[0]
</span><span class="cx"> inner_type = split[1]
</span><del>- types_by_namespace[namespace].add(inner_type)
</del><ins>+ types_by_namespace[namespace].add((kind, inner_type))
</ins><span class="cx"> elif len(split) > 2:
</span><span class="cx"> # We probably have a nested struct, which means we can't forward declare it.
</span><span class="cx"> # Include its header instead.
</span></span></pre></div>
<a id="trunkSourceWebKit2Scriptswebkitmodelpy"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Scripts/webkit/model.py (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Scripts/webkit/model.py        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/Scripts/webkit/model.py        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -51,7 +51,8 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> class Parameter(object):
</span><del>- def __init__(self, type, name, attributes=None, condition=None):
</del><ins>+ def __init__(self, kind, type, name, attributes=None, condition=None):
+ self.kind = kind
</ins><span class="cx"> self.type = type
</span><span class="cx"> self.name = name
</span><span class="cx"> self.attributes = frozenset(attributes or [])
</span></span></pre></div>
<a id="trunkSourceWebKit2Scriptswebkitparserpy"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Scripts/webkit/parser.py (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Scripts/webkit/parser.py        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/Scripts/webkit/parser.py        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -127,6 +127,15 @@
</span><span class="cx"> for parameter_string in split_parameters_string(parameters_string):
</span><span class="cx"> match = re.search(r'\s*(?:\[(?P<attributes>.*?)\]\s+)?(?P<type_and_name>.*)', parameter_string)
</span><span class="cx"> attributes_string, type_and_name_string = match.group('attributes', 'type_and_name')
</span><del>- parameter_type, parameter_name = type_and_name_string.rsplit(' ', 1)
- parameters.append(model.Parameter(type=parameter_type, name=parameter_name, attributes=parse_attributes_string(attributes_string)))
</del><ins>+
+ split = type_and_name_string.rsplit(' ', 1)
+ parameter_kind = 'class'
+ if split[0].startswith('struct '):
+ parameter_kind = 'struct'
+ split[0] = split[0][7:]
+
+ parameter_type = split[0]
+ parameter_name = split[1]
+
+ parameters.append(model.Parameter(kind=parameter_kind, type=parameter_type, name=parameter_name, attributes=parse_attributes_string(attributes_string)))
</ins><span class="cx"> return parameters
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessStorageStorageManagermessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Storage/StorageManager.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Storage/StorageManager.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/UIProcess/Storage/StorageManager.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -21,9 +21,9 @@
</span><span class="cx"> # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">
</span><span class="cx"> messages -> StorageManager {
</span><del>- CreateLocalStorageMap(uint64_t storageMapID, uint64_t storageNamespaceID, WebKit::SecurityOriginData securityOriginData) WantsConnection
- CreateTransientLocalStorageMap(uint64_t storageMapID, uint64_t storageNamespaceID, WebKit::SecurityOriginData topLevelSecurityOriginData, WebKit::SecurityOriginData securityOriginData) WantsConnection
- CreateSessionStorageMap(uint64_t storageMapID, uint64_t storageNamespaceID, WebKit::SecurityOriginData securityOriginData) WantsConnection
</del><ins>+ CreateLocalStorageMap(uint64_t storageMapID, uint64_t storageNamespaceID, struct WebKit::SecurityOriginData securityOriginData) WantsConnection
+ CreateTransientLocalStorageMap(uint64_t storageMapID, uint64_t storageNamespaceID, struct WebKit::SecurityOriginData topLevelSecurityOriginData, struct WebKit::SecurityOriginData securityOriginData) WantsConnection
+ CreateSessionStorageMap(uint64_t storageMapID, uint64_t storageNamespaceID, struct WebKit::SecurityOriginData securityOriginData) WantsConnection
</ins><span class="cx"> DestroyStorageMap(uint64_t storageMapID) WantsConnection
</span><span class="cx">
</span><span class="cx"> GetValues(uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<String, String> values) WantsConnection
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebContextmessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebContext.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebContext.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/UIProcess/WebContext.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -22,11 +22,11 @@
</span><span class="cx">
</span><span class="cx"> messages -> WebContext LegacyReceiver {
</span><span class="cx">
</span><del>- DidGetStatistics(WebKit::StatisticsData statisticsData, uint64_t callbackID)
</del><ins>+ DidGetStatistics(struct WebKit::StatisticsData statisticsData, uint64_t callbackID)
</ins><span class="cx">
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>- WriteWebContentToPasteboard(WebCore::PasteboardWebContent content)
- WriteImageToPasteboard(WebCore::PasteboardImage pasteboardImage)
</del><ins>+ WriteWebContentToPasteboard(struct WebCore::PasteboardWebContent content)
+ WriteImageToPasteboard(struct WebCore::PasteboardImage pasteboardImage)
</ins><span class="cx"> WriteStringToPasteboard(String pasteboardType, String text)
</span><span class="cx"> ReadStringFromPasteboard(uint64_t index, String pasteboardType) -> (String string)
</span><span class="cx"> ReadURLFromPasteboard(uint64_t index, String pasteboardType) -> (String string)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebPageProxymessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebPageProxy.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -22,7 +22,7 @@
</span><span class="cx">
</span><span class="cx"> messages -> WebPageProxy {
</span><span class="cx"> # UI messages
</span><del>- CreateNewPage(uint64_t frameID, WebCore::ResourceRequest request, WebCore::WindowFeatures windowFeatures, WebKit::NavigationActionData navigationActionData) -> (uint64_t newPageID, WebKit::WebPageCreationParameters newPageParameters)
</del><ins>+ CreateNewPage(uint64_t frameID, WebCore::ResourceRequest request, struct WebCore::WindowFeatures windowFeatures, struct WebKit::NavigationActionData navigationActionData) -> (uint64_t newPageID, struct WebKit::WebPageCreationParameters newPageParameters)
</ins><span class="cx"> ShowPage()
</span><span class="cx"> ClosePage(bool stopResponsivenessTimer)
</span><span class="cx"> RunJavaScriptAlert(uint64_t frameID, String message) -> () Delayed
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> WebGLPolicyForURL(String url) -> (uint32_t loadPolicy)
</span><span class="cx"> ResolveWebGLPolicyForURL(String url) -> (uint32_t loadPolicy)
</span><span class="cx"> #endif // ENABLE(WEBGL)
</span><del>- DidChangeViewportProperties(WebCore::ViewportAttributes attributes)
</del><ins>+ DidChangeViewportProperties(struct WebCore::ViewportAttributes attributes)
</ins><span class="cx"> DidReceiveEvent(uint32_t type, bool handled)
</span><span class="cx"> StopResponsivenessTimer()
</span><span class="cx"> #if !PLATFORM(IOS)
</span><span class="lines">@@ -76,7 +76,7 @@
</span><span class="cx">
</span><span class="cx"> RunBeforeUnloadConfirmPanel(String message, uint64_t frameID) -> (bool shouldClose)
</span><span class="cx"> PageDidScroll()
</span><del>- RunOpenPanel(uint64_t frameID, WebCore::FileChooserSettings parameters)
</del><ins>+ RunOpenPanel(uint64_t frameID, struct WebCore::FileChooserSettings parameters)
</ins><span class="cx"> PrintFrame(uint64_t frameID) -> ()
</span><span class="cx"> RunModal()
</span><span class="cx"> NotifyScrollerThumbIsVisibleInRect(WebCore::IntRect scrollerThumb)
</span><span class="lines">@@ -115,8 +115,8 @@
</span><span class="cx">
</span><span class="cx"> # Policy messages
</span><span class="cx"> DecidePolicyForResponseSync(uint64_t frameID, WebCore::ResourceResponse response, WebCore::ResourceRequest request, bool canShowMIMEType, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) -> (bool receivedPolicyAction, uint64_t policyAction, uint64_t downloadID) Variadic
</span><del>- DecidePolicyForNavigationAction(uint64_t frameID, uint64_t navigationID, WebKit::NavigationActionData navigationActionData, uint64_t originatingFrameID, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) -> (bool receivedPolicyAction, uint64_t newNavigationID, uint64_t policyAction, uint64_t downloadID) Variadic
- DecidePolicyForNewWindowAction(uint64_t frameID, WebKit::NavigationActionData navigationActionData, WebCore::ResourceRequest request, String frameName, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic
</del><ins>+ DecidePolicyForNavigationAction(uint64_t frameID, uint64_t navigationID, struct WebKit::NavigationActionData navigationActionData, uint64_t originatingFrameID, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) -> (bool receivedPolicyAction, uint64_t newNavigationID, uint64_t policyAction, uint64_t downloadID) Variadic
+ DecidePolicyForNewWindowAction(uint64_t frameID, struct WebKit::NavigationActionData navigationActionData, WebCore::ResourceRequest request, String frameName, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic
</ins><span class="cx"> UnableToImplementPolicy(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData) Variadic
</span><span class="cx">
</span><span class="cx"> # Progress messages
</span><span class="lines">@@ -165,11 +165,11 @@
</span><span class="cx"> ScriptValueCallback(IPC::DataReference resultData, uint64_t callbackID)
</span><span class="cx"> ComputedPagesCallback(Vector<WebCore::IntRect> pageRects, double totalScaleFactorForPrinting, uint64_t callbackID)
</span><span class="cx"> ValidateCommandCallback(String command, bool isEnabled, int32_t state, uint64_t callbackID)
</span><del>- EditingRangeCallback(WebKit::EditingRange range, uint64_t callbackID)
</del><ins>+ EditingRangeCallback(struct WebKit::EditingRange range, uint64_t callbackID)
</ins><span class="cx"> UnsignedCallback(uint64_t result, uint64_t callbackID)
</span><del>- RectForCharacterRangeCallback(WebCore::IntRect rect, WebKit::EditingRange actualRange, uint64_t callbackID)
</del><ins>+ RectForCharacterRangeCallback(WebCore::IntRect rect, struct WebKit::EditingRange actualRange, uint64_t callbackID)
</ins><span class="cx"> #if PLATFORM(MAC)
</span><del>- AttributedStringForCharacterRangeCallback(WebKit::AttributedString string, WebKit::EditingRange actualRange, uint64_t callbackID)
</del><ins>+ AttributedStringForCharacterRangeCallback(struct WebKit::AttributedString string, struct WebKit::EditingRange actualRange, uint64_t callbackID)
</ins><span class="cx"> #endif
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> GestureCallback(WebCore::IntPoint point, uint32_t gestureType, uint32_t gestureState, uint32_t flags, uint64_t callbackID)
</span><span class="lines">@@ -177,8 +177,8 @@
</span><span class="cx"> AutocorrectionDataCallback(Vector<WebCore::FloatRect> textRects, String fontName, double fontSize, uint64_t traits, uint64_t callbackID)
</span><span class="cx"> AutocorrectionContextCallback(String beforeText, String markedText, String selectedText, String afterText, uint64_t location, uint64_t length, uint64_t callbackID)
</span><span class="cx"> DictationContextCallback(String selectedText, String beforeText, String afterText, uint64_t callbackID)
</span><del>- InterpretKeyEvent(WebKit::EditorState state, bool isCharEvent) -> (bool handled)
- DidReceivePositionInformation(WebKit::InteractionInformationAtPosition information)
</del><ins>+ InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled)
+ DidReceivePositionInformation(struct WebKit::InteractionInformationAtPosition information)
</ins><span class="cx"> SaveImageToLibrary(WebKit::SharedMemory::Handle handle, uint64_t size)
</span><span class="cx"> DidUpdateBlockSelectionWithTouch(uint32_t touch, uint32_t flags, float growThreshold, float shrinkThreshold)
</span><span class="cx"> ShowPlaybackTargetPicker(bool hasVideo, WebCore::IntRect elementRect)
</span><span class="lines">@@ -222,12 +222,12 @@
</span><span class="cx"> ExecuteUndoRedo(uint32_t action) -> (bool result)
</span><span class="cx">
</span><span class="cx"> # Editor notifications
</span><del>- EditorStateChanged(WebKit::EditorState editorState)
- CompositionWasCanceled(WebKit::EditorState editorState)
</del><ins>+ EditorStateChanged(struct WebKit::EditorState editorState)
+ CompositionWasCanceled(struct WebKit::EditorState editorState)
</ins><span class="cx">
</span><span class="cx"> # Find messages
</span><span class="cx"> DidCountStringMatches(String string, uint32_t matchCount)
</span><del>- SetTextIndicator(WebCore::TextIndicatorData indicator, bool fadeOut)
</del><ins>+ SetTextIndicator(struct WebCore::TextIndicatorData indicator, bool fadeOut)
</ins><span class="cx"> ClearTextIndicator()
</span><span class="cx"> DidFindString(String string, uint32_t matchCount, int32_t matchIndex)
</span><span class="cx"> DidFailToFindString(String string)
</span><span class="lines">@@ -235,7 +235,7 @@
</span><span class="cx"> DidGetImageForFindMatch(WebKit::ShareableBitmap::Handle contentImageHandle, uint32_t matchIndex)
</span><span class="cx">
</span><span class="cx"> # PopupMenu messages
</span><del>- ShowPopupMenu(WebCore::IntRect rect, uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex, WebKit::PlatformPopupMenuData data)
</del><ins>+ ShowPopupMenu(WebCore::IntRect rect, uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex, struct WebKit::PlatformPopupMenuData data)
</ins><span class="cx"> HidePopupMenu()
</span><span class="cx">
</span><span class="cx"> #if ENABLE(CONTEXT_MENUS)
</span><span class="lines">@@ -276,7 +276,7 @@
</span><span class="cx"> CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
</span><span class="cx"> SpellingUIIsShowing() -> (bool isShowing)
</span><span class="cx"> UpdateSpellingUIWithMisspelledWord(String misspelledWord)
</span><del>- UpdateSpellingUIWithGrammarString(String badGrammarPhrase, WebCore::GrammarDetail grammarDetail)
</del><ins>+ UpdateSpellingUIWithGrammarString(String badGrammarPhrase, struct WebCore::GrammarDetail grammarDetail)
</ins><span class="cx"> GetGuessesForWord(String word, String context) -> (Vector<String> guesses)
</span><span class="cx"> LearnWord(String word);
</span><span class="cx"> IgnoreWord(String word);
</span><span class="lines">@@ -296,7 +296,7 @@
</span><span class="cx">
</span><span class="cx"> #if PLATFORM(COCOA)
</span><span class="cx"> # Dictionary support.
</span><del>- DidPerformDictionaryLookup(WebKit::DictionaryPopupInfo dictionaryPopupInfo)
</del><ins>+ DidPerformDictionaryLookup(struct WebKit::DictionaryPopupInfo dictionaryPopupInfo)
</ins><span class="cx">
</span><span class="cx"> # Keyboard input support messages
</span><span class="cx"> ExecuteSavedCommandBySelector(String selector) -> (bool handled)
</span><span class="lines">@@ -351,12 +351,12 @@
</span><span class="cx"> RestorePageCenterAndScale(WebCore::FloatPoint unobscuredCenter, double scale)
</span><span class="cx"> DidGetTapHighlightGeometries(uint64_t requestID, WebCore::Color color, Vector<WebCore::FloatQuad> geometries, WebCore::IntSize topLeftRadius, WebCore::IntSize topRightRadius, WebCore::IntSize bottomLeftRadius, WebCore::IntSize bottomRightRadius)
</span><span class="cx">
</span><del>- StartAssistingNode(WebKit::AssistedNodeInformation information, bool userIsInteracting, bool blurPreviousNode, WebKit::InjectedBundleUserMessageEncoder userData) Variadic
</del><ins>+ StartAssistingNode(struct WebKit::AssistedNodeInformation information, bool userIsInteracting, bool blurPreviousNode, WebKit::InjectedBundleUserMessageEncoder userData) Variadic
</ins><span class="cx"> StopAssistingNode()
</span><span class="cx"> NotifyRevealedSelection()
</span><span class="cx">
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><del>- ShowInspectorHighlight(WebCore::Highlight highlight)
</del><ins>+ ShowInspectorHighlight(struct WebCore::Highlight highlight)
</ins><span class="cx"> HideInspectorHighlight()
</span><span class="cx">
</span><span class="cx"> ShowInspectorIndication()
</span><span class="lines">@@ -414,6 +414,6 @@
</span><span class="cx"> IsPlayingAudioDidChange(bool newIsPlayingAudio)
</span><span class="cx">
</span><span class="cx"> #if PLATFORM(MAC)
</span><del>- DidPerformActionMenuHitTest(WebKit::ActionMenuHitTestResult result, bool forImmediateAction, WebKit::InjectedBundleUserMessageEncoder userData) Variadic
</del><ins>+ DidPerformActionMenuHitTest(struct WebKit::ActionMenuHitTestResult result, bool forImmediateAction, WebKit::InjectedBundleUserMessageEncoder userData) Variadic
</ins><span class="cx"> #endif
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebProcessProxymessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebProcessProxy.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebProcessProxy.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/UIProcess/WebProcessProxy.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -23,12 +23,12 @@
</span><span class="cx"> messages -> WebProcessProxy LegacyReceiver {
</span><span class="cx">
</span><span class="cx"> # History client messages.
</span><del>- DidNavigateWithNavigationData(uint64_t pageID, WebKit::WebNavigationDataStore store, uint64_t frameID)
</del><ins>+ DidNavigateWithNavigationData(uint64_t pageID, struct WebKit::WebNavigationDataStore store, uint64_t frameID)
</ins><span class="cx"> DidPerformClientRedirect(uint64_t pageID, String sourceURLString, String destinationURLString, uint64_t frameID)
</span><span class="cx"> DidPerformServerRedirect(uint64_t pageID, String sourceURLString, String destinationURLString, uint64_t frameID)
</span><span class="cx"> DidUpdateHistoryTitle(uint64_t pageID, String title, String url, uint64_t frameID)
</span><span class="cx">
</span><del>- AddBackForwardItem(uint64_t itemID, uint64_t pageID, WebKit::PageState pageState)
</del><ins>+ AddBackForwardItem(uint64_t itemID, uint64_t pageID, struct WebKit::PageState pageState)
</ins><span class="cx"> DidDestroyFrame(uint64_t frameID)
</span><span class="cx">
</span><span class="cx"> ShouldTerminate() -> (bool shouldTerminate)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessApplicationCacheWebApplicationCacheManagermessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -22,6 +22,6 @@
</span><span class="cx">
</span><span class="cx"> messages -> WebApplicationCacheManager {
</span><span class="cx"> void GetApplicationCacheOrigins(uint64_t callbackID)
</span><del>- void DeleteEntriesForOrigin(WebKit::SecurityOriginData originIdentifier)
</del><ins>+ void DeleteEntriesForOrigin(struct WebKit::SecurityOriginData originIdentifier)
</ins><span class="cx"> void DeleteAllEntries()
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBServerConnectionmessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> #if ENABLE(INDEXED_DATABASE) && ENABLE(DATABASE_PROCESS)
</span><span class="cx">
</span><span class="cx"> messages -> WebIDBServerConnection LegacyReceiver {
</span><del>- DidGetOrEstablishIDBDatabaseMetadata(uint64_t requestID, bool success, WebCore::IDBDatabaseMetadata metadata)
</del><ins>+ DidGetOrEstablishIDBDatabaseMetadata(uint64_t requestID, bool success, struct WebCore::IDBDatabaseMetadata metadata)
</ins><span class="cx"> DidDeleteDatabase(uint64_t requestID, bool success)
</span><span class="cx">
</span><span class="cx"> DidOpenTransaction(uint64_t requestID, bool success)
</span><span class="lines">@@ -40,11 +40,11 @@
</span><span class="cx"> DidCreateIndex(uint64_t requestID, bool success)
</span><span class="cx"> DidDeleteIndex(uint64_t requestID, bool success)
</span><span class="cx">
</span><del>- DidPutRecord(uint64_t requestID, WebCore::IDBKeyData resultKey, uint32_t errorCode, String errorMessage)
- DidGetRecord(uint64_t requestID, WebCore::IDBGetResult getResult, uint32_t errorCode, String errorMessage)
- DidOpenCursor(uint64_t requestID, int64_t cursorID, WebCore::IDBKeyData key, WebCore::IDBKeyData primaryKey, IPC::DataReference value, uint32_t errorCode, String errorMessage)
- DidAdvanceCursor(uint64_t requestID, WebCore::IDBKeyData key, WebCore::IDBKeyData primaryKey, IPC::DataReference value, uint32_t errorCode, String errorMessage)
- DidIterateCursor(uint64_t requestID, WebCore::IDBKeyData key, WebCore::IDBKeyData primaryKey, IPC::DataReference value, uint32_t errorCode, String errorMessage)
</del><ins>+ DidPutRecord(uint64_t requestID, struct WebCore::IDBKeyData resultKey, uint32_t errorCode, String errorMessage)
+ DidGetRecord(uint64_t requestID, struct WebCore::IDBGetResult getResult, uint32_t errorCode, String errorMessage)
+ DidOpenCursor(uint64_t requestID, int64_t cursorID, struct WebCore::IDBKeyData key, struct WebCore::IDBKeyData primaryKey, IPC::DataReference value, uint32_t errorCode, String errorMessage)
+ DidAdvanceCursor(uint64_t requestID, struct WebCore::IDBKeyData key, struct WebCore::IDBKeyData primaryKey, IPC::DataReference value, uint32_t errorCode, String errorMessage)
+ DidIterateCursor(uint64_t requestID, struct WebCore::IDBKeyData key, struct WebCore::IDBKeyData primaryKey, IPC::DataReference value, uint32_t errorCode, String errorMessage)
</ins><span class="cx"> DidCount(uint64_t requestID, int64_t count, uint32_t errorCode, String errorMessage)
</span><span class="cx"> DidDeleteRange(uint64_t requestID, uint32_t errorCode, String errorMessage)
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessOriginDataWebOriginDataManagermessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/OriginData/WebOriginDataManager.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/OriginData/WebOriginDataManager.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/WebProcess/OriginData/WebOriginDataManager.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -22,7 +22,7 @@
</span><span class="cx">
</span><span class="cx"> messages -> WebOriginDataManager {
</span><span class="cx"> void GetOrigins(uint32_t types, uint64_t callbackID)
</span><del>- void DeleteEntriesForOrigin(uint32_t types, WebKit::SecurityOriginData originIdentifier, uint64_t callbackID)
</del><ins>+ void DeleteEntriesForOrigin(uint32_t types, struct WebKit::SecurityOriginData originIdentifier, uint64_t callbackID)
</ins><span class="cx"> void DeleteEntriesModifiedBetweenDates(uint32_t types, double startDate, double endDate, uint64_t callbackID)
</span><span class="cx"> void DeleteAllEntries(uint32_t types, uint64_t callbackID)
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessResourceCacheWebResourceCacheManagermessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/ResourceCache/WebResourceCacheManager.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/ResourceCache/WebResourceCacheManager.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/WebProcess/ResourceCache/WebResourceCacheManager.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -22,6 +22,6 @@
</span><span class="cx">
</span><span class="cx"> messages -> WebResourceCacheManager {
</span><span class="cx"> void GetCacheOrigins(uint64_t callbackID)
</span><del>- void ClearCacheForOrigin(WebKit::SecurityOriginData originIdentifier, uint32_t cachesToClear)
</del><ins>+ void ClearCacheForOrigin(struct WebKit::SecurityOriginData originIdentifier, uint32_t cachesToClear)
</ins><span class="cx"> void ClearCacheForAllOrigins(uint32_t cachesToClear)
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageDrawingAreamessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -28,7 +28,7 @@
</span><span class="cx"> // Used by TiledCoreAnimationDrawingArea.
</span><span class="cx"> UpdateGeometry(WebCore::IntSize viewSize, WebCore::IntSize layerPosition)
</span><span class="cx"> SetDeviceScaleFactor(float deviceScaleFactor)
</span><del>- SetColorSpace(WebKit::ColorSpaceData colorSpace)
</del><ins>+ SetColorSpace(struct WebKit::ColorSpaceData colorSpace)
</ins><span class="cx"> SetExposedRect(WebCore::FloatRect exposedRect)
</span><span class="cx">
</span><span class="cx"> AdjustTransientZoom(double scale, WebCore::FloatPoint origin)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagemessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -77,7 +77,7 @@
</span><span class="cx"> SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied)
</span><span class="cx"> RequestAutocorrectionContext(uint64_t callbackID)
</span><span class="cx"> GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length)
</span><del>- GetPositionInformation(WebCore::IntPoint point) -> (WebKit::InteractionInformationAtPosition information)
</del><ins>+ GetPositionInformation(WebCore::IntPoint point) -> (struct WebKit::InteractionInformationAtPosition information)
</ins><span class="cx"> RequestPositionInformation(WebCore::IntPoint point)
</span><span class="cx"> StartInteractionWithElementAtPosition(WebCore::IntPoint point)
</span><span class="cx"> StopInteraction()
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> PerformDictionaryLookupOfCurrentSelection()
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>- PreferencesDidChange(WebKit::WebPreferencesStore store)
</del><ins>+ PreferencesDidChange(struct WebKit::WebPreferencesStore store)
</ins><span class="cx">
</span><span class="cx"> SetUserAgent(String userAgent)
</span><span class="cx"> SetCustomTextEncodingName(String encodingName)
</span><span class="lines">@@ -285,18 +285,18 @@
</span><span class="cx"> SetWindowResizerSize(WebCore::IntSize intersectsView)
</span><span class="cx">
</span><span class="cx"> # Printing.
</span><del>- BeginPrinting(uint64_t frameID, WebKit::PrintInfo printInfo)
</del><ins>+ BeginPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo)
</ins><span class="cx"> EndPrinting()
</span><del>- ComputePagesForPrinting(uint64_t frameID, WebKit::PrintInfo printInfo, uint64_t callbackID)
</del><ins>+ ComputePagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID)
</ins><span class="cx"> #if PLATFORM(COCOA)
</span><del>- DrawRectToImage(uint64_t frameID, WebKit::PrintInfo printInfo, WebCore::IntRect rect, WebCore::IntSize imageSize, uint64_t callbackID)
- DrawPagesToPDF(uint64_t frameID, WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, uint64_t callbackID)
</del><ins>+ DrawRectToImage(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebCore::IntRect rect, WebCore::IntSize imageSize, uint64_t callbackID)
+ DrawPagesToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, uint64_t callbackID)
</ins><span class="cx"> #if PLATFORM(IOS)
</span><del>- ComputePagesForPrintingAndStartDrawingToPDF(uint64_t frameID, WebKit::PrintInfo printInfo, uint32_t firstPage) -> (Vector<WebCore::IntRect> pageRects, double totalScaleFactor) Delayed
</del><ins>+ ComputePagesForPrintingAndStartDrawingToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t firstPage) -> (Vector<WebCore::IntRect> pageRects, double totalScaleFactor) Delayed
</ins><span class="cx"> #endif
</span><span class="cx"> #endif
</span><span class="cx"> #if PLATFORM(GTK)
</span><del>- DrawPagesForPrinting(uint64_t frameID, WebKit::PrintInfo printInfo, uint64_t callbackID)
</del><ins>+ DrawPagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID)
</ins><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> # Media
</span><span class="lines">@@ -347,30 +347,30 @@
</span><span class="cx"> ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result)
</span><span class="cx"> AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result)
</span><span class="cx">
</span><del>- InsertTextAsync(String text, WebKit::EditingRange replacementRange, bool registerUndoGroup)
</del><ins>+ InsertTextAsync(String text, struct WebKit::EditingRange replacementRange, bool registerUndoGroup)
</ins><span class="cx"> GetMarkedRangeAsync(uint64_t callbackID)
</span><span class="cx"> GetSelectedRangeAsync(uint64_t callbackID)
</span><span class="cx"> CharacterIndexForPointAsync(WebCore::IntPoint point, uint64_t callbackID);
</span><del>- FirstRectForCharacterRangeAsync(WebKit::EditingRange range, uint64_t callbackID);
- SetCompositionAsync(String text, Vector<WebCore::CompositionUnderline> underlines, WebKit::EditingRange selectionRange, WebKit::EditingRange replacementRange)
</del><ins>+ FirstRectForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID);
+ SetCompositionAsync(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange)
</ins><span class="cx"> ConfirmCompositionAsync()
</span><span class="cx"> #endif
</span><span class="cx"> #if PLATFORM(MAC)
</span><del>- InsertDictatedTextAsync(String text, WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives, bool registerUndoGroup)
- AttributedSubstringForCharacterRangeAsync(WebKit::EditingRange range, uint64_t callbackID);
</del><ins>+ InsertDictatedTextAsync(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives, bool registerUndoGroup)
+ AttributedSubstringForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID);
</ins><span class="cx"> #endif
</span><span class="cx"> #if PLATFORM(MAC) && !USE(ASYNC_NSTEXTINPUTCLIENT)
</span><del>- InsertText(String text, WebKit::EditingRange replacementRange) -> (bool handled, WebKit::EditorState newState)
- SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, WebKit::EditingRange selectionRange, WebKit::EditingRange replacementRange) -> (WebKit::EditorState newState)
- ConfirmComposition() -> (WebKit::EditorState newState)
- InsertDictatedText(String text, WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives) -> (bool handled, WebKit::EditorState newState)
- GetAttributedSubstringFromRange(WebKit::EditingRange range) -> (WebKit::AttributedString result)
- GetMarkedRange() -> (WebKit::EditingRange range)
- GetSelectedRange() -> (WebKit::EditingRange range)
</del><ins>+ InsertText(String text, struct WebKit::EditingRange replacementRange) -> (bool handled, struct WebKit::EditorState newState)
+ SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange) -> (struct WebKit::EditorState newState)
+ ConfirmComposition() -> (struct WebKit::EditorState newState)
+ InsertDictatedText(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives) -> (bool handled, struct WebKit::EditorState newState)
+ GetAttributedSubstringFromRange(struct WebKit::EditingRange range) -> (struct WebKit::AttributedString result)
+ GetMarkedRange() -> (struct WebKit::EditingRange range)
+ GetSelectedRange() -> (struct WebKit::EditingRange range)
</ins><span class="cx"> CharacterIndexForPoint(WebCore::IntPoint point) -> (uint64_t result)
</span><del>- FirstRectForCharacterRange(WebKit::EditingRange range) -> (WebCore::IntRect resultRect)
- ExecuteKeypressCommands(Vector<WebCore::KeypressCommand> savedCommands) -> (bool handled, WebKit::EditorState newState)
- CancelComposition() -> (WebKit::EditorState newState)
</del><ins>+ FirstRectForCharacterRange(struct WebKit::EditingRange range) -> (WebCore::IntRect resultRect)
+ ExecuteKeypressCommands(Vector<WebCore::KeypressCommand> savedCommands) -> (bool handled, struct WebKit::EditorState newState)
+ CancelComposition() -> (struct WebKit::EditorState newState)
</ins><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> SetMinimumLayoutSize(WebCore::IntSize minimumLayoutSize)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebProcessmessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebProcess.messages.in (177607 => 177608)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebProcess.messages.in        2014-12-20 00:38:56 UTC (rev 177607)
+++ trunk/Source/WebKit2/WebProcess/WebProcess.messages.in        2014-12-20 00:46:42 UTC (rev 177608)
</span><span class="lines">@@ -22,10 +22,10 @@
</span><span class="cx">
</span><span class="cx"> messages -> WebProcess LegacyReceiver {
</span><span class="cx"> # Initialize the WebProcess.
</span><del>- InitializeWebProcess(WebKit::WebProcessCreationParameters processCreationParameters, WebKit::WebContextUserMessageEncoder initializationUserData) Variadic
</del><ins>+ InitializeWebProcess(struct WebKit::WebProcessCreationParameters processCreationParameters, WebKit::WebContextUserMessageEncoder initializationUserData) Variadic
</ins><span class="cx">
</span><span class="cx"> # Create a new page.
</span><del>- CreateWebPage(uint64_t newPageID, WebKit::WebPageCreationParameters pageCreationParameters)
</del><ins>+ CreateWebPage(uint64_t newPageID, struct WebKit::WebPageCreationParameters pageCreationParameters)
</ins><span class="cx">
</span><span class="cx"> # Global preferences.
</span><span class="cx"> SetCacheModel(uint32_t cacheModel)
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx"> ResumeDownload(uint64_t downloadID, IPC::DataReference resumeData, String path, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
</span><span class="cx"> CancelDownload(uint64_t downloadID)
</span><span class="cx">
</span><del>- SetTextCheckerState(WebKit::TextCheckerState textCheckerState)
</del><ins>+ SetTextCheckerState(struct WebKit::TextCheckerState textCheckerState)
</ins><span class="cx">
</span><span class="cx"> SetEnhancedAccessibility(bool flag)
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>