Home
last modified time | relevance | path

Searched refs:NWeb (Results 1 - 25 of 32) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_client_impl.h33 class DownloadListenerImpl : public OHOS::NWeb::NWebDownloadCallback {
50 class AccessibilityEventListenerImpl : public OHOS::NWeb::NWebAccessibilityEventCallback {
66 class ReleaseSurfaceImpl : public OHOS::NWeb::NWebReleaseSurfaceCallback {
87 class FindListenerImpl : public OHOS::NWeb::NWebFindCallback {
104 class SpanstringConvertHtmlImpl : public OHOS::NWeb::NWebSpanstringConvertHtmlCallback {
124 public OHOS::NWeb::NWebHandler {
129 void SetNWeb(std::shared_ptr<OHOS::NWeb::NWeb> nweb) override;
132 bool OnConsoleLog(std::shared_ptr<OHOS::NWeb::NWebConsoleLog> message) override;
140 void OnFullScreenEnter(std::shared_ptr<NWeb
[all...]
H A Dweb_delegate.h89 ConsoleLogOhos(std::shared_ptr<OHOS::NWeb::NWebConsoleLog> message) : message_(message) {} in ConsoleLogOhos()
100 std::shared_ptr<OHOS::NWeb::NWebConsoleLog> message_;
107 ResultOhos(std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result) : result_(result) {} in ResultOhos()
114 std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result_;
121 FullScreenExitHandlerOhos(std::shared_ptr<OHOS::NWeb::NWebFullScreenExitHandler> handler, in FullScreenExitHandlerOhos()
125 std::shared_ptr<OHOS::NWeb::NWebFullScreenExitHandler> handler_;
133 WebCustomKeyboardHandlerOhos(std::shared_ptr<OHOS::NWeb::NWebCustomKeyboardHandler> keyboardHandler) : in WebCustomKeyboardHandlerOhos()
172 std::shared_ptr<OHOS::NWeb::NWebCustomKeyboardHandler> keyboardHandler_;
179 AuthResultOhos(std::shared_ptr<OHOS::NWeb::NWebJSHttpAuthResult> result) : result_(result) {} in AuthResultOhos()
186 std::shared_ptr<OHOS::NWeb
[all...]
H A Dweb_client_impl.cpp24 explicit NWebResponseAsyncHandle(std::shared_ptr<OHOS::NWeb::NWebUrlResourceResponse> nwebResponse) in NWebResponseAsyncHandle()
90 std::shared_ptr<OHOS::NWeb::NWebUrlResourceResponse> nwebResponse_;
96 std::shared_ptr<NWeb::NWebJSDialogResult> result, in OnJsCommonDialog()
181 bool WebClientImpl::OnFocus(OHOS::NWeb::NWebFocusSource source) in OnFocus()
193 bool WebClientImpl::OnConsoleLog(const std::shared_ptr<OHOS::NWeb::NWebConsoleLog> message) in OnConsoleLog()
255 void WebClientImpl::OnFullScreenEnter(std::shared_ptr<NWeb::NWebFullScreenExitHandler> handler) in OnFullScreenEnter()
265 std::shared_ptr<NWeb::NWebFullScreenExitHandler> handler, int videoNaturalWidth, int videoNaturalHeight) in OnFullScreenEnterWithVideoSize()
285 std::shared_ptr<OHOS::NWeb::NWebGeolocationCallbackInterface> callback) in OnGeolocationShow()
295 void WebClientImpl::SetNWeb(std::shared_ptr<OHOS::NWeb::NWeb> nwe
[all...]
H A Dweb_javascript_execute_callback.h25 using namespace OHOS::NWeb;
29 class WebJavaScriptExecuteCallBack : public OHOS::NWeb::NWebMessageValueCallback {
46 class WebMessageValueCallBackImpl : public OHOS::NWeb::NWebMessageValueCallback {
H A Dweb_delegate.cpp371 if (resourcesId & OHOS::NWeb::NWebAccessRequest::Resources::VIDEO_CAPTURE) { in GetResources()
374 if (resourcesId & OHOS::NWeb::NWebAccessRequest::Resources::AUDIO_CAPTURE) { in GetResources()
377 if (resourcesId & OHOS::NWeb::NWebAccessRequest::Resources::PROTECTED_MEDIA_ID) { in GetResources()
380 if (resourcesId & OHOS::NWeb::NWebAccessRequest::Resources::MIDI_SYSEX) { in GetResources()
383 if (resourcesId & OHOS::NWeb::NWebAccessRequest::Resources::CLIPBOARD_READ_WRITE) { in GetResources()
386 if (resourcesId & OHOS::NWeb::NWebAccessRequest::Resources::SENSORS) { in GetResources()
399 resourcesId |= OHOS::NWeb::NWebAccessRequest::Resources::VIDEO_CAPTURE; in Grant()
401 resourcesId |= OHOS::NWeb::NWebAccessRequest::Resources::AUDIO_CAPTURE; in Grant()
403 resourcesId |= OHOS::NWeb::NWebAccessRequest::Resources::PROTECTED_MEDIA_ID; in Grant()
405 resourcesId |= OHOS::NWeb in Grant()
[all...]
H A Dweb_javascript_result_callback.h28 using namespace OHOS::NWeb;
H A Dweb_javascript_result_callback.cpp21 using namespace OHOS::NWeb;
/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Drender_web.h103 std::shared_ptr<OHOS::NWeb::NWebQuickMenuParams> params,
104 std::shared_ptr<OHOS::NWeb::NWebQuickMenuCallback> callback);
107 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> insertHandle,
108 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> startSelectionHandle,
109 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> endSelectionHandle);
113 bool OnCursorChange(const OHOS::NWeb::CursorType& type, std::shared_ptr<OHOS::NWeb::NWebCursorInfo> info);
115 std::shared_ptr<OHOS::NWeb::NWebSelectPopupMenuParam> params,
116 std::shared_ptr<OHOS::NWeb::NWebSelectPopupMenuCallback> callback);
178 bool IsTouchHandleValid(std::shared_ptr<OHOS::NWeb
[all...]
H A Drender_web.cpp33 const LinearEnumMapNode<OHOS::NWeb::CursorType, MouseFormat> g_cursorTypeMap[] = {
34 { OHOS::NWeb::CursorType::CT_CROSS, MouseFormat::CROSS },
35 { OHOS::NWeb::CursorType::CT_HAND, MouseFormat::HAND_POINTING },
36 { OHOS::NWeb::CursorType::CT_IBEAM, MouseFormat::TEXT_CURSOR },
37 { OHOS::NWeb::CursorType::CT_HELP, MouseFormat::HELP },
38 { OHOS::NWeb::CursorType::CT_EASTRESIZE, MouseFormat::WEST_EAST },
39 { OHOS::NWeb::CursorType::CT_NORTHRESIZE, MouseFormat::NORTH_SOUTH },
40 { OHOS::NWeb::CursorType::CT_NORTHEASTRESIZE, MouseFormat::NORTH_EAST_SOUTH_WEST },
41 { OHOS::NWeb::CursorType::CT_NORTHWESTRESIZE, MouseFormat::NORTH_WEST_SOUTH_EAST },
42 { OHOS::NWeb
[all...]
H A Dweb_element.cpp75 renderWeb->GetDelegate()->SetBlurReason(static_cast<OHOS::NWeb::BlurReason>(FocusNode::blurReason_)); in OnBlur()
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/
H A Dweb_pattern_select_test_ng.cpp41 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> g_insertHandle = nullptr;
42 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> g_startSelectionHandle = nullptr;
43 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> g_endSelectionHandle = nullptr;
45 namespace OHOS::NWeb { namespace in OHOS
284 class CustomNWebTouchHandleState : public OHOS::NWeb::NWebTouchHandleState {
356 } // namespace OHOS::NWeb
410 auto insertHandle = std::make_shared<NWeb::NWebTouchHandleStateMock>(); in HWTEST_F()
412 auto startSelectionHandle = std::make_shared<NWeb::NWebTouchHandleStateMock>(); in HWTEST_F()
414 auto endSelectionHandle = std::make_shared<NWeb::NWebTouchHandleStateMock>(); in HWTEST_F()
441 auto insertHandle = std::make_shared<NWeb in HWTEST_F()
[all...]
H A Dmock_web_delegate.cpp29 class MockNWebAccessibilityNodeInfoOnlyForReturn : public NWeb::NWebAccessibilityNodeInfo {
472 bool WebDelegate::RequestFocus(OHOS::NWeb::NWebFocusSource source) in RequestFocus()
586 class NWebAutoFillCallbackImpl : public OHOS::NWeb::NWebMessageValueCallback {
591 void OnReceiveValue(std::shared_ptr<NWeb::NWebMessage> result) override
624 std::shared_ptr<OHOS::NWeb::NWeb> WebDelegate::GetNweb() in GetNweb()
633 void WebDelegate::UpdateDarkModeAuto(RefPtr<WebDelegate> delegate, std::shared_ptr<OHOS::NWeb::NWebPreference> setting) in UpdateDarkModeAuto()
723 const std::string& origin, const std::shared_ptr<OHOS::NWeb::NWebGeolocationCallbackInterface>& callback) in OnGeolocationPermissionsShowPrompt()
725 void WebDelegate::OnPermissionRequestPrompt(const std::shared_ptr<OHOS::NWeb::NWebAccessRequest>& request) {} in OnPermissionRequestPrompt()
726 void WebDelegate::OnScreenCaptureRequest(const std::shared_ptr<OHOS::NWeb in OnPermissionRequestPrompt()
[all...]
H A Dweb_pattern_window_test_ng.cpp41 namespace OHOS::NWeb { namespace in OHOS
138 } // namespace OHOS::NWeb
154 class NWebDateTimeChooserMock : public NWeb::NWebDateTimeChooser {
157 NWeb::DateTimeChooserType GetType() in GetType()
159 return NWeb::DateTimeChooserType::DTC_DATE; in GetType()
167 NWeb::DateTime GetMinimum() in GetMinimum()
169 NWeb::DateTime time = {}; in GetMinimum()
173 NWeb::DateTime GetMaximum() in GetMaximum()
175 NWeb::DateTime time = {}; in GetMaximum()
179 NWeb
[all...]
H A Dweb_pattern_new_branch_test.cpp42 using namespace OHOS::NWeb;
49 class NWebQuickMenuParamsNeMockFirst : public OHOS::NWeb::NWebQuickMenuParams {
113 class NWebQuickMenuParamsNeMockSecond : public OHOS::NWeb::NWebQuickMenuParams {
177 class NWebQuickMenuParamsNeMockThird : public OHOS::NWeb::NWebQuickMenuParams {
241 class NWebQuickMenuParamsNeMockForth : public OHOS::NWeb::NWebQuickMenuParams {
305 class NWebTouchHandleStateNeMockFirst : public OHOS::NWeb::NWebTouchHandleState {
364 class NWebTouchHandleStateNeMockSecond : public OHOS::NWeb::NWebTouchHandleState {
423 class NWebTouchHandleStateNeMockThird : public OHOS::NWeb::NWebTouchHandleState {
482 class NWebTouchHandleStateNeMockForth : public OHOS::NWeb::NWebTouchHandleState {
541 class NWebTouchHandleStateNeMockFifth : public OHOS::NWeb
[all...]
H A Dweb_pattern_add_test_ng.cpp47 namespace OHOS::NWeb { namespace in OHOS
118 } // namespace OHOS::NWeb
211 class NWebDragDataDummy : public NWeb::NWebDragData {
273 class NWebDragDataTrueDummy : public NWeb::NWebDragData {
354 class NWebDateTimeChooserTestImpl : public NWeb::NWebDateTimeChooser {
357 NWeb::DateTimeChooserType GetType() in GetType()
367 NWeb::DateTime GetMinimum() in GetMinimum()
369 NWeb::DateTime time = {}; in GetMinimum()
373 NWeb::DateTime GetMaximum() in GetMaximum()
375 NWeb in GetMaximum()
[all...]
H A Dweb_pattern_nbranch_test.cpp57 using namespace OHOS::NWeb;
129 class NWebDateTimeChooserMock : public NWeb::NWebDateTimeChooser {
132 NWeb::DateTimeChooserType GetType() in GetType()
134 return NWeb::DateTimeChooserType::DTC_DATE; in GetType()
142 NWeb::DateTime GetMinimum() in GetMinimum()
144 NWeb::DateTime time = {}; in GetMinimum()
148 NWeb::DateTime GetMaximum() in GetMaximum()
150 NWeb::DateTime time = {}; in GetMaximum()
154 NWeb::DateTime GetDialogValue() in GetDialogValue()
156 NWeb in GetDialogValue()
[all...]
H A Dweb_pattern_test_handle_ng.cpp225 namespace OHOS::NWeb { namespace in OHOS::OHOS::Ace::OHOS
411 } // namespace OHOS::NWeb
492 webPattern->delegate_->dragData_ = std::make_shared<OHOS::NWeb::NWebDragDataMock>(); in HWTEST_F()
529 webPattern->delegate_->dragData_ = std::make_shared<OHOS::NWeb::NWebDragDataMock>(); in HWTEST_F()
632 webPattern->delegate_->dragData_ = std::make_shared<OHOS::NWeb::NWebDragDataMock>(); in HWTEST_F()
677 webPattern->delegate_->dragData_ = std::make_shared<OHOS::NWeb::NWebDragDataMock>(); in HWTEST_F()
722 webPattern->delegate_->dragData_ = std::make_shared<OHOS::NWeb::NWebDragDataMock>(); in HWTEST_F()
772 webPattern->delegate_->dragData_ = std::make_shared<OHOS::NWeb::NWebDragDataMock>(); in HWTEST_F()
822 webPattern->delegate_->dragData_ = std::make_shared<OHOS::NWeb::NWebDragDataMock>(); in HWTEST_F()
1049 auto event = std::make_shared<OHOS::NWeb in HWTEST_F()
[all...]
H A Dweb_pattern_method_test_ng.cpp62 class NWebCursorInfoTestImpl : public OHOS::NWeb::NWebCursorInfo {
98 class NWebTouchHandleStateTestImpl : public OHOS::NWeb::NWebTouchHandleState {
139 class NWebTouchHandleStateEndTestImpl : public OHOS::NWeb::NWebTouchHandleState {
183 class NWebTouchHandleStateBeginTestImpl : public OHOS::NWeb::NWebTouchHandleState {
588 OHOS::NWeb::CursorType type = OHOS::NWeb::CursorType::CT_NONE; in HWTEST_F()
618 OHOS::NWeb::CursorType type = OHOS::NWeb::CursorType::CT_NONE; in HWTEST_F()
649 OHOS::NWeb::CursorType type = OHOS::NWeb in HWTEST_F()
[all...]
H A Dweb_pattern_test_ng.cpp42 namespace OHOS::NWeb { namespace in OHOS::OHOS
127 } // namespace OHOS::NWeb
176 class MockNWebDragData : public NWeb::NWebDragData {
441 rerult = webPattern->OnCursorChange(OHOS::NWeb::CursorType::CT_CROSS, nullptr); in HWTEST_F()
443 std::shared_ptr<OHOS::NWeb::NWebSelectPopupMenuParamMock> params = in HWTEST_F()
444 std::make_shared<OHOS::NWeb::NWebSelectPopupMenuParamMock>(); in HWTEST_F()
446 std::shared_ptr<OHOS::NWeb::NWebSelectPopupMenuCallbackMock> callback = in HWTEST_F()
447 std::make_shared<OHOS::NWeb::NWebSelectPopupMenuCallbackMock>(); in HWTEST_F()
497 std::shared_ptr<OHOS::NWeb::NWebSelectPopupMenuCallbackMock> callback = in HWTEST_F()
498 std::make_shared<OHOS::NWeb in HWTEST_F()
[all...]
H A Dweb_pattern_web_test_ng.cpp42 using namespace OHOS::NWeb;
59 namespace OHOS::NWeb { namespace in OHOS
103 } // namespace OHOS::NWeb
126 class NWebTouchHandleStateUN : public OHOS::NWeb::NWebTouchHandleState {
167 class NWebTouchHandleStateFA : public OHOS::NWeb::NWebTouchHandleState {
208 class NWebTouchHandleStateTR : public OHOS::NWeb::NWebTouchHandleState {
1573 auto handle_ = std::make_shared<OHOS::NWeb::MockNWebTouchHandleStateImpl>(); in HWTEST_F()
1606 auto handle_ = std::make_shared<OHOS::NWeb::MockNWebTouchHandleStateImpl>(); in HWTEST_F()
1640 auto handle_ = std::make_shared<OHOS::NWeb::MockNWebTouchHandleStateImpl>(); in HWTEST_F()
H A Dweb_pattern_test.cpp30 using namespace OHOS::NWeb;
290 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> handle = nullptr; in HWTEST_F()
H A Dweb_pattern_focus_test_ng.cpp35 namespace OHOS::NWeb { namespace in OHOS
125 class CustomNWebTouchHandleState : public OHOS::NWeb::NWebTouchHandleState {
203 } // namespace OHOS::NWeb
746 webPattern->delegate_->dragData_ = std::make_shared<OHOS::NWeb::NWebDragDataMock>(); in HWTEST_F()
1459 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> handle = nullptr; in HWTEST_F()
1481 auto handle = std::make_shared<NWeb::CustomNWebTouchHandleState>(); in HWTEST_F()
1509 auto handle = std::make_shared<NWeb::CustomNWebTouchHandleState>(); in HWTEST_F()
1795 auto touchHandle = std::make_shared<NWeb::CustomNWebTouchHandleState>(); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.h79 OHOS::NWeb::NWebAutofillEvent eventType = OHOS::NWeb::NWebAutofillEvent::UNKNOWN;
507 bool RunQuickMenu(std::shared_ptr<OHOS::NWeb::NWebQuickMenuParams> params,
508 std::shared_ptr<OHOS::NWeb::NWebQuickMenuCallback> callback);
513 std::shared_ptr<OHOS::NWeb::NWebQuickMenuParams> params,
514 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> startHandle,
515 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> endHandle);
517 std::shared_ptr<OHOS::NWeb::NWebQuickMenuParams> params,
518 std::shared_ptr<OHOS::NWeb::NWebTouchHandleState> startHandle,
519 std::shared_ptr<OHOS::NWeb
[all...]
H A Dweb_pattern.cpp93 const LinearEnumMapNode<OHOS::NWeb::CursorType, MouseFormat> g_cursorTypeMap[] = {
94 { OHOS::NWeb::CursorType::CT_CROSS, MouseFormat::CROSS },
95 { OHOS::NWeb::CursorType::CT_HAND, MouseFormat::HAND_POINTING },
96 { OHOS::NWeb::CursorType::CT_IBEAM, MouseFormat::TEXT_CURSOR },
97 { OHOS::NWeb::CursorType::CT_WAIT, MouseFormat::LOADING },
98 { OHOS::NWeb::CursorType::CT_HELP, MouseFormat::HELP },
99 { OHOS::NWeb::CursorType::CT_EASTRESIZE, MouseFormat::WEST_EAST },
100 { OHOS::NWeb::CursorType::CT_NORTHRESIZE, MouseFormat::NORTH_SOUTH },
101 { OHOS::NWeb::CursorType::CT_NORTHEASTRESIZE, MouseFormat::NORTH_EAST_SOUTH_WEST },
102 { OHOS::NWeb
[all...]
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Djs_accessibility_manager.h34 namespace OHOS::NWeb { namespace in OHOS
36 } // namespace OHOS::NWeb::NWebAccessibilityNodeInfo
500 void UpdateWebAccessibilityElementInfo(const std::shared_ptr<NWeb::NWebAccessibilityNodeInfo>& node,
503 void UpdateWebAccessibilityElementInfo(const std::shared_ptr<NWeb::NWebAccessibilityNodeInfo>& node,

Completed in 44 milliseconds

12