mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove explicit tracking of guest view frames
This is no longer required now that we have implicit exclusion of certain frame types including guest view frames. Rename GuestView to ExcludedView in the renderer process.
This commit is contained in:
@@ -59,10 +59,10 @@ void CefBrowserFrame::FrameAttached(
|
||||
bool reattached) {
|
||||
// Always send to the newly created RFH, which may be speculative when
|
||||
// navigating cross-origin.
|
||||
bool excluded_type;
|
||||
if (auto host = GetFrameHost(/*prefer_speculative=*/true, &excluded_type)) {
|
||||
bool is_excluded;
|
||||
if (auto host = GetFrameHost(/*prefer_speculative=*/true, &is_excluded)) {
|
||||
host->FrameAttached(std::move(render_frame), reattached);
|
||||
} else if (excluded_type) {
|
||||
} else if (is_excluded) {
|
||||
VLOG(1) << "frame "
|
||||
<< frame_util::GetFrameDebugString(
|
||||
render_frame_host()->GetGlobalFrameToken())
|
||||
@@ -82,8 +82,8 @@ void CefBrowserFrame::UpdateDraggableRegions(
|
||||
|
||||
CefRefPtr<CefFrameHostImpl> CefBrowserFrame::GetFrameHost(
|
||||
bool prefer_speculative,
|
||||
bool* excluded_type) const {
|
||||
bool* is_excluded) const {
|
||||
return CefBrowserInfoManager::GetFrameHost(
|
||||
render_frame_host(), prefer_speculative,
|
||||
/*browser_info=*/nullptr, excluded_type);
|
||||
/*browser_info=*/nullptr, is_excluded);
|
||||
}
|
||||
|
Reference in New Issue
Block a user