1 # Copyright (C) 2010 Apple Inc. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions
6 # 1. Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer.
8 # 2. Redistributions in binary form must reproduce the above copyright
9 # notice, this list of conditions and the following disclaimer in the
10 # documentation and/or other materials provided with the distribution.
12 # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
13 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15 # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
16 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
18 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
19 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
20 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 messages -> WebProcess LegacyReceiver {
24 # Initialize the WebProcess.
25 InitializeWebProcess(WebKit::WebProcessCreationParameters processCreationParameters, WebKit::WebContextUserMessageEncoder initializationUserData) Variadic
28 CreateWebPage(uint64_t newPageID, WebKit::WebPageCreationParameters pageCreationParameters)
31 SetCacheModel(uint32_t cacheModel)
32 RegisterURLSchemeAsEmptyDocument(String scheme)
33 RegisterURLSchemeAsSecure(String scheme)
34 SetDomainRelaxationForbiddenForURLScheme(String scheme)
35 RegisterURLSchemeAsLocal(String scheme)
36 RegisterURLSchemeAsNoAccess(String scheme)
37 RegisterURLSchemeAsDisplayIsolated(String scheme)
38 RegisterURLSchemeAsCORSEnabled(String scheme)
39 #if ENABLE(CACHE_PARTITIONING)
40 RegisterURLSchemeAsCachePartitioned(String scheme)
42 SetDefaultRequestTimeoutInterval(double timeoutInterval)
43 SetAlwaysUsesComplexTextCodePath(bool alwaysUseComplexText)
44 SetShouldUseFontSmoothing(bool useFontSmoothing)
45 UserPreferredLanguagesChanged(Vector<String> languages)
46 FullKeyboardAccessModeChanged(bool fullKeyboardAccessEnabled)
48 SetIgnoreTLSErrors(bool ignoreTLSErrors)
51 // Legacy private browsing session is per process. Individual pages or page groups may use the private session or the default one as appropriate.
52 EnsurePrivateBrowsingSession(WebCore::SessionID sessionID)
53 DestroyPrivateBrowsingSession(WebCore::SessionID sessionID)
56 DidAddPlugInAutoStartOriginHash(uint32_t hash, double expirationTime, WebCore::SessionID sessionID)
57 ResetPlugInAutoStartOriginDefaultHashes(HashMap<uint32_t,double> hashes)
58 ResetPlugInAutoStartOriginHashes(HashMap<WebCore::SessionID, HashMap<uint32_t,double>> hashes)
60 void StartMemorySampler(WebKit::SandboxExtension::Handle sampleLogFileHandle, String sampleLogFilePath, double interval);
61 void StopMemorySampler();
63 # Downloads. This should really be in a Download.messages.in, but it seemed unnecessary to create a new file just for
65 DownloadRequest(uint64_t downloadID, uint64_t initiatingPageID, WebCore::ResourceRequest request)
66 CancelDownload(uint64_t downloadID)
68 SetTextCheckerState(WebKit::TextCheckerState textCheckerState)
70 SetEnhancedAccessibility(bool flag)
72 GetWebCoreStatistics(uint64_t callbackID)
73 GarbageCollectJavaScriptObjects()
74 SetJavaScriptGarbageCollectorTimerEnabled(bool enable)
76 SetInjectedBundleParameter(String parameter, IPC::DataReference value);
77 PostInjectedBundleMessage(IPC::DataReference messageData);
81 SetProcessSuppressionEnabled(bool flag)
83 SetQOS(int latencyQOS, int throughputQOS)
87 AllowSpecificHTTPSCertificateForHost(WebCore::CertificateInfo certificate, String host)
90 SetMemoryCacheDisabled(bool disabled);
92 #if ENABLE(SERVICE_CONTROLS)
93 SetEnabledServices(bool hasImageServices, bool hasSelectionServices, bool hasRichContentServices)
97 CancelProcessWillSuspend()