@react-native-ohos/react-native-webview 13.10.5-rc.2 → 13.15.1-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.OpenSource +11 -0
- package/README.md +2 -2
- package/harmony/rn_webview/index.ets +4 -25
- package/harmony/rn_webview/oh-package.json5 +2 -2
- package/harmony/rn_webview/src/main/cpp/WebViewPackage.h +4 -24
- package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/BaseReactNativeWebviewPackage.h +69 -69
- package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/components/RNCWebViewJSIBinder.h +109 -116
- package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/turbo_modules/RNCWebView.cpp +1 -3
- package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/turbo_modules/RNCWebViewModule.cpp +1 -3
- package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/ComponentDescriptors.h +7 -5
- package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/EventEmitters.cpp +231 -230
- package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/EventEmitters.h +250 -272
- package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/Props.cpp +62 -110
- package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/Props.h +494 -322
- package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/ShadowNodes.cpp +4 -6
- package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/ShadowNodes.h +7 -9
- package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/States.cpp +5 -5
- package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/States.h +14 -5
- package/harmony/rn_webview/src/main/ets/CutomReference.ts +3 -23
- package/harmony/rn_webview/src/main/ets/Logger.ts +3 -23
- package/harmony/rn_webview/src/main/ets/Magic.ets +3 -24
- package/harmony/rn_webview/src/main/ets/RNCWebView.ets +7 -81
- package/harmony/rn_webview/src/main/ets/RNCWebViewPackage.ets +5 -33
- package/harmony/rn_webview/src/main/ets/ShouldRequestUrl.ts +3 -23
- package/harmony/rn_webview/src/main/ets/WebViewBaseOperate.ets +3 -23
- package/harmony/rn_webview/src/main/ets/WebViewTurboModule.ets +3 -23
- package/harmony/rn_webview/src/main/ets/generated/components/RNCWebView.ts +47 -32
- package/harmony/rn_webview/ts.ets +3 -23
- package/harmony/rn_webview.har +0 -0
- package/package.json +11 -16
- package/src/NativeRNCWebView.ts +6 -0
- package/src/NativeRNCWebViewModule.ts +5 -3
- package/src/RNCWebViewNativeComponent.ts +158 -90
- package/src/WebView.harmony.tsx +17 -4
- package/src/WebView.tsx +6 -0
- package/src/codegenUtils.ts +5 -3
- package/src/index.ts +6 -0
- package/harmony/rn_webview/BuildProfile.ets +0 -41
- package/harmony/rn_webview/LICENSE +0 -21
- package/harmony/rn_webview/NOTICE +0 -33
- package/harmony/rn_webview/README.OpenSource +0 -11
- package/harmony/rn_webview/consumer-rules.txt +0 -0
- package/harmony/rn_webview/obfuscation-rules.txt +0 -18
|
@@ -8,13 +8,11 @@
|
|
|
8
8
|
* @generated by codegen project: GeneratePropsCpp.js
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
#include
|
|
12
|
-
#include <folly/dynamic.h>
|
|
11
|
+
#include "Props.h"
|
|
13
12
|
#include <react/renderer/core/PropsParserContext.h>
|
|
14
13
|
#include <react/renderer/core/propsConversions.h>
|
|
15
14
|
|
|
16
|
-
namespace facebook {
|
|
17
|
-
namespace react {
|
|
15
|
+
namespace facebook::react {
|
|
18
16
|
|
|
19
17
|
RNCWebViewProps::RNCWebViewProps(
|
|
20
18
|
const PropsParserContext &context,
|
|
@@ -22,130 +20,84 @@ RNCWebViewProps::RNCWebViewProps(
|
|
|
22
20
|
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
23
21
|
|
|
24
22
|
allowFileAccess(convertRawProp(context, rawProps, "allowFileAccess", sourceProps.allowFileAccess, {false})),
|
|
25
|
-
allowsProtectedMedia(convertRawProp(context, rawProps, "allowsProtectedMedia",
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
androidLayerType(convertRawProp(context, rawProps, "androidLayerType",
|
|
30
|
-
sourceProps.androidLayerType, {RNCWebViewAndroidLayerType::None})),
|
|
31
|
-
cacheMode(convertRawProp(context, rawProps, "cacheMode", sourceProps.cacheMode,
|
|
32
|
-
{RNCWebViewCacheMode::LOAD_DEFAULT})),
|
|
23
|
+
allowsProtectedMedia(convertRawProp(context, rawProps, "allowsProtectedMedia", sourceProps.allowsProtectedMedia, {false})),
|
|
24
|
+
allowsFullscreenVideo(convertRawProp(context, rawProps, "allowsFullscreenVideo", sourceProps.allowsFullscreenVideo, {false})),
|
|
25
|
+
androidLayerType(convertRawProp(context, rawProps, "androidLayerType", sourceProps.androidLayerType, {RNCWebViewAndroidLayerType::None})),
|
|
26
|
+
cacheMode(convertRawProp(context, rawProps, "cacheMode", sourceProps.cacheMode, {RNCWebViewCacheMode::LOAD_DEFAULT})),
|
|
33
27
|
domStorageEnabled(convertRawProp(context, rawProps, "domStorageEnabled", sourceProps.domStorageEnabled, {false})),
|
|
34
28
|
downloadingMessage(convertRawProp(context, rawProps, "downloadingMessage", sourceProps.downloadingMessage, {})),
|
|
35
29
|
forceDarkOn(convertRawProp(context, rawProps, "forceDarkOn", sourceProps.forceDarkOn, {false})),
|
|
36
|
-
geolocationEnabled(convertRawProp(context, rawProps, "geolocationEnabled",
|
|
37
|
-
|
|
38
|
-
lackPermissionToDownloadMessage(convertRawProp(context, rawProps, "lackPermissionToDownloadMessage",
|
|
39
|
-
sourceProps.lackPermissionToDownloadMessage, {})),
|
|
30
|
+
geolocationEnabled(convertRawProp(context, rawProps, "geolocationEnabled", sourceProps.geolocationEnabled, {false})),
|
|
31
|
+
lackPermissionToDownloadMessage(convertRawProp(context, rawProps, "lackPermissionToDownloadMessage", sourceProps.lackPermissionToDownloadMessage, {})),
|
|
40
32
|
messagingModuleName(convertRawProp(context, rawProps, "messagingModuleName", sourceProps.messagingModuleName, {})),
|
|
41
33
|
minimumFontSize(convertRawProp(context, rawProps, "minimumFontSize", sourceProps.minimumFontSize, {0})),
|
|
42
|
-
mixedContentMode(convertRawProp(context, rawProps, "mixedContentMode", sourceProps.mixedContentMode,
|
|
43
|
-
|
|
44
|
-
nestedScrollEnabled(convertRawProp(context, rawProps, "nestedScrollEnabled",
|
|
45
|
-
sourceProps.nestedScrollEnabled, {false})),
|
|
34
|
+
mixedContentMode(convertRawProp(context, rawProps, "mixedContentMode", sourceProps.mixedContentMode, {RNCWebViewMixedContentMode::Never})),
|
|
35
|
+
nestedScrollEnabled(convertRawProp(context, rawProps, "nestedScrollEnabled", sourceProps.nestedScrollEnabled, {false})),
|
|
46
36
|
overScrollMode(convertRawProp(context, rawProps, "overScrollMode", sourceProps.overScrollMode, {})),
|
|
47
|
-
saveFormDataDisabled(convertRawProp(context, rawProps, "saveFormDataDisabled",
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
setDisplayZoomControls(convertRawProp(context, rawProps, "setDisplayZoomControls",
|
|
53
|
-
sourceProps.setDisplayZoomControls, {false})),
|
|
54
|
-
setSupportMultipleWindows(convertRawProp(context, rawProps, "setSupportMultipleWindows",
|
|
55
|
-
sourceProps.setSupportMultipleWindows, {false})),
|
|
37
|
+
saveFormDataDisabled(convertRawProp(context, rawProps, "saveFormDataDisabled", sourceProps.saveFormDataDisabled, {false})),
|
|
38
|
+
scalesPageToFit(convertRawProp(context, rawProps, "scalesPageToFit", sourceProps.scalesPageToFit, {true})),
|
|
39
|
+
setBuiltInZoomControls(convertRawProp(context, rawProps, "setBuiltInZoomControls", sourceProps.setBuiltInZoomControls, {true})),
|
|
40
|
+
setDisplayZoomControls(convertRawProp(context, rawProps, "setDisplayZoomControls", sourceProps.setDisplayZoomControls, {false})),
|
|
41
|
+
setSupportMultipleWindows(convertRawProp(context, rawProps, "setSupportMultipleWindows", sourceProps.setSupportMultipleWindows, {true})),
|
|
56
42
|
textZoom(convertRawProp(context, rawProps, "textZoom", sourceProps.textZoom, {0})),
|
|
57
|
-
thirdPartyCookiesEnabled(convertRawProp(context, rawProps, "thirdPartyCookiesEnabled",
|
|
58
|
-
sourceProps.thirdPartyCookiesEnabled, {false})),
|
|
43
|
+
thirdPartyCookiesEnabled(convertRawProp(context, rawProps, "thirdPartyCookiesEnabled", sourceProps.thirdPartyCookiesEnabled, {true})),
|
|
59
44
|
hasOnScroll(convertRawProp(context, rawProps, "hasOnScroll", sourceProps.hasOnScroll, {false})),
|
|
60
|
-
injectedJavaScriptObject(convertRawProp(context, rawProps, "injectedJavaScriptObject",
|
|
61
|
-
|
|
62
|
-
allowingReadAccessToURL(convertRawProp(context, rawProps, "allowingReadAccessToURL",
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
automaticallyAdjustContentInsets(convertRawProp(context, rawProps, "automaticallyAdjustContentInsets",
|
|
73
|
-
sourceProps.automaticallyAdjustContentInsets, {false})),
|
|
74
|
-
ignoreSilentHardwareSwitch(convertRawProp(context, rawProps, "ignoreSilentHardwareSwitch",
|
|
75
|
-
sourceProps.ignoreSilentHardwareSwitch, {false})),
|
|
76
|
-
autoManageStatusBarEnabled(convertRawProp(context, rawProps, "autoManageStatusBarEnabled",
|
|
77
|
-
sourceProps.autoManageStatusBarEnabled, {false})),
|
|
78
|
-
bounces(convertRawProp(context, rawProps, "bounces", sourceProps.bounces, {false})),
|
|
45
|
+
injectedJavaScriptObject(convertRawProp(context, rawProps, "injectedJavaScriptObject", sourceProps.injectedJavaScriptObject, {})),
|
|
46
|
+
paymentRequestEnabled(convertRawProp(context, rawProps, "paymentRequestEnabled", sourceProps.paymentRequestEnabled, {false})),
|
|
47
|
+
allowingReadAccessToURL(convertRawProp(context, rawProps, "allowingReadAccessToURL", sourceProps.allowingReadAccessToURL, {})),
|
|
48
|
+
allowsBackForwardNavigationGestures(convertRawProp(context, rawProps, "allowsBackForwardNavigationGestures", sourceProps.allowsBackForwardNavigationGestures, {false})),
|
|
49
|
+
allowsInlineMediaPlayback(convertRawProp(context, rawProps, "allowsInlineMediaPlayback", sourceProps.allowsInlineMediaPlayback, {false})),
|
|
50
|
+
allowsPictureInPictureMediaPlayback(convertRawProp(context, rawProps, "allowsPictureInPictureMediaPlayback", sourceProps.allowsPictureInPictureMediaPlayback, {false})),
|
|
51
|
+
allowsAirPlayForMediaPlayback(convertRawProp(context, rawProps, "allowsAirPlayForMediaPlayback", sourceProps.allowsAirPlayForMediaPlayback, {false})),
|
|
52
|
+
allowsLinkPreview(convertRawProp(context, rawProps, "allowsLinkPreview", sourceProps.allowsLinkPreview, {true})),
|
|
53
|
+
automaticallyAdjustContentInsets(convertRawProp(context, rawProps, "automaticallyAdjustContentInsets", sourceProps.automaticallyAdjustContentInsets, {true})),
|
|
54
|
+
ignoreSilentHardwareSwitch(convertRawProp(context, rawProps, "ignoreSilentHardwareSwitch", sourceProps.ignoreSilentHardwareSwitch, {false})),
|
|
55
|
+
autoManageStatusBarEnabled(convertRawProp(context, rawProps, "autoManageStatusBarEnabled", sourceProps.autoManageStatusBarEnabled, {true})),
|
|
56
|
+
bounces(convertRawProp(context, rawProps, "bounces", sourceProps.bounces, {true})),
|
|
79
57
|
contentInset(convertRawProp(context, rawProps, "contentInset", sourceProps.contentInset, {})),
|
|
80
|
-
contentInsetAdjustmentBehavior(convertRawProp(context, rawProps, "contentInsetAdjustmentBehavior",
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
{RNCWebViewContentMode::Recommended})),
|
|
84
|
-
dataDetectorTypes(convertRawProp(context, rawProps, "dataDetectorTypes", sourceProps.dataDetectorTypes, {})),
|
|
58
|
+
contentInsetAdjustmentBehavior(convertRawProp(context, rawProps, "contentInsetAdjustmentBehavior", sourceProps.contentInsetAdjustmentBehavior, {RNCWebViewContentInsetAdjustmentBehavior::Never})),
|
|
59
|
+
contentMode(convertRawProp(context, rawProps, "contentMode", sourceProps.contentMode, {RNCWebViewContentMode::Recommended})),
|
|
60
|
+
dataDetectorTypes(convertRawProp(context, rawProps, "dataDetectorTypes", RNCWebViewDataDetectorTypesMaskWrapped{ .value = sourceProps.dataDetectorTypes }, {static_cast<RNCWebViewDataDetectorTypesMask>(RNCWebViewDataDetectorTypes::PhoneNumber)}).value),
|
|
85
61
|
decelerationRate(convertRawProp(context, rawProps, "decelerationRate", sourceProps.decelerationRate, {0.0})),
|
|
86
|
-
directionalLockEnabled(convertRawProp(context, rawProps, "directionalLockEnabled",
|
|
87
|
-
sourceProps.directionalLockEnabled, {false})),
|
|
62
|
+
directionalLockEnabled(convertRawProp(context, rawProps, "directionalLockEnabled", sourceProps.directionalLockEnabled, {true})),
|
|
88
63
|
enableApplePay(convertRawProp(context, rawProps, "enableApplePay", sourceProps.enableApplePay, {false})),
|
|
89
|
-
hideKeyboardAccessoryView(convertRawProp(context, rawProps, "hideKeyboardAccessoryView",
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
limitsNavigationsToAppBoundDomains(convertRawProp(context, rawProps, "limitsNavigationsToAppBoundDomains",
|
|
94
|
-
sourceProps.limitsNavigationsToAppBoundDomains, {false})),
|
|
95
|
-
mediaCapturePermissionGrantType(convertRawProp(context, rawProps, "mediaCapturePermissionGrantType",
|
|
96
|
-
sourceProps.mediaCapturePermissionGrantType, {RNCWebViewMediaCapturePermissionGrantType::Prompt})),
|
|
64
|
+
hideKeyboardAccessoryView(convertRawProp(context, rawProps, "hideKeyboardAccessoryView", sourceProps.hideKeyboardAccessoryView, {false})),
|
|
65
|
+
keyboardDisplayRequiresUserAction(convertRawProp(context, rawProps, "keyboardDisplayRequiresUserAction", sourceProps.keyboardDisplayRequiresUserAction, {true})),
|
|
66
|
+
limitsNavigationsToAppBoundDomains(convertRawProp(context, rawProps, "limitsNavigationsToAppBoundDomains", sourceProps.limitsNavigationsToAppBoundDomains, {false})),
|
|
67
|
+
mediaCapturePermissionGrantType(convertRawProp(context, rawProps, "mediaCapturePermissionGrantType", sourceProps.mediaCapturePermissionGrantType, {RNCWebViewMediaCapturePermissionGrantType::Prompt})),
|
|
97
68
|
pagingEnabled(convertRawProp(context, rawProps, "pagingEnabled", sourceProps.pagingEnabled, {false})),
|
|
98
|
-
pullToRefreshEnabled(convertRawProp(context, rawProps, "pullToRefreshEnabled",
|
|
99
|
-
|
|
100
|
-
scrollEnabled(convertRawProp(context, rawProps, "scrollEnabled", sourceProps.scrollEnabled, {
|
|
101
|
-
sharedCookiesEnabled(convertRawProp(context, rawProps, "sharedCookiesEnabled",
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
sourceProps.textInteractionEnabled, {false})),
|
|
105
|
-
useSharedProcessPool(convertRawProp(context, rawProps, "useSharedProcessPool",
|
|
106
|
-
sourceProps.useSharedProcessPool, {false})),
|
|
69
|
+
pullToRefreshEnabled(convertRawProp(context, rawProps, "pullToRefreshEnabled", sourceProps.pullToRefreshEnabled, {false})),
|
|
70
|
+
refreshControlLightMode(convertRawProp(context, rawProps, "refreshControlLightMode", sourceProps.refreshControlLightMode, {false})),
|
|
71
|
+
scrollEnabled(convertRawProp(context, rawProps, "scrollEnabled", sourceProps.scrollEnabled, {true})),
|
|
72
|
+
sharedCookiesEnabled(convertRawProp(context, rawProps, "sharedCookiesEnabled", sourceProps.sharedCookiesEnabled, {false})),
|
|
73
|
+
textInteractionEnabled(convertRawProp(context, rawProps, "textInteractionEnabled", sourceProps.textInteractionEnabled, {true})),
|
|
74
|
+
useSharedProcessPool(convertRawProp(context, rawProps, "useSharedProcessPool", sourceProps.useSharedProcessPool, {true})),
|
|
107
75
|
menuItems(convertRawProp(context, rawProps, "menuItems", sourceProps.menuItems, {})),
|
|
108
76
|
suppressMenuItems(convertRawProp(context, rawProps, "suppressMenuItems", sourceProps.suppressMenuItems, {})),
|
|
109
77
|
hasOnFileDownload(convertRawProp(context, rawProps, "hasOnFileDownload", sourceProps.hasOnFileDownload, {false})),
|
|
110
|
-
fraudulentWebsiteWarningEnabled(convertRawProp(context, rawProps, "fraudulentWebsiteWarningEnabled",
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
allowUniversalAccessFromFileURLs(convertRawProp(context, rawProps, "allowUniversalAccessFromFileURLs",
|
|
115
|
-
sourceProps.allowUniversalAccessFromFileURLs, {false})),
|
|
116
|
-
applicationNameForUserAgent(convertRawProp(context, rawProps, "applicationNameForUserAgent",
|
|
117
|
-
sourceProps.applicationNameForUserAgent, {})),
|
|
78
|
+
fraudulentWebsiteWarningEnabled(convertRawProp(context, rawProps, "fraudulentWebsiteWarningEnabled", sourceProps.fraudulentWebsiteWarningEnabled, {true})),
|
|
79
|
+
allowFileAccessFromFileURLs(convertRawProp(context, rawProps, "allowFileAccessFromFileURLs", sourceProps.allowFileAccessFromFileURLs, {false})),
|
|
80
|
+
allowUniversalAccessFromFileURLs(convertRawProp(context, rawProps, "allowUniversalAccessFromFileURLs", sourceProps.allowUniversalAccessFromFileURLs, {false})),
|
|
81
|
+
applicationNameForUserAgent(convertRawProp(context, rawProps, "applicationNameForUserAgent", sourceProps.applicationNameForUserAgent, {})),
|
|
118
82
|
basicAuthCredential(convertRawProp(context, rawProps, "basicAuthCredential", sourceProps.basicAuthCredential, {})),
|
|
119
|
-
cacheEnabled(convertRawProp(context, rawProps, "cacheEnabled", sourceProps.cacheEnabled, {
|
|
83
|
+
cacheEnabled(convertRawProp(context, rawProps, "cacheEnabled", sourceProps.cacheEnabled, {true})),
|
|
120
84
|
incognito(convertRawProp(context, rawProps, "incognito", sourceProps.incognito, {false})),
|
|
121
85
|
injectedJavaScript(convertRawProp(context, rawProps, "injectedJavaScript", sourceProps.injectedJavaScript, {})),
|
|
122
|
-
injectedJavaScriptBeforeContentLoaded(convertRawProp(context, rawProps, "injectedJavaScriptBeforeContentLoaded",
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
javaScriptCanOpenWindowsAutomatically(convertRawProp(context, rawProps, "javaScriptCanOpenWindowsAutomatically",
|
|
130
|
-
sourceProps.javaScriptCanOpenWindowsAutomatically, {false})),
|
|
131
|
-
javaScriptEnabled(convertRawProp(context, rawProps, "javaScriptEnabled", sourceProps.javaScriptEnabled, {false})),
|
|
132
|
-
webviewDebuggingEnabled(convertRawProp(context, rawProps, "webviewDebuggingEnabled",
|
|
133
|
-
sourceProps.webviewDebuggingEnabled, {false})),
|
|
134
|
-
mediaPlaybackRequiresUserAction(convertRawProp(context, rawProps, "mediaPlaybackRequiresUserAction",
|
|
135
|
-
sourceProps.mediaPlaybackRequiresUserAction, {false})),
|
|
86
|
+
injectedJavaScriptBeforeContentLoaded(convertRawProp(context, rawProps, "injectedJavaScriptBeforeContentLoaded", sourceProps.injectedJavaScriptBeforeContentLoaded, {})),
|
|
87
|
+
injectedJavaScriptForMainFrameOnly(convertRawProp(context, rawProps, "injectedJavaScriptForMainFrameOnly", sourceProps.injectedJavaScriptForMainFrameOnly, {true})),
|
|
88
|
+
injectedJavaScriptBeforeContentLoadedForMainFrameOnly(convertRawProp(context, rawProps, "injectedJavaScriptBeforeContentLoadedForMainFrameOnly", sourceProps.injectedJavaScriptBeforeContentLoadedForMainFrameOnly, {true})),
|
|
89
|
+
javaScriptCanOpenWindowsAutomatically(convertRawProp(context, rawProps, "javaScriptCanOpenWindowsAutomatically", sourceProps.javaScriptCanOpenWindowsAutomatically, {false})),
|
|
90
|
+
javaScriptEnabled(convertRawProp(context, rawProps, "javaScriptEnabled", sourceProps.javaScriptEnabled, {true})),
|
|
91
|
+
webviewDebuggingEnabled(convertRawProp(context, rawProps, "webviewDebuggingEnabled", sourceProps.webviewDebuggingEnabled, {false})),
|
|
92
|
+
mediaPlaybackRequiresUserAction(convertRawProp(context, rawProps, "mediaPlaybackRequiresUserAction", sourceProps.mediaPlaybackRequiresUserAction, {true})),
|
|
136
93
|
messagingEnabled(convertRawProp(context, rawProps, "messagingEnabled", sourceProps.messagingEnabled, {false})),
|
|
137
|
-
shouldStartLoadWithRequestEnabled(convertRawProp(context, rawProps, "shouldStartLoadWithRequestEnabled",
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
sourceProps.showsHorizontalScrollIndicator, {false})),
|
|
143
|
-
showsVerticalScrollIndicator(convertRawProp(context, rawProps, "showsVerticalScrollIndicator",
|
|
144
|
-
sourceProps.showsVerticalScrollIndicator, {false})),
|
|
94
|
+
shouldStartLoadWithRequestEnabled(convertRawProp(context, rawProps, "shouldStartLoadWithRequestEnabled", sourceProps.shouldStartLoadWithRequestEnabled, {false})),
|
|
95
|
+
hasOnOpenWindowEvent(convertRawProp(context, rawProps, "hasOnOpenWindowEvent", sourceProps.hasOnOpenWindowEvent, {false})),
|
|
96
|
+
showsHorizontalScrollIndicator(convertRawProp(context, rawProps, "showsHorizontalScrollIndicator", sourceProps.showsHorizontalScrollIndicator, {true})),
|
|
97
|
+
showsVerticalScrollIndicator(convertRawProp(context, rawProps, "showsVerticalScrollIndicator", sourceProps.showsVerticalScrollIndicator, {true})),
|
|
98
|
+
indicatorStyle(convertRawProp(context, rawProps, "indicatorStyle", sourceProps.indicatorStyle, {RNCWebViewIndicatorStyle::Default})),
|
|
145
99
|
newSource(convertRawProp(context, rawProps, "newSource", sourceProps.newSource, {})),
|
|
146
|
-
userAgent(convertRawProp(context, rawProps, "userAgent", sourceProps.userAgent, {}))
|
|
147
|
-
|
|
148
|
-
{}
|
|
100
|
+
userAgent(convertRawProp(context, rawProps, "userAgent", sourceProps.userAgent, {}))
|
|
101
|
+
{}
|
|
149
102
|
|
|
150
|
-
} // namespace react
|
|
151
|
-
} // namespace facebook
|
|
103
|
+
} // namespace facebook::react
|