2019-05-11 00:14:48 +02:00
|
|
|
diff --git content/browser/devtools/devtools_instrumentation.h content/browser/devtools/devtools_instrumentation.h
|
2024-09-27 16:15:44 +02:00
|
|
|
index 6253416703b73..66a482b46795b 100644
|
2019-05-11 00:14:48 +02:00
|
|
|
--- content/browser/devtools/devtools_instrumentation.h
|
|
|
|
+++ content/browser/devtools/devtools_instrumentation.h
|
2024-07-29 19:09:20 +02:00
|
|
|
@@ -114,7 +114,7 @@ bool ApplyUserAgentMetadataOverrides(
|
2020-06-09 19:48:00 +02:00
|
|
|
FrameTreeNode* frame_tree_node,
|
2024-01-26 03:12:43 +01:00
|
|
|
std::optional<blink::UserAgentMetadata>* override_out);
|
2019-05-11 00:14:48 +02:00
|
|
|
|
2024-02-22 19:36:15 +01:00
|
|
|
-class WillCreateURLLoaderFactoryParams final {
|
|
|
|
+class CONTENT_EXPORT WillCreateURLLoaderFactoryParams final {
|
|
|
|
STACK_ALLOCATED();
|
|
|
|
|
|
|
|
public:
|
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-09-26 21:30:45 +02:00
|
|
|
index d69f9d4641613..e88aaf8617c52 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
|
2024-04-23 22:06:00 +02:00
|
|
|
index 09d80f2ba678d..5dbff44c280a1 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
|
2023-12-06 21:16:15 +01:00
|
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#include "base/functional/callback_forward.h"
|
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/common/content_export.h"
|
2023-12-06 21:16:15 +01:00
|
|
|
#include "content/common/input/synthetic_gesture_target.h"
|
2020-03-04 01:29:39 +01:00
|
|
|
#include "ui/gfx/geometry/point_f.h"
|
2019-02-21 01:42:36 +01:00
|
|
|
|
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-02-11 10:25:36 +01:00
|
|
|
diff --git third_party/blink/renderer/controller/BUILD.gn third_party/blink/renderer/controller/BUILD.gn
|
2024-11-14 23:07:03 +01:00
|
|
|
index 624070f85e40b..2f0a5e6501f4d 100644
|
2019-02-11 10:25:36 +01:00
|
|
|
--- third_party/blink/renderer/controller/BUILD.gn
|
|
|
|
+++ third_party/blink/renderer/controller/BUILD.gn
|
2024-03-19 22:11:42 +01:00
|
|
|
@@ -38,6 +38,7 @@ component("controller") {
|
2023-04-04 20:00:13 +02:00
|
|
|
}
|
2021-12-16 23:35:54 +01:00
|
|
|
|
2019-02-11 10:25:36 +01:00
|
|
|
configs += [
|
|
|
|
+ "//cef/libcef/features:config",
|
|
|
|
"//third_party/blink/renderer:config",
|
|
|
|
"//third_party/blink/renderer:inside_blink",
|
|
|
|
"//third_party/blink/renderer:non_test_config",
|
2024-05-23 03:52:35 +02:00
|
|
|
@@ -67,6 +68,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
|
2024-11-14 23:07:03 +01:00
|
|
|
index 4f4fbfb769cf8..a794da2d8343b 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",
|
2024-11-14 23:07:03 +01:00
|
|
|
"//ui/events:dom_keycode_converter",
|
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
|
2022-09-26 21:30:45 +02:00
|
|
|
index 5693e3a1c4bc4..88c0cc6d59098 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
|
|
|
|
|