Searched refs:cacheModel (Results 1 - 25 of 28) sorted by relevance

12

/external/webkit/Source/WebKit/gtk/webkit/
H A Dwebkitglobals.cpp52 static WebKitCacheModel cacheModel = WEBKIT_CACHE_MODEL_DEFAULT; variable
112 if (cacheModel == model)
156 cacheModel = model;
173 return cacheModel;
/external/webkit/Source/WebKit/mac/WebView/
H A DWebPreferences.h411 @param cacheModel The WebView's usage model for WebKit. If necessary, WebKit
412 will prune its caches to match cacheModel.
428 - (void)setCacheModel:(WebCacheModel)cacheModel;
431 @method cacheModel:
438 - (WebCacheModel)cacheModel;
H A DWebPreferences.mm118 WebCacheModel cacheModel;
122 cacheModel = WebCacheModelDocumentViewer;
124 cacheModel = WebCacheModelDocumentBrowser;
126 cacheModel = WebCacheModelPrimaryWebBrowser;
130 cacheModel = WebCacheModelDocumentBrowser; // To avoid regressions in apps that depended on old WebKit's large cache.
132 cacheModel = WebCacheModelDocumentViewer; // To save memory.
137 return cacheModel;
796 - (void)setCacheModel:(WebCacheModel)cacheModel
798 [self _setIntegerValue:cacheModel forKey:WebKitCacheModelPreferenceKey];
802 - (WebCacheModel)cacheModel
[all...]
H A DWebViewInternal.h112 + (void)_setCacheModel:(WebCacheModel)cacheModel;
H A DWebView.mm5521 + (void)_setCacheModel:(WebCacheModel)cacheModel
5523 if (s_didSetCacheModel && cacheModel == s_cacheModel)
5544 switch (cacheModel) {
5698 s_cacheModel = cacheModel;
5714 WebCacheModel cacheModel = WebCacheModelDocumentViewer;
5717 cacheModel = max(cacheModel, [preferences cacheModel]);
5718 return cacheModel;
5726 WebCacheModel cacheModel
[all...]
/external/webkit/Source/WebKit/mac/Misc/
H A DWebCache.mm115 WebCacheModel cacheModel = [WebView _cacheModel];
117 [WebView _setCacheModel:cacheModel];
/external/webkit/Source/WebKit2/Shared/
H A DWebProcessCreationParameters.h65 CacheModel cacheModel; member in struct:WebKit::WebProcessCreationParameters
H A DWebProcessCreationParameters.cpp57 encoder->encodeEnum(cacheModel);
104 if (!decoder->decodeEnum(parameters.cacheModel))
/external/webkit/Source/WebKit2/WebProcess/
H A DWebProcess.cpp201 setCacheModel(static_cast<uint32_t>(parameters.cacheModel));
323 CacheModel cacheModel = static_cast<CacheModel>(cm); local
325 if (!m_hasSetCacheModel || cacheModel != m_cacheModel) {
327 m_cacheModel = cacheModel;
328 platformSetCacheModel(cacheModel);
332 void WebProcess::calculateCacheSizes(CacheModel cacheModel, uint64_t memorySize, uint64_t diskFreeSize, argument
336 switch (cacheModel) {
718 CacheModel cacheModel = m_cacheModel; local
720 setCacheModel(cacheModel);
H A DWebProcess.h145 static void calculateCacheSizes(CacheModel cacheModel, uint64_t memorySize, uint64_t diskFreeSize,
/external/webkit/Source/WebKit2/WebProcess/win/
H A DWebProcessWin.cpp69 void WebProcess::platformSetCacheModel(CacheModel cacheModel) argument
89 calculateCacheSizes(cacheModel, memSize, diskFreeSize,
/external/webkit/Source/WebKit2/UIProcess/API/C/
H A DWKContext.cpp116 void WKContextSetCacheModel(WKContextRef contextRef, WKCacheModel cacheModel) argument
118 toImpl(contextRef)->setCacheModel(toCacheModel(cacheModel));
123 return toAPI(toImpl(contextRef)->cacheModel());
H A DWKAPICast.h130 inline WKCacheModel toAPI(CacheModel cacheModel) argument
132 switch (cacheModel) {
H A DWKContext.h119 WK_EXPORT void WKContextSetCacheModel(WKContextRef context, WKCacheModel cacheModel);
/external/webkit/Source/WebKit/win/Interfaces/
H A DIWebPreferences.idl188 HRESULT cacheModel([out, retval] WebCacheModel* cacheModel);
189 HRESULT setCacheModel([in] WebCacheModel cacheModel);
/external/webkit/Source/WebKit2/WebProcess/mac/
H A DWebProcessMac.mm80 void WebProcess::platformSetCacheModel(CacheModel cacheModel)
99 calculateCacheSizes(cacheModel, memSize, diskFreeSize,
/external/webkit/Source/WebKit/win/
H A DWebView.cpp236 WebCacheModel cacheModel;
237 hr = preferences->cacheModel(&cacheModel);
249 return notifyPreferencesChanged(cacheModel);
252 return notifyPreferencesRemoved(cacheModel);
258 HRESULT PreferencesChangedOrRemovedObserver::notifyPreferencesChanged(WebCacheModel cacheModel) argument
262 if (!WebView::didSetCacheModel() || cacheModel > WebView::cacheModel())
263 WebView::setCacheModel(cacheModel);
264 else if (cacheModel < WebVie
275 notifyPreferencesRemoved(WebCacheModel cacheModel) argument
440 setCacheModel(WebCacheModel cacheModel) argument
621 WebCacheModel WebView::cacheModel() function in class:WebView
633 WebCacheModel cacheModel = WebCacheModelDocumentViewer; local
[all...]
H A DWebPreferences.h277 virtual HRESULT STDMETHODCALLTYPE cacheModel(
278 /* [retval][out] */ WebCacheModel* cacheModel);
281 /* [in] */ WebCacheModel cacheModel);
H A DWebPreferences.cpp1247 HRESULT WebPreferences::cacheModel(WebCacheModel* cacheModel) argument
1249 if (!cacheModel)
1252 *cacheModel = (WebCacheModel)integerValueForKey(CFSTR(WebKitCacheModelPreferenceKey));
1256 HRESULT WebPreferences::setCacheModel(WebCacheModel cacheModel) argument
1258 setIntegerValue(CFSTR(WebKitCacheModelPreferenceKey), cacheModel); local
H A DWebFrame.cpp1957 WebCacheModel cacheModel;
1958 if (FAILED(preferences->cacheModel(&cacheModel)))
1961 if (automaticallyDetectsCacheModel && cacheModel < WebCacheModelDocumentBrowser)
/external/webkit/Source/WebKit2/UIProcess/
H A DWebContext.cpp233 parameters.cacheModel = m_cacheModel;
491 void WebContext::setCacheModel(CacheModel cacheModel) argument
493 m_cacheModel = cacheModel;
H A DWebContext.h124 CacheModel cacheModel() const { return m_cacheModel; } function in class:WebKit::WebContext
/external/webkit/Tools/DumpRenderTree/gtk/
H A DLayoutTestControllerGtk.cpp616 void LayoutTestController::setCacheModel(int cacheModel) argument
619 switch (cacheModel) {
/external/webkit/Tools/DumpRenderTree/mac/
H A DLayoutTestControllerMac.mm705 void LayoutTestController::setCacheModel(int cacheModel)
707 [[WebPreferences standardPreferences] setCacheModel:cacheModel];
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
H A DFrameLoaderClientGtk.cpp760 WebKitCacheModel cacheModel = webkit_get_cache_model(); local
762 if (cacheModel == WEBKIT_CACHE_MODEL_DEFAULT)

Completed in 1199 milliseconds

12