mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-09 08:42:39 +01:00
199a3faafe
- The CefSettings.release_dcheck_enabled option has been removed. This functionality can be enabled by setting the dcheck_always_on=1 gyp variable before building CEF/Chromium. See http://crbug.com/350462 for details. - The UR_FLAG_ALLOW_COOKIES option has been removed and the functionality has been merged into UR_FLAG_ALLOW_CACHED_CREDENTIALS. - Mac: [NSApplication sharedApplication] should no longer be called in the renderer process. See http://crbug.com/306348 for details. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1641 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
25 lines
771 B
C++
25 lines
771 B
C++
// Copyright 2014 The Chromium Embedded Framework Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be found
|
|
// in the LICENSE file.
|
|
|
|
#include "libcef/renderer/render_frame_observer.h"
|
|
|
|
#include "libcef/renderer/content_renderer_client.h"
|
|
|
|
#include "content/public/renderer/render_frame.h"
|
|
|
|
CefRenderFrameObserver::CefRenderFrameObserver(
|
|
content::RenderFrame* render_frame)
|
|
: content::RenderFrameObserver(render_frame) {
|
|
}
|
|
|
|
CefRenderFrameObserver::~CefRenderFrameObserver() {
|
|
}
|
|
|
|
void CefRenderFrameObserver::WillReleaseScriptContext(
|
|
v8::Handle<v8::Context> context,
|
|
int world_id) {
|
|
CefContentRendererClient::Get()->WillReleaseScriptContext(
|
|
render_frame()->GetWebFrame(), context, world_id);
|
|
}
|