Remove WTF:: prefix from types in messages.in files.

https://bugs.webkit.org/show_bug.cgi?id=124578

Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2013-12-03
Reviewed by Anders Carlsson.

The WTF:: prefixes are removed from the messages.in files, and the
messages.py now handles unprefixed non-template WTF classes (only
the WTF::String class is used currently). Tests are also updated.

* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
* NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* NetworkProcess/NetworkProcess.messages.in:
* PluginProcess/PluginControllerProxy.messages.in:
* PluginProcess/PluginProcess.messages.in:
* Scripts/webkit2/messages.py:
(forward_declarations_and_headers):
(class_template_headers):
(argument_coder_headers_for_type):
* Scripts/webkit2/messages_unittest.py:
(std):
* Shared/Network/CustomProtocols/CustomProtocolManager.messages.in:
* UIProcess/Downloads/DownloadProxy.messages.in:
* UIProcess/Plugins/PluginProcessProxy.messages.in:
* UIProcess/Storage/StorageManager.messages.in:
* UIProcess/WebContext.messages.in:
* UIProcess/WebCookieManagerProxy.messages.in:
* UIProcess/WebDatabaseManagerProxy.messages.in:
* UIProcess/WebIconDatabase.messages.in:
* UIProcess/WebInspectorProxy.messages.in:
* UIProcess/WebMediaCacheManagerProxy.messages.in:
* UIProcess/WebPageProxy.messages.in:
* UIProcess/WebProcessProxy.messages.in:
* WebProcess/Cookies/WebCookieManager.messages.in:
* WebProcess/Geolocation/WebGeolocationManager.messages.in:
* WebProcess/MediaCache/WebMediaCacheManager.messages.in:
* WebProcess/Notifications/WebNotificationManager.messages.in:
* WebProcess/Plugins/PluginProcessConnection.messages.in:
* WebProcess/Plugins/PluginProxy.messages.in:
* WebProcess/Storage/StorageAreaMap.messages.in:
* WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
* WebProcess/WebPage/WebInspector.messages.in:
* WebProcess/WebPage/WebPage.messages.in:
* WebProcess/WebProcess.messages.in:
* WebProcess/soup/WebSoupRequestManager.messages.in:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c50faa7d
2013-12-03 Tamas Gergely <tgergely.u-szeged@partner.samsung.com>
Remove WTF:: prefix from types in messages.in files.
https://bugs.webkit.org/show_bug.cgi?id=124578
Reviewed by Anders Carlsson.
The WTF:: prefixes are removed from the messages.in files, and the
messages.py now handles unprefixed non-template WTF classes (only
the WTF::String class is used currently). Tests are also updated.
* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
* NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* NetworkProcess/NetworkProcess.messages.in:
* PluginProcess/PluginControllerProxy.messages.in:
* PluginProcess/PluginProcess.messages.in:
* Scripts/webkit2/messages.py:
(forward_declarations_and_headers):
(class_template_headers):
(argument_coder_headers_for_type):
* Scripts/webkit2/messages_unittest.py:
(std):
* Shared/Network/CustomProtocols/CustomProtocolManager.messages.in:
* UIProcess/Downloads/DownloadProxy.messages.in:
* UIProcess/Plugins/PluginProcessProxy.messages.in:
* UIProcess/Storage/StorageManager.messages.in:
* UIProcess/WebContext.messages.in:
* UIProcess/WebCookieManagerProxy.messages.in:
* UIProcess/WebDatabaseManagerProxy.messages.in:
* UIProcess/WebIconDatabase.messages.in:
* UIProcess/WebInspectorProxy.messages.in:
* UIProcess/WebMediaCacheManagerProxy.messages.in:
* UIProcess/WebPageProxy.messages.in:
* UIProcess/WebProcessProxy.messages.in:
* WebProcess/Cookies/WebCookieManager.messages.in:
* WebProcess/Geolocation/WebGeolocationManager.messages.in:
* WebProcess/MediaCache/WebMediaCacheManager.messages.in:
* WebProcess/Notifications/WebNotificationManager.messages.in:
* WebProcess/Plugins/PluginProcessConnection.messages.in:
* WebProcess/Plugins/PluginProxy.messages.in:
* WebProcess/Storage/StorageAreaMap.messages.in:
* WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
* WebProcess/WebPage/WebInspector.messages.in:
* WebProcess/WebPage/WebPage.messages.in:
* WebProcess/WebProcess.messages.in:
* WebProcess/soup/WebSoupRequestManager.messages.in:
2013-12-03 Anders Carlsson <andersca@apple.com>
Tweak build fixes.
......
......@@ -23,7 +23,7 @@
#if ENABLE(INDEXED_DATABASE) && ENABLE(DATABASE_PROCESS)
messages -> DatabaseProcessIDBConnection LegacyReceiver {
EstablishConnection(WTF::String databaseName, WebKit::SecurityOriginData openingOrigin, WebKit::SecurityOriginData mainFrameOrigin)
EstablishConnection(String databaseName, WebKit::SecurityOriginData openingOrigin, WebKit::SecurityOriginData mainFrameOrigin)
GetOrEstablishIDBDatabaseMetadata(uint64_t requestID)
}
......
......@@ -35,12 +35,12 @@ messages -> NetworkConnectionToWebProcess LegacyReceiver {
StartDownload(bool privateBrowsingEnabled, uint64_t downloadID, WebCore::ResourceRequest request)
ConvertMainResourceLoadToDownload(uint64_t mainResourceLoadIdentifier, uint64_t downloadID, WebCore::ResourceRequest request, WebCore::ResourceResponse response)
CookiesForDOM(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (WTF::String result)
SetCookiesFromDOM(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url, WTF::String cookieString)
CookiesForDOM(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (String result)
SetCookiesFromDOM(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url, String cookieString)
CookiesEnabled(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (bool enabled)
CookieRequestHeaderFieldValue(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (WTF::String result)
CookieRequestHeaderFieldValue(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (String result)
GetRawCookies(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (Vector<WebCore::Cookie> cookies)
DeleteCookie(bool privateBrowsingEnabled, WebCore::URL url, WTF::String cookieName)
DeleteCookie(bool privateBrowsingEnabled, WebCore::URL url, String cookieName)
RegisterBlobURL(WebCore::URL url, WebKit::BlobRegistrationData data)
RegisterBlobURLFromURL(WebCore::URL url, WebCore::URL srcURL)
......
......@@ -39,7 +39,7 @@ messages -> NetworkProcess LegacyReceiver {
SetProcessSuppressionEnabled(bool flag)
#endif
AllowSpecificHTTPSCertificateForHost(WebKit::CertificateInfo certificate, WTF::String host)
AllowSpecificHTTPSCertificateForHost(WebKit::CertificateInfo certificate, String host)
GetNetworkProcessStatistics(uint64_t callbackID)
......
......@@ -33,10 +33,10 @@ messages -> PluginControllerProxy LegacyReceiver {
FrameDidFail(uint64_t requestID, bool wasCancelled)
# Sent when JavaScript that the plug-in asked to be evaluated has been evaluated.
DidEvaluateJavaScript(uint64_t requestID, WTF::String result)
DidEvaluateJavaScript(uint64_t requestID, String result)
# Sent when the plug-in receives a response for a stream.
StreamDidReceiveResponse(uint64_t streamID, WTF::String responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, WTF::String mimeType, WTF::String headers)
StreamDidReceiveResponse(uint64_t streamID, String responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, String mimeType, String headers)
# Sent when the plug-in receives data for a stream.
StreamDidReceiveData(uint64_t streamID, CoreIPC::DataReference data)
......@@ -48,7 +48,7 @@ messages -> PluginControllerProxy LegacyReceiver {
StreamDidFail(uint64_t streamID, bool wasCancelled)
# Sent when the plug-in receives a response for the manual stream.
ManualStreamDidReceiveResponse(WTF::String responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, WTF::String mimeType, WTF::String headers)
ManualStreamDidReceiveResponse(String responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, String mimeType, String headers)
# Sent when the plug-in receives data for the manual stream.
ManualStreamDidReceiveData(CoreIPC::DataReference data)
......@@ -75,10 +75,10 @@ messages -> PluginControllerProxy LegacyReceiver {
HandleKeyboardEvent(WebKit::WebKeyboardEvent keyboardEvent) -> (bool handled)
# Sent when an editing command should be processed.
HandleEditingCommand(WTF::String commandName, WTF::String argument) -> (bool handled);
HandleEditingCommand(String commandName, String argument) -> (bool handled);
# Return whether or not a plugin wants to enable the given editing command.
IsEditingCommandEnabled(WTF::String commandName) -> (bool enabled);
IsEditingCommandEnabled(String commandName) -> (bool enabled);
# Return whether or not a plugin wants to handle page scale factor itself.
HandlesPageScaleFactor() -> (bool enabled);
......@@ -97,7 +97,7 @@ messages -> PluginControllerProxy LegacyReceiver {
#if PLATFORM(MAC)
# Send the complex text input to the plug-in.
SendComplexTextInput(WTF::String textInput)
SendComplexTextInput(String textInput)
# Sent when the containing NSWindow's focus changes
WindowFocusChanged(bool hasFocus)
......@@ -125,7 +125,7 @@ messages -> PluginControllerProxy LegacyReceiver {
PrivateBrowsingStateChanged(bool isPrivateBrowsingEnabled)
# Gets the string representating the form value of the plug-in
GetFormValue() -> (bool returnValue, WTF::String formValue)
GetFormValue() -> (bool returnValue, String formValue)
}
#endif
......@@ -37,7 +37,7 @@ messages -> PluginProcess LegacyReceiver {
# Asks the plug-in to clear data for the given sites. The plug-in process sends back
# a DidClearSiteData message when done.
ClearSiteData(Vector<WTF::String> sites, uint64_t flags, uint64_t maxAgeInSeconds, uint64_t callbackID)
ClearSiteData(Vector<String> sites, uint64_t flags, uint64_t maxAgeInSeconds, uint64_t callbackID)
#if PLATFORM(MAC)
SetProcessSuppressionEnabled(bool flag);
......
......@@ -244,6 +244,10 @@ def forward_declarations_and_headers(receiver):
'"StringReference.h"',
])
non_template_wtf_types = frozenset([
'String',
])
for message in receiver.messages:
if message.reply_parameters != None and message.has_attribute(DELAYED_ATTRIBUTE):
headers.add('<wtf/ThreadSafeRefCounted.h>')
......@@ -259,6 +263,10 @@ def forward_declarations_and_headers(receiver):
split = type.split('::')
# Handle WTF types even if the WTF:: prefix is not given
if split[0] in non_template_wtf_types:
split.insert(0, 'WTF')
if len(split) == 2:
namespace = split[0]
inner_type = split[1]
......@@ -389,7 +397,7 @@ def argument_coder_headers_for_type(type):
header_infos_and_types = class_template_headers(type)
special_cases = {
'WTF::String': '"ArgumentCoders.h"',
'String': '"ArgumentCoders.h"',
'WebKit::InjectedBundleUserMessageEncoder': '"InjectedBundleUserMessageCoders.h"',
'WebKit::WebContextUserMessageEncoder': '"WebContextUserMessageCoders.h"',
}
......@@ -415,7 +423,7 @@ def headers_for_type(type):
header_infos_and_types = class_template_headers(type)
special_cases = {
'WTF::String': ['<wtf/text/WTFString.h>'],
'String': ['<wtf/text/WTFString.h>'],
'WebCore::CompositionUnderline': ['<WebCore/Editor.h>'],
'WebCore::GrammarDetail': ['<WebCore/TextCheckerClient.h>'],
'WebCore::GraphicsLayerAnimations': ['<WebCore/GraphicsLayerAnimation.h>'],
......
......@@ -52,16 +52,16 @@ _messages_file_contents = """# Copyright (C) 2010 Apple Inc. All rights reserved
#if NESTED_MASTER_CONDITION || MASTER_OR && MASTER_AND
messages -> WebPage LegacyReceiver {
LoadURL(WTF::String url)
LoadURL(String url)
#if ENABLE(TOUCH_EVENTS)
LoadSomething(WTF::String url)
LoadSomething(String url)
#if NESTED_MESSAGE_CONDITION || SOME_OTHER_MESSAGE_CONDITION
TouchEvent(WebKit::WebTouchEvent event)
#endif
#if NESTED_MESSAGE_CONDITION && SOME_OTHER_MESSAGE_CONDITION
AddEvent(WebKit::WebTouchEvent event)
#endif
LoadSomethingElse(WTF::String url)
LoadSomethingElse(String url)
#endif
DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction)
Close()
......@@ -71,9 +71,9 @@ messages -> WebPage LegacyReceiver {
SendInts(Vector<uint64_t> ints, Vector<Vector<uint64_t>> intVectors)
CreatePlugin(uint64_t pluginInstanceID, WebKit::Plugin::Parameters parameters) -> (bool result)
RunJavaScriptAlert(uint64_t frameID, WTF::String message) -> ()
RunJavaScriptAlert(uint64_t frameID, String message) -> ()
GetPlugins(bool refresh) -> (Vector<WebCore::PluginInfo> plugins)
GetPluginProcessConnection(WTF::String pluginPath) -> (CoreIPC::Connection::Handle connectionHandle) Delayed
GetPluginProcessConnection(String pluginPath) -> (CoreIPC::Connection::Handle connectionHandle) Delayed
TestMultipleAttributes() -> () WantsConnection Delayed
......@@ -110,14 +110,14 @@ _expected_results = {
{
'name': 'LoadURL',
'parameters': (
('WTF::String', 'url'),
('String', 'url'),
),
'conditions': (None),
},
{
'name': 'LoadSomething',
'parameters': (
('WTF::String', 'url'),
('String', 'url'),
),
'conditions': ('ENABLE(TOUCH_EVENTS)'),
},
......@@ -138,7 +138,7 @@ _expected_results = {
{
'name': 'LoadSomethingElse',
'parameters': (
('WTF::String', 'url'),
('String', 'url'),
),
'conditions': ('ENABLE(TOUCH_EVENTS)'),
},
......@@ -194,7 +194,7 @@ _expected_results = {
'name': 'RunJavaScriptAlert',
'parameters': (
('uint64_t', 'frameID'),
('WTF::String', 'message')
('String', 'message')
),
'reply_parameters': (),
'conditions': (None),
......@@ -212,7 +212,7 @@ _expected_results = {
{
'name': 'GetPluginProcessConnection',
'parameters': (
('WTF::String', 'pluginPath'),
('String', 'pluginPath'),
),
'reply_parameters': (
('CoreIPC::Connection::Handle', 'connectionHandle'),
......@@ -353,6 +353,7 @@ _expected_header = """/*
#include <wtf/HashMap.h>
#include <wtf/ThreadSafeRefCounted.h>
#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace CoreIPC {
class Connection;
......@@ -379,47 +380,47 @@ static inline CoreIPC::StringReference messageReceiverName()
class LoadURL {
public:
typedef std::tuple<WTF::String> DecodeType;
typedef std::tuple<String> DecodeType;
static CoreIPC::StringReference receiverName() { return messageReceiverName(); }
static CoreIPC::StringReference name() { return CoreIPC::StringReference("LoadURL"); }
static const bool isSync = false;
explicit LoadURL(const WTF::String& url)
explicit LoadURL(const String& url)
: m_arguments(url)
{
}
const std::tuple<const WTF::String&> arguments() const
const std::tuple<const String&> arguments() const
{
return m_arguments;
}
private:
std::tuple<const WTF::String&> m_arguments;
std::tuple<const String&> m_arguments;
};
#if ENABLE(TOUCH_EVENTS)
class LoadSomething {
public:
typedef std::tuple<WTF::String> DecodeType;
typedef std::tuple<String> DecodeType;
static CoreIPC::StringReference receiverName() { return messageReceiverName(); }
static CoreIPC::StringReference name() { return CoreIPC::StringReference("LoadSomething"); }
static const bool isSync = false;
explicit LoadSomething(const WTF::String& url)
explicit LoadSomething(const String& url)
: m_arguments(url)
{
}
const std::tuple<const WTF::String&> arguments() const
const std::tuple<const String&> arguments() const
{
return m_arguments;
}
private:
std::tuple<const WTF::String&> m_arguments;
std::tuple<const String&> m_arguments;
};
#endif
......@@ -474,24 +475,24 @@ private:
#if ENABLE(TOUCH_EVENTS)
class LoadSomethingElse {
public:
typedef std::tuple<WTF::String> DecodeType;
typedef std::tuple<String> DecodeType;
static CoreIPC::StringReference receiverName() { return messageReceiverName(); }
static CoreIPC::StringReference name() { return CoreIPC::StringReference("LoadSomethingElse"); }
static const bool isSync = false;
explicit LoadSomethingElse(const WTF::String& url)
explicit LoadSomethingElse(const String& url)
: m_arguments(url)
{
}
const std::tuple<const WTF::String&> arguments() const
const std::tuple<const String&> arguments() const
{
return m_arguments;
}
private:
std::tuple<const WTF::String&> m_arguments;
std::tuple<const String&> m_arguments;
};
#endif
......@@ -625,25 +626,25 @@ private:
class RunJavaScriptAlert {
public:
typedef std::tuple<uint64_t, WTF::String> DecodeType;
typedef std::tuple<uint64_t, String> DecodeType;
static CoreIPC::StringReference receiverName() { return messageReceiverName(); }
static CoreIPC::StringReference name() { return CoreIPC::StringReference("RunJavaScriptAlert"); }
static const bool isSync = true;
typedef CoreIPC::Arguments0 Reply;
RunJavaScriptAlert(uint64_t frameID, const WTF::String& message)
RunJavaScriptAlert(uint64_t frameID, const String& message)
: m_arguments(frameID, message)
{
}
const std::tuple<uint64_t, const WTF::String&> arguments() const
const std::tuple<uint64_t, const String&> arguments() const
{
return m_arguments;
}
private:
std::tuple<uint64_t, const WTF::String&> m_arguments;
std::tuple<uint64_t, const String&> m_arguments;
};
class GetPlugins {
......@@ -671,7 +672,7 @@ private:
class GetPluginProcessConnection {
public:
typedef std::tuple<WTF::String> DecodeType;
typedef std::tuple<String> DecodeType;
static CoreIPC::StringReference receiverName() { return messageReceiverName(); }
static CoreIPC::StringReference name() { return CoreIPC::StringReference("GetPluginProcessConnection"); }
......@@ -689,18 +690,18 @@ public:
};
typedef CoreIPC::Arguments1<CoreIPC::Connection::Handle&> Reply;
explicit GetPluginProcessConnection(const WTF::String& pluginPath)
explicit GetPluginProcessConnection(const String& pluginPath)
: m_arguments(pluginPath)
{
}
const std::tuple<const WTF::String&> arguments() const
const std::tuple<const String&> arguments() const
{
return m_arguments;
}
private:
std::tuple<const WTF::String&> m_arguments;
std::tuple<const String&> m_arguments;
};
class TestMultipleAttributes {
......
......@@ -28,8 +28,8 @@ messages -> CustomProtocolManager {
DidReceiveResponse(uint64_t customProtocolID, WebCore::ResourceResponse response, uint32_t cacheStoragePolicy)
DidFinishLoading(uint64_t customProtocolID)
RegisterScheme(WTF::String name)
UnregisterScheme(WTF::String name)
RegisterScheme(String name)
UnregisterScheme(String name)
}
#endif // ENABLE(CUSTOM_PROTOCOLS)
......@@ -28,7 +28,7 @@ messages -> DownloadProxy {
DidReceiveData(uint64_t length)
ShouldDecodeSourceDataOfMIMEType(String mimeType) -> (bool result)
DecideDestinationWithSuggestedFilename(String filename) -> (String destination, bool allowOverwrite, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
DidCreateDestination(WTF::String path)
DidCreateDestination(String path)
DidFinish()
DidFail(WebCore::ResourceError error, CoreIPC::DataReference resumeData)
DidCancel(CoreIPC::DataReference resumeData)
......
......@@ -25,7 +25,7 @@
messages -> PluginProcessProxy {
DidCreateWebProcessConnection(CoreIPC::Attachment connectionIdentifier, bool supportsAsynchronousPluginInitialization)
DidGetSitesWithData(Vector<WTF::String> sites, uint64_t callbackID)
DidGetSitesWithData(Vector<String> sites, uint64_t callbackID)
DidClearSiteData(uint64_t callbackID)
#if PLATFORM(MAC)
......@@ -36,16 +36,16 @@ messages -> PluginProcessProxy {
OpenPluginPreferencePane()
# Returns true if the UI process launched the process.
LaunchProcess(WTF::String launchPath, Vector<WTF::String> arguments) -> (bool result)
LaunchProcess(String launchPath, Vector<String> arguments) -> (bool result)
# Returns true if the UI process launched the application.
LaunchApplicationAtURL(WTF::String url, Vector<WTF::String> arguments) -> (bool result)
LaunchApplicationAtURL(String url, Vector<String> arguments) -> (bool result)
# Returns true if the UI process did open the URL.
OpenURL(WTF::String urlString) -> (bool result, int32_t status, WTF::String launchedURLString)
OpenURL(String urlString) -> (bool result, int32_t status, String launchedURLString)
# Returns true if the UI process did open the file.
OpenFile(WTF::String fullPath) -> (bool result)
OpenFile(String fullPath) -> (bool result)
#endif
}
......
......@@ -25,9 +25,9 @@ messages -> StorageManager {
CreateSessionStorageMap(uint64_t storageMapID, uint64_t storageNamespaceID, WebKit::SecurityOriginData securityOriginData) WantsConnection
DestroyStorageMap(uint64_t storageMapID) WantsConnection
GetValues(uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<WTF::String, WTF::String> values) WantsConnection
GetValues(uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<String, String> values) WantsConnection
SetItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, WTF::String key, WTF::String value, WTF::String urlString) WantsConnection
RemoveItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, WTF::String key, WTF::String urlString) WantsConnection
Clear(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, WTF::String urlString) WantsConnection
SetItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String key, String value, String urlString) WantsConnection
RemoveItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String key, String urlString) WantsConnection
Clear(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String urlString) WantsConnection
}
......@@ -30,29 +30,29 @@ messages -> WebContext LegacyReceiver {
#if PLATFORM(IOS)
WriteWebContentToPasteboard(WebCore::PasteboardWebContent content)
WriteImageToPasteboard(WebCore::PasteboardImage pasteboardImage)
WriteStringToPasteboard(WTF::String pasteboardType, WTF::String text)
ReadStringFromPasteboard(uint64_t index, WTF::String pasteboardType) -> (WTF::String string)
ReadURLFromPasteboard(uint64_t index, WTF::String pasteboardType) -> (WTF::String string)
ReadBufferFromPasteboard(uint64_t index, WTF::String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
WriteStringToPasteboard(String pasteboardType, String text)
ReadStringFromPasteboard(uint64_t index, String pasteboardType) -> (String string)
ReadURLFromPasteboard(uint64_t index, String pasteboardType) -> (String string)
ReadBufferFromPasteboard(uint64_t index, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
GetPasteboardItemsCount() -> (uint64_t itemsCount)
#endif
#if PLATFORM(MAC)
# Pasteboard messages.
GetPasteboardTypes(WTF::String pasteboardName) -> (Vector<WTF::String> types)
GetPasteboardPathnamesForType(WTF::String pasteboardName, WTF::String pasteboardType) -> (Vector<WTF::String> pathnames)
GetPasteboardStringForType(WTF::String pasteboardName, WTF::String pasteboardType) -> (WTF::String string)
GetPasteboardBufferForType(WTF::String pasteboardName, WTF::String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
PasteboardCopy(WTF::String fromPasteboard, WTF::String toPasteboard) -> (uint64_t changeCount)
GetPasteboardChangeCount(WTF::String pasteboardName) -> (uint64_t changeCount)
GetPasteboardUniqueName() -> (WTF::String pasteboardName)
GetPasteboardColor(WTF::String pasteboardName) -> (WebCore::Color color)
GetPasteboardURL(WTF::String pasteboardName) -> (WTF::String urlString)
AddPasteboardTypes(WTF::String pasteboardName, Vector<WTF::String> pasteboardTypes) -> (uint64_t changeCount)
SetPasteboardTypes(WTF::String pasteboardName, Vector<WTF::String> pasteboardTypes) -> (uint64_t changeCount)
SetPasteboardPathnamesForType(WTF::String pasteboardName, WTF::String pasteboardType, Vector<WTF::String> pathnames) -> (uint64_t changeCount)
SetPasteboardStringForType(WTF::String pasteboardName, WTF::String pasteboardType, WTF::String string) -> (uint64_t changeCount)
SetPasteboardBufferForType(WTF::String pasteboardName, WTF::String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount)
GetPasteboardTypes(String pasteboardName) -> (Vector<String> types)
GetPasteboardPathnamesForType(String pasteboardName, String pasteboardType) -> (Vector<String> pathnames)
GetPasteboardStringForType(String pasteboardName, String pasteboardType) -> (String string)
GetPasteboardBufferForType(String pasteboardName, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
PasteboardCopy(String fromPasteboard, String toPasteboard) -> (uint64_t changeCount)
GetPasteboardChangeCount(String pasteboardName) -> (uint64_t changeCount)
GetPasteboardUniqueName() -> (String pasteboardName)
GetPasteboardColor(String pasteboardName) -> (WebCore::Color color)
GetPasteboardURL(String pasteboardName) -> (String urlString)
AddPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount)
SetPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount)
SetPasteboardPathnamesForType(String pasteboardName, String pasteboardType, Vector<String> pathnames) -> (uint64_t changeCount)
SetPasteboardStringForType(String pasteboardName, String pasteboardType, String string) -> (uint64_t changeCount)
SetPasteboardBufferForType(String pasteboardName, String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount)
#endif
#if !PLATFORM(MAC)
......@@ -62,6 +62,6 @@ messages -> WebContext LegacyReceiver {
#endif
# Plug-in messages.
void AddPlugInAutoStartOriginHash(WTF::String pageOrigin, uint32_t hash)
void AddPlugInAutoStartOriginHash(String pageOrigin, uint32_t hash)
void PlugInDidReceiveUserInteraction(uint32_t hash)
}
......@@ -21,7 +21,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
messages -> WebCookieManagerProxy {
DidGetHostnamesWithCookies(Vector<WTF::String> hostnames, uint64_t callbackID);
DidGetHostnamesWithCookies(Vector<String> hostnames, uint64_t callbackID);
DidGetHTTPCookieAcceptPolicy(uint32_t policy, uint64_t callbackID);
CookiesDidChange()
......
......@@ -24,9 +24,9 @@
messages -> WebDatabaseManagerProxy {
DidGetDatabasesByOrigin(Vector<WebKit::OriginAndDatabases> originAndDatabases, uint64_t callbackID);
DidGetDatabaseOrigins(Vector<WTF::String> originIdentifiers, uint64_t callbackID)
DidModifyOrigin(WTF::String originIdentifier)
DidModifyDatabase(WTF::String originIdentifier, WTF::String databaseIdentifier)
DidGetDatabaseOrigins(Vector<String> originIdentifiers, uint64_t callbackID)
DidModifyOrigin(String originIdentifier)
DidModifyDatabase(String originIdentifier, String databaseIdentifier)
}
#endif // ENABLE(SQL_DATABASE)
......@@ -21,16 +21,16 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
messages -> WebIconDatabase {
RetainIconForPageURL(WTF::String pageURL)
ReleaseIconForPageURL(WTF::String pageURL)
SetIconURLForPageURL(WTF::String iconURL, WTF::String pageURL)
SetIconDataForIconURL(CoreIPC::DataReference iconData, WTF::String iconURL)
RetainIconForPageURL(String pageURL)
ReleaseIconForPageURL(String pageURL)
SetIconURLForPageURL(String iconURL, String pageURL)
SetIconDataForIconURL(CoreIPC::DataReference iconData, String iconURL)
SynchronousIconDataForPageURL(WTF::String pageURL) -> (CoreIPC::DataReference iconData)
SynchronousIconURLForPageURL(WTF::String pageURL) -> (WTF::String iconURL)
SynchronousIconDataKnownForIconURL(WTF::String iconURL) -> (bool dataKnown)
SynchronousLoadDecisionForIconURL(WTF::String iconURL) -> (int loadDecision)
SynchronousIconDataForPageURL(String pageURL) -> (CoreIPC::DataReference iconData)
SynchronousIconURLForPageURL(String pageURL) -> (String iconURL)
SynchronousIconDataKnownForIconURL(String iconURL) -> (bool dataKnown)
SynchronousLoadDecisionForIconURL(String iconURL) -> (int loadDecision)
GetLoadDecisionForIconURL(WTF::String iconURL, uint64_t callbackID)
DidReceiveIconForPageURL(WTF::String pageURL)
GetLoadDecisionForIconURL(String iconURL, uint64_t callbackID)
DidReceiveIconForPageURL(String pageURL)
}
......@@ -26,10 +26,10 @@ messages -> WebInspectorProxy {
CreateInspectorPage() -> (uint64_t inspectorPageID, WebKit::WebPageCreationParameters inspectorPageParameters)
DidClose()
BringToFront()
InspectedURLChanged(WTF::String urlString)
InspectedURLChanged(String urlString)
Save(WTF::String filename, WTF::String content, bool base64Encoded, bool forceSaveAs)
Append(WTF::String filename, WTF::String content)
Save(String filename, String content, bool base64Encoded, bool forceSaveAs)
Append(String filename, String content)
AttachBottom()
AttachRight()
......@@ -41,7 +41,7 @@ messages -> WebInspectorProxy {
SetToolbarHeight(unsigned height)
#if ENABLE(INSPECTOR_SERVER)
SendMessageToRemoteFrontend(WTF::String message)
SendMessageToRemoteFrontend(String message)
#endif
}
......
......@@ -21,5 +21,5 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
messages -> WebMediaCacheManagerProxy {
DidGetHostnamesWithMediaCache(Vector<WTF::String> hostnames, uint64_t callbackID);
DidGetHostnamesWithMediaCache(Vector<String> hostnames, uint64_t callbackID);
}
......@@ -24,11 +24,11 @@ messages -> WebProcessProxy LegacyReceiver {
# History client messages.
DidNavigateWithNavigationData(uint64_t pageID, WebKit::WebNavigationDataStore store, uint64_t frameID)
DidPerformClientRedirect(uint64_t pageID, WTF::String sourceURLString, WTF::String destinationURLString, uint64_t frameID)
DidPerformServerRedirect(uint64_t pageID, WTF::String sourceURLString, WTF::String destinationURLString, uint64_t frameID)
DidUpdateHistoryTitle(uint64_t pageID, WTF::String title, WTF::String url, uint64_t frameID)
DidPerformClientRedirect(uint64_t pageID, String sourceURLString, String destinationURLString, uint64_t frameID)
DidPerformServerRedirect(uint64_t pageID, String sourceURLString, String destinationURLString, uint64_t frameID)
DidUpdateHistoryTitle(uint64_t pageID, String title, String url, uint64_t frameID)
AddBackForwardItem(uint64_t itemID, WTF::String originalURL, WTF::String url, WTF::String title, CoreIPC::DataReference backForwardData)
AddBackForwardItem(uint64_t itemID, String originalURL, String url, String title, CoreIPC::DataReference backForwardData)
DidDestroyFrame(uint64_t frameID)
ShouldTerminate() -> (bool shouldTerminate)
......
</
......@@ -25,7 +25,7 @@
messages -> WebCookieManager {