From bb4444906365caec7e2cf3941f9c6830e26dcd76 Mon Sep 17 00:00:00 2001 From: oh_ci Date: Wed, 30 Jul 2025 11:48:20 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!68940?= =?UTF-8?q?=20:=20=E5=8F=8C=E5=86=85=E6=A0=B8pdf=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=80=A7=E4=BF=9D=E9=9A=9C'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frameworks/bridge/declarative_frontend/BUILD.gn | 6 ------ frameworks/bridge/declarative_frontend/jsview/js_web.cpp | 3 --- 2 files changed, 9 deletions(-) diff --git a/frameworks/bridge/declarative_frontend/BUILD.gn b/frameworks/bridge/declarative_frontend/BUILD.gn index bb80207646b..85c98ef8b70 100644 --- a/frameworks/bridge/declarative_frontend/BUILD.gn +++ b/frameworks/bridge/declarative_frontend/BUILD.gn @@ -637,9 +637,6 @@ template("declarative_js_engine") { "jsview/models/web_model_impl.cpp", ] } - external_deps += [ - "webview:libarkweb_utils", - ] } if (defined(config.form_components_support) && @@ -1114,9 +1111,6 @@ template("declarative_js_engine_ng") { "jsview/js_web.cpp", "jsview/js_web_controller.cpp", ] - external_deps += [ - "webview:libarkweb_utils", - ] } if (defined(config.remote_window_support) && config.remote_window_support) { diff --git a/frameworks/bridge/declarative_frontend/jsview/js_web.cpp b/frameworks/bridge/declarative_frontend/jsview/js_web.cpp index 2890f71baa5..a37e0f62e1d 100644 --- a/frameworks/bridge/declarative_frontend/jsview/js_web.cpp +++ b/frameworks/bridge/declarative_frontend/jsview/js_web.cpp @@ -28,7 +28,6 @@ #include "base/memory/referenced.h" #include "base/utils/system_properties.h" #include "base/utils/utils.h" -#include "base/web/webview/arkweb_utils/arkweb_utils.h" #if defined(ANDROID_PLATFORM) || defined(IOS_PLATFORM) #include "base/web/webview/ohos_interface/include/ohos_nweb/nweb.h" #endif @@ -6488,7 +6487,6 @@ void JSWeb::GestureFocusMode(int32_t gestureFocusMode) void JSWeb::OnPdfScrollAtBottom(const JSCallbackInfo& args) { - RETURN_IF_CALLING_FROM_M114(); TAG_LOGI(AceLogTag::ACE_WEB, "JSWeb::OnPdfScrollAtBottom, callback set"); if (args.Length() < 1 || !args[0]->IsFunction()) { return; @@ -6517,7 +6515,6 @@ void JSWeb::OnPdfScrollAtBottom(const JSCallbackInfo& args) void JSWeb::OnPdfLoadEvent(const JSCallbackInfo& args) { - RETURN_IF_CALLING_FROM_M114(); TAG_LOGI(AceLogTag::ACE_WEB, "JSWeb::OnPdfLoadEvent, callback set"); if (args.Length() < 1 || !args[0]->IsFunction()) { return; -- Gitee