Changeset 160022 in webkit
- Timestamp:
- Dec 3, 2013 11:37:35 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 32 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r160020 r160022 1 2013-12-03 Tamas Gergely <tgergely.u-szeged@partner.samsung.com> 2 3 Remove WTF:: prefix from types in messages.in files. 4 https://bugs.webkit.org/show_bug.cgi?id=124578 5 6 Reviewed by Anders Carlsson. 7 8 The WTF:: prefixes are removed from the messages.in files, and the 9 messages.py now handles unprefixed non-template WTF classes (only 10 the WTF::String class is used currently). Tests are also updated. 11 12 * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in: 13 * NetworkProcess/NetworkConnectionToWebProcess.messages.in: 14 * NetworkProcess/NetworkProcess.messages.in: 15 * PluginProcess/PluginControllerProxy.messages.in: 16 * PluginProcess/PluginProcess.messages.in: 17 * Scripts/webkit2/messages.py: 18 (forward_declarations_and_headers): 19 (class_template_headers): 20 (argument_coder_headers_for_type): 21 * Scripts/webkit2/messages_unittest.py: 22 (std): 23 * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in: 24 * UIProcess/Downloads/DownloadProxy.messages.in: 25 * UIProcess/Plugins/PluginProcessProxy.messages.in: 26 * UIProcess/Storage/StorageManager.messages.in: 27 * UIProcess/WebContext.messages.in: 28 * UIProcess/WebCookieManagerProxy.messages.in: 29 * UIProcess/WebDatabaseManagerProxy.messages.in: 30 * UIProcess/WebIconDatabase.messages.in: 31 * UIProcess/WebInspectorProxy.messages.in: 32 * UIProcess/WebMediaCacheManagerProxy.messages.in: 33 * UIProcess/WebPageProxy.messages.in: 34 * UIProcess/WebProcessProxy.messages.in: 35 * WebProcess/Cookies/WebCookieManager.messages.in: 36 * WebProcess/Geolocation/WebGeolocationManager.messages.in: 37 * WebProcess/MediaCache/WebMediaCacheManager.messages.in: 38 * WebProcess/Notifications/WebNotificationManager.messages.in: 39 * WebProcess/Plugins/PluginProcessConnection.messages.in: 40 * WebProcess/Plugins/PluginProxy.messages.in: 41 * WebProcess/Storage/StorageAreaMap.messages.in: 42 * WebProcess/WebCoreSupport/WebDatabaseManager.messages.in: 43 * WebProcess/WebPage/WebInspector.messages.in: 44 * WebProcess/WebPage/WebPage.messages.in: 45 * WebProcess/WebProcess.messages.in: 46 * WebProcess/soup/WebSoupRequestManager.messages.in: 47 1 48 2013-12-03 Anders Carlsson <andersca@apple.com> 2 49 -
trunk/Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in
r159639 r160022 24 24 25 25 messages -> DatabaseProcessIDBConnection LegacyReceiver { 26 EstablishConnection( WTF::String databaseName, WebKit::SecurityOriginData openingOrigin, WebKit::SecurityOriginData mainFrameOrigin)26 EstablishConnection(String databaseName, WebKit::SecurityOriginData openingOrigin, WebKit::SecurityOriginData mainFrameOrigin) 27 27 GetOrEstablishIDBDatabaseMetadata(uint64_t requestID) 28 28 } -
trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.messages.in
r159201 r160022 36 36 ConvertMainResourceLoadToDownload(uint64_t mainResourceLoadIdentifier, uint64_t downloadID, WebCore::ResourceRequest request, WebCore::ResourceResponse response) 37 37 38 CookiesForDOM(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> ( WTF::String result)39 SetCookiesFromDOM(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url, WTF::String cookieString)38 CookiesForDOM(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (String result) 39 SetCookiesFromDOM(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url, String cookieString) 40 40 CookiesEnabled(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (bool enabled) 41 CookieRequestHeaderFieldValue(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> ( WTF::String result)41 CookieRequestHeaderFieldValue(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (String result) 42 42 GetRawCookies(bool privateBrowsingEnabled, WebCore::URL firstParty, WebCore::URL url) -> (Vector<WebCore::Cookie> cookies) 43 DeleteCookie(bool privateBrowsingEnabled, WebCore::URL url, WTF::String cookieName)43 DeleteCookie(bool privateBrowsingEnabled, WebCore::URL url, String cookieName) 44 44 45 45 RegisterBlobURL(WebCore::URL url, WebKit::BlobRegistrationData data) -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.messages.in
r159647 r160022 40 40 #endif 41 41 42 AllowSpecificHTTPSCertificateForHost(WebKit::CertificateInfo certificate, WTF::String host)42 AllowSpecificHTTPSCertificateForHost(WebKit::CertificateInfo certificate, String host) 43 43 44 44 GetNetworkProcessStatistics(uint64_t callbackID) -
trunk/Source/WebKit2/PluginProcess/PluginControllerProxy.messages.in
r156069 r160022 34 34 35 35 # Sent when JavaScript that the plug-in asked to be evaluated has been evaluated. 36 DidEvaluateJavaScript(uint64_t requestID, WTF::String result)36 DidEvaluateJavaScript(uint64_t requestID, String result) 37 37 38 38 # Sent when the plug-in receives a response for a stream. 39 StreamDidReceiveResponse(uint64_t streamID, WTF::String responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, WTF::String mimeType, WTF::String headers)39 StreamDidReceiveResponse(uint64_t streamID, String responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, String mimeType, String headers) 40 40 41 41 # Sent when the plug-in receives data for a stream. … … 49 49 50 50 # Sent when the plug-in receives a response for the manual stream. 51 ManualStreamDidReceiveResponse( WTF::String responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, WTF::String mimeType, WTF::String headers)51 ManualStreamDidReceiveResponse(String responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, String mimeType, String headers) 52 52 53 53 # Sent when the plug-in receives data for the manual stream. … … 76 76 77 77 # Sent when an editing command should be processed. 78 HandleEditingCommand( WTF::String commandName, WTF::String argument) -> (bool handled);78 HandleEditingCommand(String commandName, String argument) -> (bool handled); 79 79 80 80 # Return whether or not a plugin wants to enable the given editing command. 81 IsEditingCommandEnabled( WTF::String commandName) -> (bool enabled);81 IsEditingCommandEnabled(String commandName) -> (bool enabled); 82 82 83 83 # Return whether or not a plugin wants to handle page scale factor itself. … … 98 98 #if PLATFORM(MAC) 99 99 # Send the complex text input to the plug-in. 100 SendComplexTextInput( WTF::String textInput)100 SendComplexTextInput(String textInput) 101 101 102 102 # Sent when the containing NSWindow's focus changes … … 126 126 127 127 # Gets the string representating the form value of the plug-in 128 GetFormValue() -> (bool returnValue, WTF::String formValue)128 GetFormValue() -> (bool returnValue, String formValue) 129 129 } 130 130 -
trunk/Source/WebKit2/PluginProcess/PluginProcess.messages.in
r156069 r160022 38 38 # Asks the plug-in to clear data for the given sites. The plug-in process sends back 39 39 # a DidClearSiteData message when done. 40 ClearSiteData(Vector< WTF::String> sites, uint64_t flags, uint64_t maxAgeInSeconds, uint64_t callbackID)40 ClearSiteData(Vector<String> sites, uint64_t flags, uint64_t maxAgeInSeconds, uint64_t callbackID) 41 41 42 42 #if PLATFORM(MAC) -
trunk/Source/WebKit2/Scripts/webkit2/messages.py
r159972 r160022 245 245 ]) 246 246 247 non_template_wtf_types = frozenset([ 248 'String', 249 ]) 250 247 251 for message in receiver.messages: 248 252 if message.reply_parameters != None and message.has_attribute(DELAYED_ATTRIBUTE): … … 259 263 260 264 split = type.split('::') 265 266 # Handle WTF types even if the WTF:: prefix is not given 267 if split[0] in non_template_wtf_types: 268 split.insert(0, 'WTF') 261 269 262 270 if len(split) == 2: … … 390 398 391 399 special_cases = { 392 ' WTF::String': '"ArgumentCoders.h"',400 'String': '"ArgumentCoders.h"', 393 401 'WebKit::InjectedBundleUserMessageEncoder': '"InjectedBundleUserMessageCoders.h"', 394 402 'WebKit::WebContextUserMessageEncoder': '"WebContextUserMessageCoders.h"', … … 416 424 417 425 special_cases = { 418 ' WTF::String': ['<wtf/text/WTFString.h>'],426 'String': ['<wtf/text/WTFString.h>'], 419 427 'WebCore::CompositionUnderline': ['<WebCore/Editor.h>'], 420 428 'WebCore::GrammarDetail': ['<WebCore/TextCheckerClient.h>'], -
trunk/Source/WebKit2/Scripts/webkit2/messages_unittest.py
r159312 r160022 53 53 54 54 messages -> WebPage LegacyReceiver { 55 LoadURL( WTF::String url)55 LoadURL(String url) 56 56 #if ENABLE(TOUCH_EVENTS) 57 LoadSomething( WTF::String url)57 LoadSomething(String url) 58 58 #if NESTED_MESSAGE_CONDITION || SOME_OTHER_MESSAGE_CONDITION 59 59 TouchEvent(WebKit::WebTouchEvent event) … … 62 62 AddEvent(WebKit::WebTouchEvent event) 63 63 #endif 64 LoadSomethingElse( WTF::String url)64 LoadSomethingElse(String url) 65 65 #endif 66 66 DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction) … … 72 72 73 73 CreatePlugin(uint64_t pluginInstanceID, WebKit::Plugin::Parameters parameters) -> (bool result) 74 RunJavaScriptAlert(uint64_t frameID, WTF::String message) -> ()74 RunJavaScriptAlert(uint64_t frameID, String message) -> () 75 75 GetPlugins(bool refresh) -> (Vector<WebCore::PluginInfo> plugins) 76 GetPluginProcessConnection( WTF::String pluginPath) -> (CoreIPC::Connection::Handle connectionHandle) Delayed76 GetPluginProcessConnection(String pluginPath) -> (CoreIPC::Connection::Handle connectionHandle) Delayed 77 77 78 78 TestMultipleAttributes() -> () WantsConnection Delayed … … 111 111 'name': 'LoadURL', 112 112 'parameters': ( 113 (' WTF::String', 'url'),113 ('String', 'url'), 114 114 ), 115 115 'conditions': (None), … … 118 118 'name': 'LoadSomething', 119 119 'parameters': ( 120 (' WTF::String', 'url'),120 ('String', 'url'), 121 121 ), 122 122 'conditions': ('ENABLE(TOUCH_EVENTS)'), … … 139 139 'name': 'LoadSomethingElse', 140 140 'parameters': ( 141 (' WTF::String', 'url'),141 ('String', 'url'), 142 142 ), 143 143 'conditions': ('ENABLE(TOUCH_EVENTS)'), … … 195 195 'parameters': ( 196 196 ('uint64_t', 'frameID'), 197 (' WTF::String', 'message')197 ('String', 'message') 198 198 ), 199 199 'reply_parameters': (), … … 213 213 'name': 'GetPluginProcessConnection', 214 214 'parameters': ( 215 (' WTF::String', 'pluginPath'),215 ('String', 'pluginPath'), 216 216 ), 217 217 'reply_parameters': ( … … 354 354 #include <wtf/ThreadSafeRefCounted.h> 355 355 #include <wtf/Vector.h> 356 #include <wtf/text/WTFString.h> 356 357 357 358 namespace CoreIPC { … … 380 381 class LoadURL { 381 382 public: 382 typedef std::tuple< WTF::String> DecodeType;383 typedef std::tuple<String> DecodeType; 383 384 384 385 static CoreIPC::StringReference receiverName() { return messageReceiverName(); } … … 386 387 static const bool isSync = false; 387 388 388 explicit LoadURL(const WTF::String& url)389 explicit LoadURL(const String& url) 389 390 : m_arguments(url) 390 391 { 391 392 } 392 393 393 const std::tuple<const WTF::String&> arguments() const394 { 395 return m_arguments; 396 } 397 398 private: 399 std::tuple<const WTF::String&> m_arguments;394 const std::tuple<const String&> arguments() const 395 { 396 return m_arguments; 397 } 398 399 private: 400 std::tuple<const String&> m_arguments; 400 401 }; 401 402 … … 403 404 class LoadSomething { 404 405 public: 405 typedef std::tuple< WTF::String> DecodeType;406 typedef std::tuple<String> DecodeType; 406 407 407 408 static CoreIPC::StringReference receiverName() { return messageReceiverName(); } … … 409 410 static const bool isSync = false; 410 411 411 explicit LoadSomething(const WTF::String& url)412 explicit LoadSomething(const String& url) 412 413 : m_arguments(url) 413 414 { 414 415 } 415 416 416 const std::tuple<const WTF::String&> arguments() const417 { 418 return m_arguments; 419 } 420 421 private: 422 std::tuple<const WTF::String&> m_arguments;417 const std::tuple<const String&> arguments() const 418 { 419 return m_arguments; 420 } 421 422 private: 423 std::tuple<const String&> m_arguments; 423 424 }; 424 425 #endif … … 475 476 class LoadSomethingElse { 476 477 public: 477 typedef std::tuple< WTF::String> DecodeType;478 typedef std::tuple<String> DecodeType; 478 479 479 480 static CoreIPC::StringReference receiverName() { return messageReceiverName(); } … … 481 482 static const bool isSync = false; 482 483 483 explicit LoadSomethingElse(const WTF::String& url)484 explicit LoadSomethingElse(const String& url) 484 485 : m_arguments(url) 485 486 { 486 487 } 487 488 488 const std::tuple<const WTF::String&> arguments() const489 { 490 return m_arguments; 491 } 492 493 private: 494 std::tuple<const WTF::String&> m_arguments;489 const std::tuple<const String&> arguments() const 490 { 491 return m_arguments; 492 } 493 494 private: 495 std::tuple<const String&> m_arguments; 495 496 }; 496 497 #endif … … 626 627 class RunJavaScriptAlert { 627 628 public: 628 typedef std::tuple<uint64_t, WTF::String> DecodeType;629 typedef std::tuple<uint64_t, String> DecodeType; 629 630 630 631 static CoreIPC::StringReference receiverName() { return messageReceiverName(); } … … 633 634 634 635 typedef CoreIPC::Arguments0 Reply; 635 RunJavaScriptAlert(uint64_t frameID, const WTF::String& message)636 RunJavaScriptAlert(uint64_t frameID, const String& message) 636 637 : m_arguments(frameID, message) 637 638 { 638 639 } 639 640 640 const std::tuple<uint64_t, const WTF::String&> arguments() const641 { 642 return m_arguments; 643 } 644 645 private: 646 std::tuple<uint64_t, const WTF::String&> m_arguments;641 const std::tuple<uint64_t, const String&> arguments() const 642 { 643 return m_arguments; 644 } 645 646 private: 647 std::tuple<uint64_t, const String&> m_arguments; 647 648 }; 648 649 … … 672 673 class GetPluginProcessConnection { 673 674 public: 674 typedef std::tuple< WTF::String> DecodeType;675 typedef std::tuple<String> DecodeType; 675 676 676 677 static CoreIPC::StringReference receiverName() { return messageReceiverName(); } … … 690 691 691 692 typedef CoreIPC::Arguments1<CoreIPC::Connection::Handle&> Reply; 692 explicit GetPluginProcessConnection(const WTF::String& pluginPath)693 explicit GetPluginProcessConnection(const String& pluginPath) 693 694 : m_arguments(pluginPath) 694 695 { 695 696 } 696 697 697 const std::tuple<const WTF::String&> arguments() const698 { 699 return m_arguments; 700 } 701 702 private: 703 std::tuple<const WTF::String&> m_arguments;698 const std::tuple<const String&> arguments() const 699 { 700 return m_arguments; 701 } 702 703 private: 704 std::tuple<const String&> m_arguments; 704 705 }; 705 706 -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.messages.in
r141710 r160022 29 29 DidFinishLoading(uint64_t customProtocolID) 30 30 31 RegisterScheme( WTF::String name)32 UnregisterScheme( WTF::String name)31 RegisterScheme(String name) 32 UnregisterScheme(String name) 33 33 } 34 34 -
trunk/Source/WebKit2/UIProcess/Downloads/DownloadProxy.messages.in
r141711 r160022 29 29 ShouldDecodeSourceDataOfMIMEType(String mimeType) -> (bool result) 30 30 DecideDestinationWithSuggestedFilename(String filename) -> (String destination, bool allowOverwrite, WebKit::SandboxExtension::Handle sandboxExtensionHandle) 31 DidCreateDestination( WTF::String path)31 DidCreateDestination(String path) 32 32 DidFinish() 33 33 DidFail(WebCore::ResourceError error, CoreIPC::DataReference resumeData) -
trunk/Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.messages.in
r156069 r160022 26 26 DidCreateWebProcessConnection(CoreIPC::Attachment connectionIdentifier, bool supportsAsynchronousPluginInitialization) 27 27 28 DidGetSitesWithData(Vector< WTF::String> sites, uint64_t callbackID)28 DidGetSitesWithData(Vector<String> sites, uint64_t callbackID) 29 29 DidClearSiteData(uint64_t callbackID) 30 30 … … 37 37 38 38 # Returns true if the UI process launched the process. 39 LaunchProcess( WTF::String launchPath, Vector<WTF::String> arguments) -> (bool result)39 LaunchProcess(String launchPath, Vector<String> arguments) -> (bool result) 40 40 41 41 # Returns true if the UI process launched the application. 42 LaunchApplicationAtURL( WTF::String url, Vector<WTF::String> arguments) -> (bool result)42 LaunchApplicationAtURL(String url, Vector<String> arguments) -> (bool result) 43 43 44 44 # Returns true if the UI process did open the URL. 45 OpenURL( WTF::String urlString) -> (bool result, int32_t status, WTF::String launchedURLString)45 OpenURL(String urlString) -> (bool result, int32_t status, String launchedURLString) 46 46 47 47 # Returns true if the UI process did open the file. 48 OpenFile( WTF::String fullPath) -> (bool result)48 OpenFile(String fullPath) -> (bool result) 49 49 #endif 50 50 } -
trunk/Source/WebKit2/UIProcess/Storage/StorageManager.messages.in
r159201 r160022 26 26 DestroyStorageMap(uint64_t storageMapID) WantsConnection 27 27 28 GetValues(uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap< WTF::String, WTF::String> values) WantsConnection28 GetValues(uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<String, String> values) WantsConnection 29 29 30 SetItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, WTF::String key, WTF::String value, WTF::String urlString) WantsConnection31 RemoveItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, WTF::String key, WTF::String urlString) WantsConnection32 Clear(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, WTF::String urlString) WantsConnection30 SetItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String key, String value, String urlString) WantsConnection 31 RemoveItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String key, String urlString) WantsConnection 32 Clear(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String urlString) WantsConnection 33 33 } -
trunk/Source/WebKit2/UIProcess/WebContext.messages.in
r156588 r160022 31 31 WriteWebContentToPasteboard(WebCore::PasteboardWebContent content) 32 32 WriteImageToPasteboard(WebCore::PasteboardImage pasteboardImage) 33 WriteStringToPasteboard( WTF::String pasteboardType, WTF::String text)34 ReadStringFromPasteboard(uint64_t index, WTF::String pasteboardType) -> (WTF::String string)35 ReadURLFromPasteboard(uint64_t index, WTF::String pasteboardType) -> (WTF::String string)36 ReadBufferFromPasteboard(uint64_t index, WTF::String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)33 WriteStringToPasteboard(String pasteboardType, String text) 34 ReadStringFromPasteboard(uint64_t index, String pasteboardType) -> (String string) 35 ReadURLFromPasteboard(uint64_t index, String pasteboardType) -> (String string) 36 ReadBufferFromPasteboard(uint64_t index, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) 37 37 GetPasteboardItemsCount() -> (uint64_t itemsCount) 38 38 #endif … … 40 40 #if PLATFORM(MAC) 41 41 # Pasteboard messages. 42 GetPasteboardTypes( WTF::String pasteboardName) -> (Vector<WTF::String> types)43 GetPasteboardPathnamesForType( WTF::String pasteboardName, WTF::String pasteboardType) -> (Vector<WTF::String> pathnames)44 GetPasteboardStringForType( WTF::String pasteboardName, WTF::String pasteboardType) -> (WTF::String string)45 GetPasteboardBufferForType( WTF::String pasteboardName, WTF::String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)46 PasteboardCopy( WTF::String fromPasteboard, WTF::String toPasteboard) -> (uint64_t changeCount)47 GetPasteboardChangeCount( WTF::String pasteboardName) -> (uint64_t changeCount)48 GetPasteboardUniqueName() -> ( WTF::String pasteboardName)49 GetPasteboardColor( WTF::String pasteboardName) -> (WebCore::Color color)50 GetPasteboardURL( WTF::String pasteboardName) -> (WTF::String urlString)51 AddPasteboardTypes( WTF::String pasteboardName, Vector<WTF::String> pasteboardTypes) -> (uint64_t changeCount)52 SetPasteboardTypes( WTF::String pasteboardName, Vector<WTF::String> pasteboardTypes) -> (uint64_t changeCount)53 SetPasteboardPathnamesForType( WTF::String pasteboardName, WTF::String pasteboardType, Vector<WTF::String> pathnames) -> (uint64_t changeCount)54 SetPasteboardStringForType( WTF::String pasteboardName, WTF::String pasteboardType, WTF::String string) -> (uint64_t changeCount)55 SetPasteboardBufferForType( WTF::String pasteboardName, WTF::String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount)42 GetPasteboardTypes(String pasteboardName) -> (Vector<String> types) 43 GetPasteboardPathnamesForType(String pasteboardName, String pasteboardType) -> (Vector<String> pathnames) 44 GetPasteboardStringForType(String pasteboardName, String pasteboardType) -> (String string) 45 GetPasteboardBufferForType(String pasteboardName, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) 46 PasteboardCopy(String fromPasteboard, String toPasteboard) -> (uint64_t changeCount) 47 GetPasteboardChangeCount(String pasteboardName) -> (uint64_t changeCount) 48 GetPasteboardUniqueName() -> (String pasteboardName) 49 GetPasteboardColor(String pasteboardName) -> (WebCore::Color color) 50 GetPasteboardURL(String pasteboardName) -> (String urlString) 51 AddPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) 52 SetPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) 53 SetPasteboardPathnamesForType(String pasteboardName, String pasteboardType, Vector<String> pathnames) -> (uint64_t changeCount) 54 SetPasteboardStringForType(String pasteboardName, String pasteboardType, String string) -> (uint64_t changeCount) 55 SetPasteboardBufferForType(String pasteboardName, String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount) 56 56 #endif 57 57 … … 63 63 64 64 # Plug-in messages. 65 void AddPlugInAutoStartOriginHash( WTF::String pageOrigin, uint32_t hash)65 void AddPlugInAutoStartOriginHash(String pageOrigin, uint32_t hash) 66 66 void PlugInDidReceiveUserInteraction(uint32_t hash) 67 67 } -
trunk/Source/WebKit2/UIProcess/WebCookieManagerProxy.messages.in
r141711 r160022 22 22 23 23 messages -> WebCookieManagerProxy { 24 DidGetHostnamesWithCookies(Vector< WTF::String> hostnames, uint64_t callbackID);24 DidGetHostnamesWithCookies(Vector<String> hostnames, uint64_t callbackID); 25 25 DidGetHTTPCookieAcceptPolicy(uint32_t policy, uint64_t callbackID); 26 26 -
trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.messages.in
r141711 r160022 25 25 messages -> WebDatabaseManagerProxy { 26 26 DidGetDatabasesByOrigin(Vector<WebKit::OriginAndDatabases> originAndDatabases, uint64_t callbackID); 27 DidGetDatabaseOrigins(Vector< WTF::String> originIdentifiers, uint64_t callbackID)28 DidModifyOrigin( WTF::String originIdentifier)29 DidModifyDatabase( WTF::String originIdentifier, WTF::String databaseIdentifier)27 DidGetDatabaseOrigins(Vector<String> originIdentifiers, uint64_t callbackID) 28 DidModifyOrigin(String originIdentifier) 29 DidModifyDatabase(String originIdentifier, String databaseIdentifier) 30 30 } 31 31 -
trunk/Source/WebKit2/UIProcess/WebIconDatabase.messages.in
r148233 r160022 22 22 23 23 messages -> WebIconDatabase { 24 RetainIconForPageURL( WTF::String pageURL)25 ReleaseIconForPageURL( WTF::String pageURL)26 SetIconURLForPageURL( WTF::String iconURL, WTF::String pageURL)27 SetIconDataForIconURL(CoreIPC::DataReference iconData, WTF::String iconURL)24 RetainIconForPageURL(String pageURL) 25 ReleaseIconForPageURL(String pageURL) 26 SetIconURLForPageURL(String iconURL, String pageURL) 27 SetIconDataForIconURL(CoreIPC::DataReference iconData, String iconURL) 28 28 29 SynchronousIconDataForPageURL( WTF::String pageURL) -> (CoreIPC::DataReference iconData)30 SynchronousIconURLForPageURL( WTF::String pageURL) -> (WTF::String iconURL)31 SynchronousIconDataKnownForIconURL( WTF::String iconURL) -> (bool dataKnown)32 SynchronousLoadDecisionForIconURL( WTF::String iconURL) -> (int loadDecision)29 SynchronousIconDataForPageURL(String pageURL) -> (CoreIPC::DataReference iconData) 30 SynchronousIconURLForPageURL(String pageURL) -> (String iconURL) 31 SynchronousIconDataKnownForIconURL(String iconURL) -> (bool dataKnown) 32 SynchronousLoadDecisionForIconURL(String iconURL) -> (int loadDecision) 33 33 34 GetLoadDecisionForIconURL( WTF::String iconURL, uint64_t callbackID)35 DidReceiveIconForPageURL( WTF::String pageURL)34 GetLoadDecisionForIconURL(String iconURL, uint64_t callbackID) 35 DidReceiveIconForPageURL(String pageURL) 36 36 } -
trunk/Source/WebKit2/UIProcess/WebInspectorProxy.messages.in
r154828 r160022 27 27 DidClose() 28 28 BringToFront() 29 InspectedURLChanged( WTF::String urlString)29 InspectedURLChanged(String urlString) 30 30 31 Save( WTF::String filename, WTF::String content, bool base64Encoded, bool forceSaveAs)32 Append( WTF::String filename, WTF::String content)31 Save(String filename, String content, bool base64Encoded, bool forceSaveAs) 32 Append(String filename, String content) 33 33 34 34 AttachBottom() … … 42 42 43 43 #if ENABLE(INSPECTOR_SERVER) 44 SendMessageToRemoteFrontend( WTF::String message)44 SendMessageToRemoteFrontend(String message) 45 45 #endif 46 46 } -
trunk/Source/WebKit2/UIProcess/WebMediaCacheManagerProxy.messages.in
r140607 r160022 22 22 23 23 messages -> WebMediaCacheManagerProxy { 24 DidGetHostnamesWithMediaCache(Vector< WTF::String> hostnames, uint64_t callbackID);24 DidGetHostnamesWithMediaCache(Vector<String> hostnames, uint64_t callbackID); 25 25 } -
trunk/Source/WebKit2/UIProcess/WebPageProxy.messages.in
r159724 r160022 26 26 ShowPage() 27 27 ClosePage(bool stopResponsivenessTimer) 28 RunJavaScriptAlert(uint64_t frameID, WTF::String message) -> ()29 RunJavaScriptConfirm(uint64_t frameID, WTF::String message) -> (bool result)30 RunJavaScriptPrompt(uint64_t frameID, WTF::String message, WTF::String defaultValue) -> (WTF::String result)28 RunJavaScriptAlert(uint64_t frameID, String message) -> () 29 RunJavaScriptConfirm(uint64_t frameID, String message) -> (bool result) 30 RunJavaScriptPrompt(uint64_t frameID, String message, String defaultValue) -> (String result) 31 31 ShouldInterruptJavaScript() -> (bool shouldInterupt) 32 32 MouseDidMoveOverElement(WebKit::WebHitTestResult::Data hitTestResultData, uint32_t modifiers, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 33 33 #if ENABLE(NETSCAPE_PLUGIN_API) 34 UnavailablePluginButtonClicked(uint32_t pluginUnavailabilityReason, WTF::String mimeType, WTF::String pluginURLString, WTF::String pluginspageAttributeURLString, WTF::String frameURLString, WTF::String pageURLString)34 UnavailablePluginButtonClicked(uint32_t pluginUnavailabilityReason, String mimeType, String pluginURLString, String pluginspageAttributeURLString, String frameURLString, String pageURLString) 35 35 #endif // ENABLE(NETSCAPE_PLUGIN_API) 36 36 DidChangeViewportProperties(WebCore::ViewportAttributes attributes) … … 41 41 SetCursorHiddenUntilMouseMoves(bool hiddenUntilMouseMoves) 42 42 #endif 43 SetStatusText( WTF::String statusText)44 SetToolTip( WTF::String toolTip)43 SetStatusText(String statusText) 44 SetToolTip(String toolTip) 45 45 SetFocus(bool focused) 46 46 TakeFocus(uint32_t direction) … … 60 60 ScreenToWindow(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) 61 61 WindowToScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) 62 RunBeforeUnloadConfirmPanel( WTF::String message, uint64_t frameID) -> (bool shouldClose)62 RunBeforeUnloadConfirmPanel(String message, uint64_t frameID) -> (bool shouldClose) 63 63 PageDidScroll() 64 64 RunOpenPanel(uint64_t frameID, WebCore::FileChooserSettings parameters) … … 71 71 DidChangePageCount(unsigned pageCount); 72 72 #if ENABLE(NETSCAPE_PLUGIN_API) 73 DidFailToInitializePlugin( WTF::String mimeType, WTF::String frameURLString, WTF::String pageURLString)74 DidBlockInsecurePluginVersion( WTF::String mimeType, WTF::String pluginURLString, WTF::String frameURLString, WTF::String pageURLString, bool replacementObscured)73 DidFailToInitializePlugin(String mimeType, String frameURLString, String pageURLString) 74 DidBlockInsecurePluginVersion(String mimeType, String pluginURLString, String frameURLString, String pageURLString, bool replacementObscured) 75 75 #endif // ENABLE(NETSCAPE_PLUGIN_API) 76 76 SetCanShortCircuitHorizontalWheelEvents(bool canShortCircuitHorizontalWheelEvents) … … 105 105 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 106 106 DecidePolicyForNavigationAction(uint64_t frameID, uint32_t navigationType, uint32_t modifiers, int32_t mouseButton, uint64_t originatingFrameID, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) -> (bool receivedPolicyAction, uint64_t policyAction, uint64_t downloadID) Variadic 107 DecidePolicyForNewWindowAction(uint64_t frameID, uint32_t navigationType, uint32_t modifiers, int32_t mouseButton, WebCore::ResourceRequest request, WTF::String frameName, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic107 DecidePolicyForNewWindowAction(uint64_t frameID, uint32_t navigationType, uint32_t modifiers, int32_t mouseButton, WebCore::ResourceRequest request, String frameName, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 108 108 UnableToImplementPolicy(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 109 109 … … 118 118 119 119 # Frame load messages 120 DidCommitLoadForFrame(uint64_t frameID, WTF::String mimeType, uint32_t loadType, WebKit::CertificateInfo certificateInfo, WebKit::InjectedBundleUserMessageEncoder userData) Variadic120 DidCommitLoadForFrame(uint64_t frameID, String mimeType, uint32_t loadType, WebKit::CertificateInfo certificateInfo, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 121 121 DidFailLoadForFrame(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 122 122 DidFailProvisionalLoadForFrame(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData) Variadic … … 126 126 DidFirstVisuallyNonEmptyLayoutForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 127 127 DidLayout(uint32_t type, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 128 DidReceiveServerRedirectForProvisionalLoadForFrame(uint64_t frameID, WTF::String url, WebKit::InjectedBundleUserMessageEncoder userData) Variadic128 DidReceiveServerRedirectForProvisionalLoadForFrame(uint64_t frameID, String url, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 129 129 DidRemoveFrameFromHierarchy(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 130 DidStartProvisionalLoadForFrame(uint64_t frameID, WTF::String url, WTF::String unreachableURL, WebKit::InjectedBundleUserMessageEncoder userData) Variadic131 DidReceiveTitleForFrame(uint64_t frameID, WTF::String title, WebKit::InjectedBundleUserMessageEncoder userData) Variadic130 DidStartProvisionalLoadForFrame(uint64_t frameID, String url, String unreachableURL, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 131 DidReceiveTitleForFrame(uint64_t frameID, String title, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 132 132 DidDisplayInsecureContentForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 133 133 DidRunInsecureContentForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 134 134 DidDetectXSSForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 135 DidSameDocumentNavigationForFrame(uint64_t frameID, uint32_t type, WTF::String url, WebKit::InjectedBundleUserMessageEncoder userData) Variadic135 DidSameDocumentNavigationForFrame(uint64_t frameID, uint32_t type, String url, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 136 136 137 137 FrameDidBecomeFrameSet(uint64_t frameID, bool value) 138 138 139 139 # Forms messages 140 WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, Vector<std::pair< WTF::String, WTF::String>> textFieldValues, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic140 WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, Vector<std::pair<String, String>> textFieldValues, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 141 141 142 142 # Callback messages … … 144 144 DataCallback(CoreIPC::DataReference resultData, uint64_t callbackID) 145 145 ImageCallback(WebKit::ShareableBitmap::Handle bitmapHandle, uint64_t callbackID) 146 StringCallback( WTF::String resultString, uint64_t callbackID)146 StringCallback(String resultString, uint64_t callbackID) 147 147 ScriptValueCallback(CoreIPC::DataReference resultData, uint64_t callbackID) 148 148 ComputedPagesCallback(Vector<WebCore::IntRect> pageRects, double totalScaleFactorForPrinting, uint64_t callbackID) 149 ValidateCommandCallback( WTF::String command, bool isEnabled, int32_t state, uint64_t callbackID)149 ValidateCommandCallback(String command, bool isEnabled, int32_t state, uint64_t callbackID) 150 150 #if PLATFORM(IOS) 151 151 GestureCallback(WebCore::IntPoint point, uint32_t gestureType, uint32_t gestureState, uint32_t flags, uint64_t callbackID) … … 163 163 #if PLATFORM(GTK) 164 164 # Support for GTK+ platform keybindings 165 GetEditorCommandsForKeyEvent(AtomicString eventType) -> (Vector< WTF::String> commandsList)165 GetEditorCommandsForKeyEvent(AtomicString eventType) -> (Vector<String> commandsList) 166 166 167 167 # Support for connecting the Accessibility worlds of the UI and the Web processes 168 BindAccessibilityTree( WTF::String plugID)168 BindAccessibilityTree(String plugID) 169 169 170 170 SetInputMethodState(bool enabled); … … 191 191 192 192 # Find messages 193 DidCountStringMatches( WTF::String string, uint32_t matchCount)193 DidCountStringMatches(String string, uint32_t matchCount) 194 194 SetFindIndicator(WebCore::FloatRect selectionRect, Vector<WebCore::FloatRect> textRects, float contentImageScaleFactor, WebKit::ShareableBitmap::Handle contentImageHandle, bool fadeOut, bool animate) 195 DidFindString( WTF::String string, uint32_t matchCount)196 DidFailToFindString( WTF::String string)197 DidFindStringMatches( WTF::String string, Vector<Vector<WebCore::IntRect>> matches, int32_t firstIndexAfterSelection)195 DidFindString(String string, uint32_t matchCount) 196 DidFailToFindString(String string) 197 DidFindStringMatches(String string, Vector<Vector<WebCore::IntRect>> matches, int32_t firstIndexAfterSelection) 198 198 DidGetImageForFindMatch(WebKit::ShareableBitmap::Handle contentImageHandle, uint32_t matchIndex) 199 199 … … 212 212 213 213 # Database messages 214 ExceededDatabaseQuota(uint64_t frameID, WTF::String originIdentifier, WTF::String databaseName, WTF::String databaseDisplayName, uint64_t currentQuota, uint64_t currentOriginUsage, uint64_t currentDatabaseUsage, uint64_t expectedUsage) -> (uint64_t newQuota) Delayed214 ExceededDatabaseQuota(uint64_t frameID, String originIdentifier, String databaseName, String databaseDisplayName, uint64_t currentQuota, uint64_t currentOriginUsage, uint64_t currentDatabaseUsage, uint64_t expectedUsage) -> (uint64_t newQuota) Delayed 215 215 216 216 # Geolocation messages 217 RequestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, WTF::String originIdentifier)217 RequestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, String originIdentifier) 218 218 219 219 # Notification messages 220 RequestNotificationPermission(uint64_t requestID, WTF::String originIdentifier)221 ShowNotification( WTF::String title, WTF::String body, WTF::String iconURL, WTF::String tag, WTF::String lang, WTF::String dir, WTF::String originIdentifier, uint64_t notificationID)220 RequestNotificationPermission(uint64_t requestID, String originIdentifier) 221 ShowNotification(String title, String body, String iconURL, String tag, String lang, String dir, String originIdentifier, uint64_t notificationID) 222 222 CancelNotification(uint64_t notificationID) 223 223 ClearNotifications(Vector<uint64_t> notificationIDs) … … 226 226 # Spelling and grammar messages 227 227 #if USE(UNIFIED_TEXT_CHECKING) 228 CheckTextOfParagraph( WTF::String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results)229 #endif 230 CheckSpellingOfString( WTF::String text) -> (int32_t misspellingLocation, int32_t misspellingLength)231 CheckGrammarOfString( WTF::String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)228 CheckTextOfParagraph(String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results) 229 #endif 230 CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength) 231 CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength) 232 232 SpellingUIIsShowing() -> (bool isShowing) 233 UpdateSpellingUIWithMisspelledWord( WTF::String misspelledWord)234 UpdateSpellingUIWithGrammarString( WTF::String badGrammarPhrase, WebCore::GrammarDetail grammarDetail)235 GetGuessesForWord( WTF::String word, WTF::String context) -> (Vector<WTF::String> guesses)236 LearnWord( WTF::String word);237 IgnoreWord( WTF::String word);233 UpdateSpellingUIWithMisspelledWord(String misspelledWord) 234 UpdateSpellingUIWithGrammarString(String badGrammarPhrase, WebCore::GrammarDetail grammarDetail) 235 GetGuessesForWord(String word, String context) -> (Vector<String> guesses) 236 LearnWord(String word); 237 IgnoreWord(String word); 238 238 RequestCheckingOfString(uint64_t requestID, WebCore::TextCheckingRequestData request) 239 239 … … 244 244 #if PLATFORM(MAC) && ENABLE(DRAG_SUPPORT) 245 245 SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag) 246 SetPromisedData( WTF::String pasteboardName, WebKit::SharedMemory::Handle imageHandle, uint64_t imageSize, WTF::String filename, WTF::String extension, WTF::String title, WTF::String url, WTF::String visibleURL, WebKit::SharedMemory::Handle archiveHandle, uint64_t archiveSize)246 SetPromisedData(String pasteboardName, WebKit::SharedMemory::Handle imageHandle, uint64_t imageSize, String filename, String extension, String title, String url, String visibleURL, WebKit::SharedMemory::Handle archiveHandle, uint64_t archiveSize) 247 247 #endif 248 248 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT) … … 256 256 # Keyboard input support messages 257 257 InterpretQueuedKeyEvent(WebKit::EditorState state) -> (bool handled, Vector<WebCore::KeypressCommand> savedCommands) 258 ExecuteSavedCommandBySelector( WTF::String selector) -> (bool handled)258 ExecuteSavedCommandBySelector(String selector) -> (bool handled) 259 259 260 260 # Remote accessibility messages … … 267 267 # Speech messages 268 268 GetIsSpeaking() -> (bool isSpeaking) 269 Speak( WTF::String string)269 Speak(String string) 270 270 StopSpeaking() 271 271 … … 273 273 274 274 # Spotlight 275 SearchWithSpotlight( WTF::String string)276 277 SearchTheWeb( WTF::String string)275 SearchWithSpotlight(String string) 276 277 SearchTheWeb(String string) 278 278 #endif 279 279 … … 312 312 313 313 # Search popup menus 314 SaveRecentSearches( WTF::String name, Vector<String> searchItems)315 LoadRecentSearches( WTF::String name) -> (Vector<String> result)314 SaveRecentSearches(String name, Vector<String> searchItems) 315 LoadRecentSearches(String name) -> (Vector<String> result) 316 316 317 317 #if USE(SOUP) 318 318 # Soup custom URI request messages 319 DidReceiveURIRequest( WTF::String uriString, uint64_t requestID);320 #endif 321 322 SavePDFToFileInDownloadsFolder( WTF::String suggestedFilename, WTF::String originatingURLString, CoreIPC::DataReference data)319 DidReceiveURIRequest(String uriString, uint64_t requestID); 320 #endif 321 322 SavePDFToFileInDownloadsFolder(String suggestedFilename, String originatingURLString, CoreIPC::DataReference data) 323 323 324 324 #if PLATFORM(MAC) 325 SavePDFToTemporaryFolderAndOpenWithNativeApplication( WTF::String suggestedFilename, WTF::String originatingURLString, CoreIPC::DataReference data, WTF::String pdfUUID)326 OpenPDFFromTemporaryFolderWithNativeApplication( WTF::String pdfUUID)325 SavePDFToTemporaryFolderAndOpenWithNativeApplication(String suggestedFilename, String originatingURLString, CoreIPC::DataReference data, String pdfUUID) 326 OpenPDFFromTemporaryFolderWithNativeApplication(String pdfUUID) 327 327 #endif 328 328 329 329 #if ENABLE(NETSCAPE_PLUGIN_API) 330 FindPlugin( WTF::String mimeType, uint32_t processType, WTF::String urlString, WTF::String frameURLString, WTF::String pageURLString, bool allowOnlyApplicationPlugins) -> (uint64_t pluginProcessToken, WTF::String newMIMEType, uint32_t pluginLoadPolicy, WTF::String unavailabilityDescription)330 FindPlugin(String mimeType, uint32_t processType, String urlString, String frameURLString, String pageURLString, bool allowOnlyApplicationPlugins) -> (uint64_t pluginProcessToken, String newMIMEType, uint32_t pluginLoadPolicy, String unavailabilityDescription) 331 331 #endif 332 332 -
trunk/Source/WebKit2/UIProcess/WebProcessProxy.messages.in
r157524 r160022 25 25 # History client messages. 26 26 DidNavigateWithNavigationData(uint64_t pageID, WebKit::WebNavigationDataStore store, uint64_t frameID) 27 DidPerformClientRedirect(uint64_t pageID, WTF::String sourceURLString, WTF::String destinationURLString, uint64_t frameID)28 DidPerformServerRedirect(uint64_t pageID, WTF::String sourceURLString, WTF::String destinationURLString, uint64_t frameID)29 DidUpdateHistoryTitle(uint64_t pageID, WTF::String title, WTF::String url, uint64_t frameID)27 DidPerformClientRedirect(uint64_t pageID, String sourceURLString, String destinationURLString, uint64_t frameID) 28 DidPerformServerRedirect(uint64_t pageID, String sourceURLString, String destinationURLString, uint64_t frameID) 29 DidUpdateHistoryTitle(uint64_t pageID, String title, String url, uint64_t frameID) 30 30 31 AddBackForwardItem(uint64_t itemID, WTF::String originalURL, WTF::String url, WTF::String title, CoreIPC::DataReference backForwardData)31 AddBackForwardItem(uint64_t itemID, String originalURL, String url, String title, CoreIPC::DataReference backForwardData) 32 32 DidDestroyFrame(uint64_t frameID) 33 33 -
trunk/Source/WebKit2/WebProcess/Cookies/WebCookieManager.messages.in
r141711 r160022 26 26 messages -> WebCookieManager { 27 27 void GetHostnamesWithCookies(uint64_t callbackID) 28 void DeleteCookiesForHostname( WTF::String hostname)28 void DeleteCookiesForHostname(String hostname) 29 29 void DeleteAllCookies() 30 30 … … 36 36 37 37 #if USE(SOUP) 38 SetCookiePersistentStorage( WTF::String storagePath, uint32_t storageType)38 SetCookiePersistentStorage(String storagePath, uint32_t storageType) 39 39 #endif 40 40 } -
trunk/Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.messages.in
r159724 r160022 23 23 messages -> WebGeolocationManager { 24 24 DidChangePosition(WebKit::WebGeolocationPosition::Data position); 25 DidFailToDeterminePosition( WTF::String errorMessage);25 DidFailToDeterminePosition(String errorMessage); 26 26 #if PLATFORM(IOS) 27 27 ResetPermissions(); -
trunk/Source/WebKit2/WebProcess/MediaCache/WebMediaCacheManager.messages.in
r140607 r160022 23 23 messages -> WebMediaCacheManager { 24 24 void GetHostnamesWithMediaCache(uint64_t callbackID) 25 void ClearCacheForHostname( WTF::String hostname)25 void ClearCacheForHostname(String hostname) 26 26 void ClearCacheForAllHostnames() 27 27 } -
trunk/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.messages.in
r140607 r160022 25 25 DidClickNotification(uint64_t notificationID); 26 26 DidCloseNotifications(Vector<uint64_t> notificationIDs); 27 DidUpdateNotificationDecision( WTF::String originString, bool allowed);28 DidRemoveNotificationDecisions(Vector< WTF::String> originStrings);27 DidUpdateNotificationDecision(String originString, bool allowed); 28 DidRemoveNotificationDecisions(Vector<String> originStrings); 29 29 } -
trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnection.messages.in
r156069 r160022 25 25 messages -> PluginProcessConnection LegacyReceiver { 26 26 # Set a global JavaScript exception. 27 SetException( WTF::String exceptionString) -> ()27 SetException(String exceptionString) -> () 28 28 } 29 29 -
trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.messages.in
r156069 r160022 25 25 messages -> PluginProxy LegacyReceiver { 26 26 # Asks the web process to load a URL. 27 LoadURL(uint64_t requestID, WTF::String method, WTF::String urlString, WTF::String target, WebCore::HTTPHeaderMap headerFields, Vector<uint8_t> httpBody, bool allowPopups);27 LoadURL(uint64_t requestID, String method, String urlString, String target, WebCore::HTTPHeaderMap headerFields, Vector<uint8_t> httpBody, bool allowPopups); 28 28 29 29 # Called when the plug-in has painted into its backing store. The painted rect is in plug-in coordinates. … … 31 31 32 32 # Returns a PAC style string with proxies for the given URL. 33 ProxiesForURL( WTF::String urlString) -> (WTF::String proxiesString)33 ProxiesForURL(String urlString) -> (String proxiesString) 34 34 35 35 # Returns the cookies for the given URL. 36 CookiesForURL( WTF::String urlString) -> (WTF::String cookieString)36 CookiesForURL(String urlString) -> (String cookieString) 37 37 38 38 # Sets the cookies for the given URL. 39 SetCookiesForURL( WTF::String urlString, WTF::String cookieString)39 SetCookiesForURL(String urlString, String cookieString) 40 40 41 41 # Gets the authentication info for the given protection space. 42 GetAuthenticationInfo(WebCore::ProtectionSpace protectionSpace) -> (bool returnValue, WTF::String username, WTF::String password)42 GetAuthenticationInfo(WebCore::ProtectionSpace protectionSpace) -> (bool returnValue, String username, String password) 43 43 44 44 # Gets a reference to the plug-in element NPObject. … … 46 46 47 47 # Evaluates the given JavaScript string. 48 Evaluate(WebKit::NPVariantData npObjectAsVariantData, WTF::String scriptString, bool allowPopups) -> (bool returnValue, WebKit::NPVariantData resultData)48 Evaluate(WebKit::NPVariantData npObjectAsVariantData, String scriptString, bool allowPopups) -> (bool returnValue, WebKit::NPVariantData resultData) 49 49 50 50 # Cancels the given stream load. … … 55 55 56 56 # Set the status bar text. 57 SetStatusbarText( WTF::String statusbarText)57 SetStatusbarText(String statusbarText) 58 58 59 59 #if PLATFORM(MAC) -
trunk/Source/WebKit2/WebProcess/Storage/StorageAreaMap.messages.in
r150304 r160022 23 23 messages -> StorageAreaMap { 24 24 DidGetValues(uint64_t storageMapSeed) 25 DidSetItem(uint64_t storageMapSeed, WTF::String key, bool quotaException)26 DidRemoveItem(uint64_t storageMapSeed, WTF::String key)25 DidSetItem(uint64_t storageMapSeed, String key, bool quotaException) 26 DidRemoveItem(uint64_t storageMapSeed, String key) 27 27 DidClear(uint64_t storageMapSeed) 28 28 29 DispatchStorageEvent(uint64_t sourceStorageAreaID, WTF::String key, WTF::String oldValue, WTF::String newValue, WTF::String urlString)29 DispatchStorageEvent(uint64_t sourceStorageAreaID, String key, String oldValue, String newValue, String urlString) 30 30 ClearCache() 31 31 } -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
r141711 r160022 26 26 void GetDatabasesByOrigin(uint64_t callbackID) 27 27 void GetDatabaseOrigins(uint64_t callbackID) 28 void DeleteDatabaseWithNameForOrigin( WTF::String databaseIdentifier, WTF::String originIdentifier)29 void DeleteDatabasesForOrigin( WTF::String originIdentifier)28 void DeleteDatabaseWithNameForOrigin(String databaseIdentifier, String originIdentifier) 29 void DeleteDatabasesForOrigin(String originIdentifier) 30 30 void DeleteAllDatabases() 31 void SetQuotaForOrigin( WTF::String originIdentifier, uint64_t quota)31 void SetQuotaForOrigin(String originIdentifier, uint64_t quota) 32 32 } 33 33 -
trunk/Source/WebKit2/WebProcess/WebPage/WebInspector.messages.in
r149923 r160022 29 29 AttachedRight() 30 30 Detached() 31 DidSave( WTF::String url)32 DidAppend( WTF::String url)31 DidSave(String url) 32 DidAppend(String url) 33 33 ShowConsole() 34 34 ShowResources() … … 42 42 43 43 #if ENABLE(INSPECTOR_SERVER) 44 DispatchMessageFromRemoteFrontend( WTF::String message)44 DispatchMessageFromRemoteFrontend(String message) 45 45 RemoteFrontendConnected() 46 46 RemoteFrontendDisconnected() -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in
r159876 r160022 72 72 TryRestoreScrollPosition() 73 73 74 LoadURL( WTF::String url, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::WebContextUserMessageEncoder userData) Variadic75 LoadURLInFrame( WTF::String url, uint64_t frameID)74 LoadURL(String url, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::WebContextUserMessageEncoder userData) Variadic 75 LoadURLInFrame(String url, uint64_t frameID) 76 76 LoadURLRequest(WebCore::ResourceRequest request, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::WebContextUserMessageEncoder userData) Variadic 77 LoadData(CoreIPC::DataReference data, WTF::String MIMEType, WTF::String encoding, WTF::String baseURL, WebKit::WebContextUserMessageEncoder userData) Variadic78 LoadHTMLString( WTF::String htmlString, WTF::String baseURL, WebKit::WebContextUserMessageEncoder userData) Variadic79 LoadAlternateHTMLString( WTF::String htmlString, WTF::String baseURL, WTF::String unreachableURL, WebKit::WebContextUserMessageEncoder userData) Variadic80 LoadPlainTextString( WTF::String string, WebKit::WebContextUserMessageEncoder userData) Variadic77 LoadData(CoreIPC::DataReference data, String MIMEType, String encoding, String baseURL, WebKit::WebContextUserMessageEncoder userData) Variadic 78 LoadHTMLString(String htmlString, String baseURL, WebKit::WebContextUserMessageEncoder userData) Variadic 79 LoadAlternateHTMLString(String htmlString, String baseURL, String unreachableURL, WebKit::WebContextUserMessageEncoder userData) Variadic 80 LoadPlainTextString(String string, WebKit::WebContextUserMessageEncoder userData) Variadic 81 81 LoadWebArchiveData(CoreIPC::DataReference webArchiveData, WebKit::WebContextUserMessageEncoder userData) Variadic 82 82 83 LinkClicked( WTF::String url, WebKit::WebMouseEvent event)83 LinkClicked(String url, WebKit::WebMouseEvent event) 84 84 85 85 Reload(bool reloadFromOrigin, WebKit::SandboxExtension::Handle sandboxExtensionHandle) … … 104 104 #endif 105 105 GetMainResourceDataOfFrame(uint64_t frameID, uint64_t callbackID) 106 GetResourceDataFromFrame(uint64_t frameID, WTF::String resourceURL, uint64_t callbackID)106 GetResourceDataFromFrame(uint64_t frameID, String resourceURL, uint64_t callbackID) 107 107 GetRenderTreeExternalRepresentation(uint64_t callbackID) 108 108 GetSelectionOrContentsAsString(uint64_t callbackID) … … 110 110 GetSourceForFrame(uint64_t frameID, uint64_t callbackID) 111 111 GetWebArchiveOfFrame(uint64_t frameID, uint64_t callbackID) 112 RunJavaScriptInMainFrame( WTF::String script, uint64_t callbackID)112 RunJavaScriptInMainFrame(String script, uint64_t callbackID) 113 113 ForceRepaint(uint64_t callbackID) 114 114 … … 120 120 PreferencesDidChange(WebKit::WebPreferencesStore store) 121 121 122 SetUserAgent( WTF::String userAgent)123 SetCustomTextEncodingName( WTF::String encodingName)122 SetUserAgent(String userAgent) 123 SetCustomTextEncodingName(String encodingName) 124 124 125 125 SuspendActiveDOMObjectsAndAnimations() … … 129 129 TryClose() 130 130 131 ValidateCommand( WTF::String name, uint64_t callbackID)132 ExecuteEditCommand( WTF::String name)131 ValidateCommand(String name, uint64_t callbackID) 132 ExecuteEditCommand(String name) 133 133 134 134 DidRemoveEditCommand(uint64_t commandID) … … 153 153 SetGapBetweenPages(double gap) 154 154 155 PostInjectedBundleMessage( WTF::String messageName, WebKit::WebContextUserMessageEncoder messageBody) Variadic155 PostInjectedBundleMessage(String messageName, WebKit::WebContextUserMessageEncoder messageBody) Variadic 156 156 157 157 # Find. 158 FindString( WTF::String string, uint32_t findOptions, unsigned maxMatchCount)159 FindStringMatches( WTF::String string, uint32_t findOptions, unsigned maxMatchCount)158 FindString(String string, uint32_t findOptions, unsigned maxMatchCount) 159 FindStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount) 160 160 GetImageForFindMatch(uint32_t matchIndex) 161 161 SelectFindMatch(uint32_t matchIndex) 162 162 HideFindUI() 163 CountStringMatches( WTF::String string, uint32_t findOptions, unsigned maxMatchCount)163 CountStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount) 164 164 165 165 # Drag and drop. … … 168 168 #endif 169 169 #if !PLATFORM(GTK) && ENABLE(DRAG_SUPPORT) 170 PerformDragControllerAction(uint64_t action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, WTF::String dragStorageName, uint32_t flags, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::SandboxExtension::HandleArray sandboxExtensionsForUpload)170 PerformDragControllerAction(uint64_t action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, String dragStorageName, uint32_t flags, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::SandboxExtension::HandleArray sandboxExtensionsForUpload) 171 171 #endif 172 172 #if ENABLE(DRAG_SUPPORT) … … 187 187 188 188 # Open panel. 189 DidChooseFilesForOpenPanel(Vector< WTF::String> fileURLs)189 DidChooseFilesForOpenPanel(Vector<String> fileURLs) 190 190 DidCancelForOpenPanel() 191 191 #if ENABLE(WEB_PROCESS_SANDBOX) … … 195 195 # Spelling and grammar. 196 196 AdvanceToNextMisspelling(bool startBeforeSelection) 197 ChangeSpellingToWord( WTF::String word)197 ChangeSpellingToWord(String word) 198 198 DidFinishCheckingText(uint64_t requestID, Vector<WebCore::TextCheckingResult> result) 199 199 DidCancelCheckingText(uint64_t requestID) … … 243 243 244 244 #if PLATFORM(EFL) 245 SetThemePath( WTF::String themePath)245 SetThemePath(String themePath) 246 246 #endif 247 247 … … 251 251 252 252 #if PLATFORM(GTK) 253 SetComposition( WTF::String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)254 ConfirmComposition( WTF::String text, int64_t selectionStart, int64_t selectionLength)253 SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) 254 ConfirmComposition(String text, int64_t selectionStart, int64_t selectionLength) 255 255 CancelComposition() 256 256 #endif … … 264 264 SetMainFrameIsScrollable(bool isScrollable) 265 265 RegisterUIProcessAccessibilityTokens(CoreIPC::DataReference elemenToken, CoreIPC::DataReference windowToken) 266 GetStringSelectionForPasteboard() -> ( WTF::String stringValue)267 GetDataSelectionForPasteboard( WTF::String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)268 ReadSelectionFromPasteboard( WTF::String pasteboardName) -> (bool result)266 GetStringSelectionForPasteboard() -> (String stringValue) 267 GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) 268 ReadSelectionFromPasteboard(String pasteboardName) -> (bool result) 269 269 270 270 # Text input. 271 SetComposition( WTF::String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) -> (WebKit::EditorState newState)271 SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) -> (WebKit::EditorState newState) 272 272 ConfirmComposition() -> (WebKit::EditorState newState) 273 273 CancelComposition() -> (WebKit::EditorState newState) 274 InsertText( WTF::String text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) -> (bool handled, WebKit::EditorState newState)274 InsertText(String text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) -> (bool handled, WebKit::EditorState newState) 275 275 GetMarkedRange() -> (uint64_t location, uint64_t length) 276 276 GetSelectedRange() -> (uint64_t location, uint64_t length) … … 281 281 ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result) 282 282 AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result) 283 InsertDictatedText( WTF::String text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd, Vector<WebCore::DictationAlternative> dictationAlternatives) -> (bool handled, WebKit::EditorState newState)283 InsertDictatedText(String text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd, Vector<WebCore::DictationAlternative> dictationAlternatives) -> (bool handled, WebKit::EditorState newState) 284 284 #endif 285 285 … … 288 288 289 289 #if PLATFORM(EFL) 290 ConfirmComposition( WTF::String compositionString)291 SetComposition( WTF::String compositionString, Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition)290 ConfirmComposition(String compositionString) 291 SetComposition(String compositionString, Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition) 292 292 CancelComposition() 293 293 #endif -
trunk/Source/WebKit2/WebProcess/WebProcess.messages.in
r159765 r160022 36 36 SetShouldTrackVisitedLinks(bool shouldTrackVisitedLinks) 37 37 SetCacheModel(uint32_t cacheModel) 38 RegisterURLSchemeAsEmptyDocument( WTF::String scheme)39 RegisterURLSchemeAsSecure( WTF::String scheme)40 SetDomainRelaxationForbiddenForURLScheme( WTF::String scheme)41 RegisterURLSchemeAsLocal( WTF::String scheme)42 RegisterURLSchemeAsNoAccess( WTF::String scheme)43 RegisterURLSchemeAsDisplayIsolated( WTF::String scheme)44 RegisterURLSchemeAsCORSEnabled( WTF::String scheme)38 RegisterURLSchemeAsEmptyDocument(String scheme) 39 RegisterURLSchemeAsSecure(String scheme) 40 SetDomainRelaxationForbiddenForURLScheme(String scheme) 41 RegisterURLSchemeAsLocal(String scheme) 42 RegisterURLSchemeAsNoAccess(String scheme) 43 RegisterURLSchemeAsDisplayIsolated(String scheme) 44 RegisterURLSchemeAsCORSEnabled(String scheme) 45 45 SetDefaultRequestTimeoutInterval(double timeoutInterval) 46 46 SetAlwaysUsesComplexTextCodePath(bool alwaysUseComplexText) 47 47 SetShouldUseFontSmoothing(bool useFontSmoothing) 48 UserPreferredLanguagesChanged(Vector< WTF::String> languages)48 UserPreferredLanguagesChanged(Vector<String> languages) 49 49 FullKeyboardAccessModeChanged(bool fullKeyboardAccessEnabled) 50 50 #if USE(SOUP) … … 60 60 ResetPlugInAutoStartOriginHashes(HashMap<uint32_t,double> hashes) 61 61 62 void StartMemorySampler(WebKit::SandboxExtension::Handle sampleLogFileHandle, WTF::String sampleLogFilePath, double interval);62 void StartMemorySampler(WebKit::SandboxExtension::Handle sampleLogFileHandle, String sampleLogFilePath, double interval); 63 63 void StopMemorySampler(); 64 64 … … 85 85 86 86 #if !ENABLE(NETWORK_PROCESS) && USE(SOUP) 87 AllowSpecificHTTPSCertificateForHost(WebKit::CertificateInfo certificate, WTF::String host)87 AllowSpecificHTTPSCertificateForHost(WebKit::CertificateInfo certificate, String host) 88 88 #endif 89 89 } -
trunk/Source/WebKit2/WebProcess/soup/WebSoupRequestManager.messages.in
r149642 r160022 22 22 23 23 messages -> WebSoupRequestManager { 24 RegisterURIScheme( WTF::String uriScheme);25 DidHandleURIRequest(CoreIPC::DataReference requestData, uint64_t contentLength, WTF::String mimeType, uint64_t requestID);24 RegisterURIScheme(String uriScheme); 25 DidHandleURIRequest(CoreIPC::DataReference requestData, uint64_t contentLength, String mimeType, uint64_t requestID); 26 26 DidReceiveURIRequestData(CoreIPC::DataReference requestData, uint64_t requestID); 27 27 DidFailURIRequest(WebCore::ResourceError error, uint64_t requestID);
Note: See TracChangeset
for help on using the changeset viewer.