Skip to content

Commit 5a48cf6

Browse files
committed
1 parent ffc88b3 commit 5a48cf6

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

patches/chromium/render_widget_host_view_base.patch

+12-11
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Subject: render_widget_host_view_base.patch
66
... something to do with OSR? and maybe <webview> as well? terrifying.
77

88
diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc
9-
index 88452d8cdb4d9f58a23f2754fd2e79d4765feecd..8abed23ed360f266d024f468875b7f7645d66bf3 100644
9+
index 62322ba1ce573fd5e11c86cff5dce1299df8b57c..91b9e1733691d01a30a77ff36f2724da37185b2d 100644
1010
--- a/content/browser/renderer_host/render_widget_host_view_base.cc
1111
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc
12-
@@ -733,6 +733,13 @@ bool RenderWidgetHostViewBase::ScreenRectIsUnstableForIOv2For(
12+
@@ -738,6 +738,13 @@ bool RenderWidgetHostViewBase::ScreenRectIsUnstableForIOv2For(
1313
return false;
1414
}
1515

@@ -24,27 +24,28 @@ index 88452d8cdb4d9f58a23f2754fd2e79d4765feecd..8abed23ed360f266d024f468875b7f76
2424
const blink::WebMouseEvent& event,
2525
const ui::LatencyInfo& latency) {
2626
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
27-
index 1a3715bb7bd6f82398cf0b4953ff8c5636233424..2ab7e8670d6795f7587b5da5d78a546adda76f5a 100644
27+
index 36ed537b555aab81a97d1f00a8837183faf00b27..ff1fec7178abcf03e992b04c7501356a86cffa0d 100644
2828
--- a/content/browser/renderer_host/render_widget_host_view_base.h
2929
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
30-
@@ -26,10 +26,13 @@
31-
#include "components/viz/host/hit_test/hit_test_query.h"
30+
@@ -25,11 +25,13 @@
31+
#include "components/viz/common/surfaces/scoped_surface_id_allocator.h"
32+
#include "components/viz/common/surfaces/surface_id.h"
3233
#include "content/browser/renderer_host/display_feature.h"
33-
#include "content/browser/renderer_host/render_widget_host_view_input.h"
34+
-#include "content/common/content_export.h"
3435
+#include "content/browser/renderer_host/visible_time_request_trigger.h"
3536
+#include "content/browser/web_contents/web_contents_view.h"
36-
#include "content/common/content_export.h"
3737
#include "content/common/input/event_with_latency_info.h"
3838
#include "content/common/input/input_router_impl.h"
39+
#include "content/common/input/render_widget_host_view_input.h"
3940
#include "content/public/browser/render_frame_metadata_provider.h"
4041
+#include "content/public/browser/render_widget_host.h"
4142
#include "content/public/browser/render_widget_host_view.h"
4243
#include "content/public/common/page_visibility_state.h"
4344
#include "content/public/common/widget_type.h"
44-
@@ -73,9 +76,11 @@ class DevicePosturePlatformProvider;
45+
@@ -73,9 +75,11 @@ class DevicePosturePlatformProvider;
4546
class MouseWheelPhaseHandler;
4647
class RenderWidgetHostImpl;
47-
class RenderWidgetHostViewBaseObserver;
48+
class RenderWidgetHostViewInputObserver;
4849
+class RenderWidgetHostViewGuest;
4950
class ScopedViewTransitionResources;
5051
class TextInputManager;
@@ -53,7 +54,7 @@ index 1a3715bb7bd6f82398cf0b4953ff8c5636233424..2ab7e8670d6795f7587b5da5d78a546a
5354
class WebContentsAccessibility;
5455
class DelegatedFrameHost;
5556

56-
@@ -223,6 +228,9 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
57+
@@ -225,6 +229,9 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
5758
const gfx::Rect& keyboard_rect) override {}
5859
bool IsHTMLFormPopup() const override;
5960

@@ -63,7 +64,7 @@ index 1a3715bb7bd6f82398cf0b4953ff8c5636233424..2ab7e8670d6795f7587b5da5d78a546a
6364
// This only needs to be overridden by RenderWidgetHostViewBase subclasses
6465
// that handle content embedded within other RenderWidgetHostViews.
6566
gfx::PointF TransformPointToRootCoordSpaceF(
66-
@@ -273,6 +281,11 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
67+
@@ -275,6 +282,11 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
6768
// non-embeddable derived views.
6869
virtual RenderWidgetHostViewBase* GetRootView();
6970

0 commit comments

Comments
 (0)