2019-05-11 00:14:48 +02:00
|
|
|
diff --git content/browser/devtools/devtools_instrumentation.h content/browser/devtools/devtools_instrumentation.h
|
2022-07-25 19:49:32 +02:00
|
|
|
index 89885a692db37..de0dff6608a6e 100644
|
2019-05-11 00:14:48 +02:00
|
|
|
--- content/browser/devtools/devtools_instrumentation.h
|
|
|
|
+++ content/browser/devtools/devtools_instrumentation.h
|
2022-05-19 12:28:44 +02:00
|
|
|
@@ -97,7 +97,7 @@ bool ApplyUserAgentMetadataOverrides(
|
2020-06-09 19:48:00 +02:00
|
|
|
FrameTreeNode* frame_tree_node,
|
2021-06-04 03:34:56 +02:00
|
|
|
absl::optional<blink::UserAgentMetadata>* override_out);
|
2019-05-11 00:14:48 +02:00
|
|
|
|
|
|
|
-bool WillCreateURLLoaderFactory(
|
|
|
|
+CONTENT_EXPORT bool WillCreateURLLoaderFactory(
|
|
|
|
RenderFrameHostImpl* rfh,
|
|
|
|
bool is_navigation,
|
|
|
|
bool is_download,
|
2021-12-16 23:35:54 +01:00
|
|
|
diff --git content/browser/renderer_host/input/mouse_wheel_phase_handler.h content/browser/renderer_host/input/mouse_wheel_phase_handler.h
|
2022-04-21 20:58:48 +02:00
|
|
|
index 3d8e22b048f58..4a41f15ce258c 100644
|
2021-12-16 23:35:54 +01:00
|
|
|
--- content/browser/renderer_host/input/mouse_wheel_phase_handler.h
|
|
|
|
+++ content/browser/renderer_host/input/mouse_wheel_phase_handler.h
|
2022-04-21 20:58:48 +02:00
|
|
|
@@ -9,6 +9,7 @@
|
|
|
|
#include "base/time/time.h"
|
2021-12-16 23:35:54 +01:00
|
|
|
#include "base/timer/timer.h"
|
|
|
|
#include "content/browser/renderer_host/render_widget_host_delegate.h"
|
|
|
|
+#include "content/common/content_export.h"
|
|
|
|
#include "third_party/blink/public/common/input/web_mouse_wheel_event.h"
|
|
|
|
#include "third_party/blink/public/mojom/input/input_event_result.mojom-shared.h"
|
|
|
|
|
2022-04-21 20:58:48 +02:00
|
|
|
@@ -51,7 +52,7 @@ enum class FirstScrollUpdateAckState {
|
2021-12-16 23:35:54 +01:00
|
|
|
// The MouseWheelPhaseHandler is responsible for adding the proper phase to
|
|
|
|
// wheel events. Phase information is necessary for wheel scrolling since it
|
|
|
|
// shows the start and end of a scrolling sequence.
|
|
|
|
-class MouseWheelPhaseHandler {
|
|
|
|
+class CONTENT_EXPORT MouseWheelPhaseHandler {
|
|
|
|
public:
|
|
|
|
MouseWheelPhaseHandler(RenderWidgetHostViewBase* const host_view);
|
|
|
|
|
2019-02-21 01:42:36 +01:00
|
|
|
diff --git content/browser/renderer_host/input/synthetic_gesture_target_base.h content/browser/renderer_host/input/synthetic_gesture_target_base.h
|
2021-12-16 23:35:54 +01:00
|
|
|
index 3f0f719a192db..5fb3754cced7e 100644
|
2019-02-21 01:42:36 +01:00
|
|
|
--- content/browser/renderer_host/input/synthetic_gesture_target_base.h
|
|
|
|
+++ content/browser/renderer_host/input/synthetic_gesture_target_base.h
|
2020-06-09 19:48:00 +02:00
|
|
|
@@ -9,6 +9,7 @@
|
2021-12-16 23:35:54 +01:00
|
|
|
#include "base/memory/raw_ptr.h"
|
2019-02-21 01:42:36 +01:00
|
|
|
#include "base/time/time.h"
|
|
|
|
#include "content/browser/renderer_host/input/synthetic_gesture_target.h"
|
|
|
|
+#include "content/common/content_export.h"
|
2020-03-04 01:29:39 +01:00
|
|
|
#include "ui/gfx/geometry/point_f.h"
|
2019-02-21 01:42:36 +01:00
|
|
|
|
|
|
|
namespace ui {
|
2020-06-09 19:48:00 +02:00
|
|
|
@@ -26,7 +27,8 @@ namespace content {
|
2019-02-21 01:42:36 +01:00
|
|
|
|
|
|
|
class RenderWidgetHostImpl;
|
|
|
|
|
|
|
|
-class SyntheticGestureTargetBase : public SyntheticGestureTarget {
|
|
|
|
+class CONTENT_EXPORT SyntheticGestureTargetBase :
|
|
|
|
+ public SyntheticGestureTarget {
|
|
|
|
public:
|
|
|
|
explicit SyntheticGestureTargetBase(RenderWidgetHostImpl* host);
|
2021-10-19 00:17:16 +02:00
|
|
|
|
2019-03-13 22:27:37 +01:00
|
|
|
diff --git content/common/content_switches_internal.h content/common/content_switches_internal.h
|
2022-07-25 19:49:32 +02:00
|
|
|
index 47eb7528594fc..dbb486a323c1c 100644
|
2019-03-13 22:27:37 +01:00
|
|
|
--- content/common/content_switches_internal.h
|
|
|
|
+++ content/common/content_switches_internal.h
|
2022-07-25 19:49:32 +02:00
|
|
|
@@ -17,7 +17,7 @@ namespace content {
|
2019-03-13 22:27:37 +01:00
|
|
|
|
2022-07-25 19:49:32 +02:00
|
|
|
extern const char kFirstRendererProcess[];
|
2019-03-13 22:27:37 +01:00
|
|
|
|
|
|
|
-bool IsPinchToZoomEnabled();
|
|
|
|
+CONTENT_EXPORT bool IsPinchToZoomEnabled();
|
|
|
|
|
|
|
|
blink::mojom::V8CacheOptions GetV8CacheOptions();
|
|
|
|
|
2019-02-11 10:25:36 +01:00
|
|
|
diff --git third_party/blink/renderer/controller/BUILD.gn third_party/blink/renderer/controller/BUILD.gn
|
2022-07-21 19:26:10 +02:00
|
|
|
index 7a0d95725d295..99fac79e105aa 100644
|
2019-02-11 10:25:36 +01:00
|
|
|
--- third_party/blink/renderer/controller/BUILD.gn
|
|
|
|
+++ third_party/blink/renderer/controller/BUILD.gn
|
2021-12-16 23:35:54 +01:00
|
|
|
@@ -32,6 +32,7 @@ component("controller") {
|
|
|
|
|
2019-02-11 10:25:36 +01:00
|
|
|
configs += [
|
|
|
|
"//build/config/compiler:wexit_time_destructors",
|
|
|
|
+ "//cef/libcef/features:config",
|
|
|
|
"//third_party/blink/renderer:config",
|
|
|
|
"//third_party/blink/renderer:inside_blink",
|
|
|
|
"//third_party/blink/renderer:non_test_config",
|
2021-12-16 23:35:54 +01:00
|
|
|
@@ -57,6 +58,8 @@ component("controller") {
|
2020-10-08 21:54:42 +02:00
|
|
|
"performance_manager/v8_detailed_memory_reporter_impl.h",
|
|
|
|
"performance_manager/v8_worker_memory_reporter.cc",
|
|
|
|
"performance_manager/v8_worker_memory_reporter.h",
|
|
|
|
+ "//cef/libcef/renderer/blink_glue.cc",
|
|
|
|
+ "//cef/libcef/renderer/blink_glue.h",
|
2019-02-11 10:25:36 +01:00
|
|
|
]
|
|
|
|
|
2020-08-29 00:39:23 +02:00
|
|
|
if (is_linux || is_chromeos) {
|
2019-02-11 10:25:36 +01:00
|
|
|
diff --git ui/events/keycodes/BUILD.gn ui/events/keycodes/BUILD.gn
|
2021-10-19 00:17:16 +02:00
|
|
|
index c7fe1117512e5..44af6b52db4b4 100644
|
2019-02-11 10:25:36 +01:00
|
|
|
--- ui/events/keycodes/BUILD.gn
|
|
|
|
+++ ui/events/keycodes/BUILD.gn
|
2020-10-08 21:54:42 +02:00
|
|
|
@@ -19,6 +19,8 @@ source_set("xkb") {
|
|
|
|
"//ui/gfx/x/keysyms",
|
|
|
|
]
|
2019-02-11 10:25:36 +01:00
|
|
|
|
2019-02-13 23:42:09 +01:00
|
|
|
+ defines = [ "KEYCODES_X_IMPLEMENTATION" ]
|
2019-02-11 10:25:36 +01:00
|
|
|
+
|
|
|
|
deps = [
|
|
|
|
"//base",
|
2021-01-28 00:13:12 +01:00
|
|
|
"//build:chromeos_buildflags",
|
2019-02-11 10:25:36 +01:00
|
|
|
diff --git ui/events/keycodes/keyboard_code_conversion_xkb.h ui/events/keycodes/keyboard_code_conversion_xkb.h
|
2021-06-04 03:34:56 +02:00
|
|
|
index e1fefa4cead9e..8213402ff263d 100644
|
2019-02-11 10:25:36 +01:00
|
|
|
--- ui/events/keycodes/keyboard_code_conversion_xkb.h
|
|
|
|
+++ ui/events/keycodes/keyboard_code_conversion_xkb.h
|
2021-06-04 03:34:56 +02:00
|
|
|
@@ -9,6 +9,7 @@
|
|
|
|
|
2019-02-11 10:25:36 +01:00
|
|
|
|
|
|
|
#include "ui/events/keycodes/dom/dom_key.h"
|
2019-02-13 23:42:09 +01:00
|
|
|
+#include "ui/events/keycodes/keycodes_x_export.h"
|
2019-02-11 10:25:36 +01:00
|
|
|
#include "ui/events/keycodes/xkb_keysym.h"
|
|
|
|
|
|
|
|
namespace ui {
|
2021-06-04 03:34:56 +02:00
|
|
|
@@ -24,7 +25,7 @@ DomKey NonPrintableXKeySymToDomKey(xkb_keysym_t keysym);
|
2021-04-21 00:52:34 +02:00
|
|
|
// char16_t DeadXKeySymToCombiningCharacter(xkb_keysym_t keysym);
|
2019-02-11 10:25:36 +01:00
|
|
|
|
|
|
|
// Return the DomKey determined by the XKB layout result (keysym, character).
|
2021-04-21 00:52:34 +02:00
|
|
|
-DomKey XKeySymToDomKey(xkb_keysym_t keysym, char16_t character);
|
|
|
|
+KEYCODES_X_EXPORT DomKey XKeySymToDomKey(xkb_keysym_t keysym, char16_t character);
|
2019-02-11 10:25:36 +01:00
|
|
|
|
|
|
|
} // namespace ui
|
|
|
|
|