Lines Matching defs:WebContext
27 #include "WebContext.h"
71 static WTF::RefCountedLeakCounter webContextCounter("WebContext");
74 WebContext* WebContext::sharedProcessContext()
78 static WebContext* context = adoptRef(new WebContext(ProcessModelSharedSecondaryProcess, String())).leakRef();
82 WebContext* WebContext::sharedThreadContext()
85 static WebContext* context = adoptRef(new WebContext(ProcessModelSharedSecondaryThread, String())).leakRef();
89 PassRefPtr<WebContext> WebContext::create(const String& injectedBundlePath)
93 return adoptRef(new WebContext(ProcessModelSecondaryProcess, injectedBundlePath));
96 static Vector<WebContext*>& contexts()
98 DEFINE_STATIC_LOCAL(Vector<WebContext*>, contexts, ());
103 const Vector<WebContext*>& WebContext::allContexts()
108 WebContext::WebContext(ProcessModel processModel, const String& injectedBundlePath)
147 WebContext::~WebContext()
188 void WebContext::initializeInjectedBundleClient(const WKContextInjectedBundleClient* client)
193 void WebContext::initializeHistoryClient(const WKContextHistoryClient* client)
200 void WebContext::initializeDownloadClient(const WKContextDownloadClient* client)
205 void WebContext::languageChanged(void* context)
207 static_cast<WebContext*>(context)->languageChanged();
210 void WebContext::languageChanged()
215 void WebContext::ensureWebProcess()
266 void WebContext::enableProcessTermination()
273 bool WebContext::shouldTerminate(WebProcessProxy* process)
302 void WebContext::processDidFinishLaunching(WebProcessProxy* process)
321 void WebContext::disconnectProcess(WebProcessProxy* process)
354 PassRefPtr<WebPageProxy> WebContext::createWebPage(PageClient* pageClient, WebPageGroup* pageGroup)
364 WebProcessProxy* WebContext::relaunchProcessIfNecessary()
372 DownloadProxy* WebContext::download(WebPageProxy* initiatingPage, const ResourceRequest& request)
381 void WebContext::postMessageToInjectedBundle(const String& messageName, APIObject* messageBody)
395 void WebContext::didReceiveMessageFromInjectedBundle(const String& messageName, APIObject* messageBody)
400 void WebContext::didReceiveSynchronousMessageFromInjectedBundle(const String& messageName, APIObject* messageBody, RefPtr<APIObject>& returnData)
407 void WebContext::didNavigateWithNavigationData(uint64_t pageID, const WebNavigationDataStore& store, uint64_t frameID)
417 void WebContext::didPerformClientRedirect(uint64_t pageID, const String& sourceURLString, const String& destinationURLString, uint64_t frameID)
427 void WebContext::didPerformServerRedirect(uint64_t pageID, const String& sourceURLString, const String& destinationURLString, uint64_t frameID)
437 void WebContext::didUpdateHistoryTitle(uint64_t pageID, const String& title, const String& url, uint64_t frameID)
447 void WebContext::populateVisitedLinks()
452 WebContext::Statistics& WebContext::statistics()
459 void WebContext::setAdditionalPluginsDirectory(const String& directory)
467 void WebContext::setAlwaysUsesComplexTextCodePath(bool alwaysUseComplexText)
473 WebContext::registerURLSchemeAsEmptyDocument(const String& urlScheme)
479 void WebContext::registerURLSchemeAsSecure(const String& urlScheme)
485 void WebContext::setDomainRelaxationForbiddenForURLScheme(const String& urlScheme)
491 void WebContext::setCacheModel(CacheModel cacheModel)
497 void WebContext::setDefaultRequestTimeoutInterval(double timeoutInterval)
502 void WebContext::addVisitedLink(const String& visitedURL)
511 void WebContext::addVisitedLinkHash(LinkHash linkHash)
516 void WebContext::getPlugins(bool refresh, Vector<PluginInfo>& plugins)
523 void WebContext::getPluginPath(const String& mimeType, const String& urlString, String& pluginPath)
535 void WebContext::didGetSitesWithPluginData(const Vector<String>& sites, uint64_t callbackID)
540 void WebContext::didClearPluginSiteData(uint64_t callbackID)
546 DownloadProxy* WebContext::createDownloadProxy()
553 void WebContext::downloadFinished(DownloadProxy* downloadProxy)
562 HashSet<String, CaseFoldingHash> WebContext::pdfAndPostScriptMIMETypes()
573 void WebContext::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageID messageID, CoreIPC::ArgumentDecoder* arguments)
645 CoreIPC::SyncReplyMode WebContext::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageID messageID, CoreIPC::ArgumentDecoder* arguments, CoreIPC::ArgumentEncoder* reply)
682 void WebContext::setEnhancedAccessibility(bool flag)
687 void WebContext::startMemorySampler(const double interval)
707 void WebContext::stopMemorySampler()
720 String WebContext::databaseDirectory() const
728 void WebContext::setIconDatabasePath(const String& path)
734 String WebContext::iconDatabasePath() const
742 String WebContext::localStorageDirectory() const
750 void WebContext::setHTTPPipeliningEnabled(bool enabled)
757 bool WebContext::httpPipeliningEnabled()