/external/webkit/Source/WebKit/gtk/webkit/ |
H A D | webkitglobals.cpp | 52 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 D | WebPreferences.h | 411 @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 D | WebPreferences.mm | 118 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 D | WebViewInternal.h | 112 + (void)_setCacheModel:(WebCacheModel)cacheModel;
|
H A D | WebView.mm | 5521 + (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 D | WebCache.mm | 115 WebCacheModel cacheModel = [WebView _cacheModel]; 117 [WebView _setCacheModel:cacheModel];
|
/external/webkit/Source/WebKit2/Shared/ |
H A D | WebProcessCreationParameters.h | 65 CacheModel cacheModel; member in struct:WebKit::WebProcessCreationParameters
|
H A D | WebProcessCreationParameters.cpp | 57 encoder->encodeEnum(cacheModel); 104 if (!decoder->decodeEnum(parameters.cacheModel))
|
/external/webkit/Source/WebKit2/WebProcess/ |
H A D | WebProcess.cpp | 201 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 D | WebProcess.h | 145 static void calculateCacheSizes(CacheModel cacheModel, uint64_t memorySize, uint64_t diskFreeSize,
|
/external/webkit/Source/WebKit2/WebProcess/win/ |
H A D | WebProcessWin.cpp | 69 void WebProcess::platformSetCacheModel(CacheModel cacheModel) argument 89 calculateCacheSizes(cacheModel, memSize, diskFreeSize,
|
/external/webkit/Source/WebKit2/UIProcess/API/C/ |
H A D | WKContext.cpp | 116 void WKContextSetCacheModel(WKContextRef contextRef, WKCacheModel cacheModel) argument 118 toImpl(contextRef)->setCacheModel(toCacheModel(cacheModel)); 123 return toAPI(toImpl(contextRef)->cacheModel());
|
H A D | WKAPICast.h | 130 inline WKCacheModel toAPI(CacheModel cacheModel) argument 132 switch (cacheModel) {
|
H A D | WKContext.h | 119 WK_EXPORT void WKContextSetCacheModel(WKContextRef context, WKCacheModel cacheModel);
|
/external/webkit/Source/WebKit/win/Interfaces/ |
H A D | IWebPreferences.idl | 188 HRESULT cacheModel([out, retval] WebCacheModel* cacheModel); 189 HRESULT setCacheModel([in] WebCacheModel cacheModel);
|
/external/webkit/Source/WebKit2/WebProcess/mac/ |
H A D | WebProcessMac.mm | 80 void WebProcess::platformSetCacheModel(CacheModel cacheModel) 99 calculateCacheSizes(cacheModel, memSize, diskFreeSize,
|
/external/webkit/Source/WebKit/win/ |
H A D | WebView.cpp | 236 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 D | WebPreferences.h | 277 virtual HRESULT STDMETHODCALLTYPE cacheModel( 278 /* [retval][out] */ WebCacheModel* cacheModel); 281 /* [in] */ WebCacheModel cacheModel);
|
H A D | WebPreferences.cpp | 1247 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 D | WebFrame.cpp | 1957 WebCacheModel cacheModel; 1958 if (FAILED(preferences->cacheModel(&cacheModel))) 1961 if (automaticallyDetectsCacheModel && cacheModel < WebCacheModelDocumentBrowser)
|
/external/webkit/Source/WebKit2/UIProcess/ |
H A D | WebContext.cpp | 233 parameters.cacheModel = m_cacheModel; 491 void WebContext::setCacheModel(CacheModel cacheModel) argument 493 m_cacheModel = cacheModel;
|
H A D | WebContext.h | 124 CacheModel cacheModel() const { return m_cacheModel; } function in class:WebKit::WebContext
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
H A D | LayoutTestControllerGtk.cpp | 616 void LayoutTestController::setCacheModel(int cacheModel) argument 619 switch (cacheModel) {
|
/external/webkit/Tools/DumpRenderTree/mac/ |
H A D | LayoutTestControllerMac.mm | 705 void LayoutTestController::setCacheModel(int cacheModel) 707 [[WebPreferences standardPreferences] setCacheModel:cacheModel];
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
H A D | FrameLoaderClientGtk.cpp | 760 WebKitCacheModel cacheModel = webkit_get_cache_model(); local 762 if (cacheModel == WEBKIT_CACHE_MODEL_DEFAULT)
|