mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 01:56:20 +01:00
66648c2343
- Remove CefRequestContextHandler::OnBeforePluginLoad and CefRequestContext::PurgePluginListCache (fixes issue #3047). These methods stopped being relevant after the removal of Flash support in January 2021. The last remaining PPAPI plugin (PDF viewer) will switch to a non-plugin implementation in the near future (see https://crbug.com/702993#c58) and functionality related to plugin filtering has already been removed in https://crrev.com/343ae351c9.
104 lines
3.9 KiB
Diff
104 lines
3.9 KiB
Diff
diff --git content/browser/devtools/devtools_instrumentation.h content/browser/devtools/devtools_instrumentation.h
|
|
index b1c7f6ed1b779..60b9cf0a9479f 100644
|
|
--- content/browser/devtools/devtools_instrumentation.h
|
|
+++ content/browser/devtools/devtools_instrumentation.h
|
|
@@ -95,7 +95,7 @@ bool ApplyUserAgentMetadataOverrides(
|
|
FrameTreeNode* frame_tree_node,
|
|
absl::optional<blink::UserAgentMetadata>* override_out);
|
|
|
|
-bool WillCreateURLLoaderFactory(
|
|
+CONTENT_EXPORT bool WillCreateURLLoaderFactory(
|
|
RenderFrameHostImpl* rfh,
|
|
bool is_navigation,
|
|
bool is_download,
|
|
diff --git content/browser/renderer_host/input/synthetic_gesture_target_base.h content/browser/renderer_host/input/synthetic_gesture_target_base.h
|
|
index 1f05fa3562f48..2295e442f590a 100644
|
|
--- content/browser/renderer_host/input/synthetic_gesture_target_base.h
|
|
+++ content/browser/renderer_host/input/synthetic_gesture_target_base.h
|
|
@@ -9,6 +9,7 @@
|
|
#include "base/macros.h"
|
|
#include "base/time/time.h"
|
|
#include "content/browser/renderer_host/input/synthetic_gesture_target.h"
|
|
+#include "content/common/content_export.h"
|
|
#include "ui/gfx/geometry/point_f.h"
|
|
|
|
namespace ui {
|
|
@@ -26,7 +27,8 @@ namespace content {
|
|
|
|
class RenderWidgetHostImpl;
|
|
|
|
-class SyntheticGestureTargetBase : public SyntheticGestureTarget {
|
|
+class CONTENT_EXPORT SyntheticGestureTargetBase :
|
|
+ public SyntheticGestureTarget {
|
|
public:
|
|
explicit SyntheticGestureTargetBase(RenderWidgetHostImpl* host);
|
|
|
|
diff --git content/common/content_switches_internal.h content/common/content_switches_internal.h
|
|
index 57072bf1263ae..0a93446e4d21c 100644
|
|
--- content/common/content_switches_internal.h
|
|
+++ content/common/content_switches_internal.h
|
|
@@ -15,7 +15,7 @@ class CommandLine;
|
|
|
|
namespace content {
|
|
|
|
-bool IsPinchToZoomEnabled();
|
|
+CONTENT_EXPORT bool IsPinchToZoomEnabled();
|
|
|
|
blink::mojom::V8CacheOptions GetV8CacheOptions();
|
|
|
|
diff --git third_party/blink/renderer/controller/BUILD.gn third_party/blink/renderer/controller/BUILD.gn
|
|
index c4d5cb83938e1..954c1c213e4a8 100644
|
|
--- third_party/blink/renderer/controller/BUILD.gn
|
|
+++ third_party/blink/renderer/controller/BUILD.gn
|
|
@@ -33,6 +33,7 @@ component("controller") {
|
|
configs += [
|
|
"//build/config/compiler:noshadowing",
|
|
"//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",
|
|
@@ -58,6 +59,8 @@ component("controller") {
|
|
"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",
|
|
]
|
|
|
|
if (is_linux || is_chromeos) {
|
|
diff --git ui/events/keycodes/BUILD.gn ui/events/keycodes/BUILD.gn
|
|
index c7fe1117512e5..44af6b52db4b4 100644
|
|
--- ui/events/keycodes/BUILD.gn
|
|
+++ ui/events/keycodes/BUILD.gn
|
|
@@ -19,6 +19,8 @@ source_set("xkb") {
|
|
"//ui/gfx/x/keysyms",
|
|
]
|
|
|
|
+ defines = [ "KEYCODES_X_IMPLEMENTATION" ]
|
|
+
|
|
deps = [
|
|
"//base",
|
|
"//build:chromeos_buildflags",
|
|
diff --git ui/events/keycodes/keyboard_code_conversion_xkb.h ui/events/keycodes/keyboard_code_conversion_xkb.h
|
|
index e1fefa4cead9e..8213402ff263d 100644
|
|
--- ui/events/keycodes/keyboard_code_conversion_xkb.h
|
|
+++ ui/events/keycodes/keyboard_code_conversion_xkb.h
|
|
@@ -9,6 +9,7 @@
|
|
|
|
|
|
#include "ui/events/keycodes/dom/dom_key.h"
|
|
+#include "ui/events/keycodes/keycodes_x_export.h"
|
|
#include "ui/events/keycodes/xkb_keysym.h"
|
|
|
|
namespace ui {
|
|
@@ -24,7 +25,7 @@ DomKey NonPrintableXKeySymToDomKey(xkb_keysym_t keysym);
|
|
// char16_t DeadXKeySymToCombiningCharacter(xkb_keysym_t keysym);
|
|
|
|
// Return the DomKey determined by the XKB layout result (keysym, character).
|
|
-DomKey XKeySymToDomKey(xkb_keysym_t keysym, char16_t character);
|
|
+KEYCODES_X_EXPORT DomKey XKeySymToDomKey(xkb_keysym_t keysym, char16_t character);
|
|
|
|
} // namespace ui
|
|
|