1 /* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #include "bridge/cj_frontend/interfaces/cj_ffi/cj_common_ffi.h" 17 18 extern "C" { 19 CJ_EXPORT int FfiOHOSAceFrameworkWebHandleCancel = 0; 20 CJ_EXPORT int FfiOHOSAceFrameworkWebHandleConfirm = 0; 21 CJ_EXPORT int FfiOHOSAceFrameworkWebHandlePromptConfirm = 0; 22 CJ_EXPORT int FfiOHOSAceFrameworkWebReleaseResult = 0; 23 CJ_EXPORT int FfiOHOSAceFrameworkWebCreate = 0; 24 CJ_EXPORT int FfiOHOSAceFrameworkWebFileAccessEnabled = 0; 25 CJ_EXPORT int FfiOHOSAceFrameworkWebDomStorageAccessEnabled = 0; 26 CJ_EXPORT int FfiOHOSAceFrameworkWebImageAccessEnabled = 0; 27 CJ_EXPORT int FfiOHOSAceFrameworkWebOnlineImageAccessEnabled = 0; 28 CJ_EXPORT int FfiOHOSAceFrameworkWebMixedMode = 0; 29 CJ_EXPORT int FfiOHOSAceFrameworkWebZoomAccessEnabled = 0; 30 CJ_EXPORT int FfiOHOSAceFrameworkWebGeolocationAccessEnabled = 0; 31 CJ_EXPORT int FfiOHOSAceFrameworkWebVerticalScrollBarAccessEnabled = 0; 32 CJ_EXPORT int FfiOHOSAceFrameworkWebUserAgent = 0; 33 CJ_EXPORT int FfiOHOSAceFrameworkWebOnAlert = 0; 34 CJ_EXPORT int FfiOHOSAceFrameworkWebOnPageStart = 0; 35 CJ_EXPORT int FfiOHOSAceFrameworkWebOnPageFinish = 0; 36 CJ_EXPORT int FfiOHOSAceFrameworkWebJavaScriptProxy = 0; 37 CJ_EXPORT int FfiOHOSAceFrameworkNestedScroll = 0; 38 CJ_EXPORT int FfiOHOSAceFrameworkWebOnLoadIntercept = 0; 39 CJ_EXPORT int FfiOHOSAceFrameworkWebGetHeaders = 0; 40 CJ_EXPORT int FfiOHOSAceFrameworkWebGetUrl = 0; 41 CJ_EXPORT int FfiOHOSAceFrameworkWebIsRedirect = 0; 42 CJ_EXPORT int FfiOHOSAceFrameworkWebIsMainFrame = 0; 43 CJ_EXPORT int FfiOHOSAceFrameworkWebHasGesture = 0; 44 CJ_EXPORT int FfiOHOSAceFrameworkWebGetMethod = 0; 45 CJ_EXPORT int FfiOHOSAceFrameworkWebSetCallback = 0; 46 } 47