mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 9cedf753 (#418732)
- Simplify usage of OnBeforePluginLoad (issue #2015) - Switch crash reporting from crashpad to breakpad on Windows and OS X. Adds a new chrome_elf.dll dependency on Windows (issue #1995) - Remove CefTextfield::GetPlaceholderTextColor() method which is no longer supported by Chromium.
This commit is contained in:
@@ -124,3 +124,33 @@ ChromeZoomLevelPrefs* CefBrowserContext::GetZoomLevelPrefs() {
|
||||
return static_cast<ChromeZoomLevelPrefs*>(
|
||||
GetStoragePartition(this, NULL)->GetZoomLevelDelegate());
|
||||
}
|
||||
|
||||
void CefBrowserContext::OnRenderFrameDeleted(int render_process_id,
|
||||
int render_frame_id,
|
||||
bool is_main_frame,
|
||||
bool is_guest_view) {
|
||||
CEF_POST_TASK(CEF_IOT,
|
||||
base::Bind(&CefBrowserContext::RenderFrameDeletedOnIOThread, this,
|
||||
render_process_id, render_frame_id, is_main_frame,
|
||||
is_guest_view));
|
||||
}
|
||||
|
||||
void CefBrowserContext::OnPurgePluginListCache() {
|
||||
CEF_POST_TASK(CEF_IOT,
|
||||
base::Bind(&CefBrowserContext::PurgePluginListCacheOnIOThread, this));
|
||||
}
|
||||
|
||||
void CefBrowserContext::RenderFrameDeletedOnIOThread(int render_process_id,
|
||||
int render_frame_id,
|
||||
bool is_main_frame,
|
||||
bool is_guest_view) {
|
||||
if (resource_context_ && is_main_frame) {
|
||||
DCHECK_GE(render_process_id, 0);
|
||||
resource_context_->ClearPluginLoadDecision(render_process_id);
|
||||
}
|
||||
}
|
||||
|
||||
void CefBrowserContext::PurgePluginListCacheOnIOThread() {
|
||||
if (resource_context_)
|
||||
resource_context_->ClearPluginLoadDecision(-1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user