mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 95.0.4638.0 (#920003)
Known issues: - Windows ARM64 builds are currently failing due to https://crbug.com/1242884#c31
This commit is contained in:
@@ -572,7 +572,8 @@ void CefRenderWidgetHostViewOSR::ResetFallbackToFirstNavigationSurface() {
|
||||
|
||||
void CefRenderWidgetHostViewOSR::InitAsPopup(
|
||||
content::RenderWidgetHostView* parent_host_view,
|
||||
const gfx::Rect& pos) {
|
||||
const gfx::Rect& bounds,
|
||||
const gfx::Rect& anchor_rect) {
|
||||
DCHECK_EQ(parent_host_view_, parent_host_view);
|
||||
DCHECK(browser_impl_);
|
||||
|
||||
@@ -591,8 +592,8 @@ void CefRenderWidgetHostViewOSR::InitAsPopup(
|
||||
|
||||
CefRect view_rect;
|
||||
handler->GetViewRect(browser_impl_.get(), view_rect);
|
||||
gfx::Rect client_pos(pos.x() - view_rect.x, pos.y() - view_rect.y,
|
||||
pos.width(), pos.height());
|
||||
gfx::Rect client_pos(bounds.x() - view_rect.x, bounds.y() - view_rect.y,
|
||||
bounds.width(), bounds.height());
|
||||
|
||||
popup_position_ = client_pos;
|
||||
|
||||
|
@@ -145,7 +145,8 @@ class CefRenderWidgetHostViewOSR
|
||||
// RenderWidgetHostViewBase implementation.
|
||||
void ResetFallbackToFirstNavigationSurface() override;
|
||||
void InitAsPopup(content::RenderWidgetHostView* parent_host_view,
|
||||
const gfx::Rect& pos) override;
|
||||
const gfx::Rect& bounds,
|
||||
const gfx::Rect& anchor_rect) override;
|
||||
void UpdateCursor(const content::WebCursor& cursor) override;
|
||||
void SetIsLoading(bool is_loading) override;
|
||||
void RenderProcessGone() override;
|
||||
|
Reference in New Issue
Block a user