/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend_delegate.h | 254 UIContentErrorCode LoadPage(int32_t pageId, const PageTarget& target, bool isMainPage, const std::string& params); 255 void LoadJS(const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage); 257 const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage); 259 const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage);
|
H A D | plugin_frontend_delegate.cpp | 1075 int32_t pageId, const PageTarget& target, bool isMainPage, const std::string& params) in LoadPage() 1098 page->SetFlushCallback([weak = AceType::WeakClaim(this), isMainPage](const RefPtr<JsAcePage>& acePage) { in LoadPage() 1101 delegate->FlushPageCommand(acePage, acePage->GetUrl(), isMainPage); in LoadPage() 1104 LoadJS(page, url, isMainPage); in LoadPage() 1109 const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage) in LoadJS() 1112 [weak = AceType::WeakClaim(this), page, url, isMainPage] { in LoadJS() 1115 delegate->loadJs_(url, page, isMainPage); in LoadJS() 1172 const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage) in OnPageReady() 1181 [weak = AceType::WeakClaim(this), page, url, jsCommands, isMainPage] { in OnPageReady() 1199 if (!isMainPage) { in OnPageReady() 1074 LoadPage( int32_t pageId, const PageTarget& target, bool isMainPage, const std::string& params) LoadPage() argument 1108 LoadJS( const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage) LoadJS() argument 1171 OnPageReady( const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage) OnPageReady() argument 1228 FlushPageCommand( const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage) FlushPageCommand() argument [all...] |
H A D | plugin_frontend.cpp | 210 const RefPtr<Framework::JsAcePage>& jsPage, bool isMainPage) { in InitializeFrontendDelegate() 213 jsEngine->LoadPluginComponent(url, jsPage, isMainPage); in InitializeFrontendDelegate()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/mock/ |
H A D | mock_plugin_frontend_delegate.cpp | 283 int32_t pageId, const PageTarget& target, bool isMainPage, const std::string& params) in LoadPage() 286 void PluginFrontendDelegate::LoadJS(const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage) in LoadJS() argument 291 void PluginFrontendDelegate::OnPageReady(const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage) {} in OnPageReady() argument 300 void PluginFrontendDelegate::FlushPageCommand(const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage) {} in FlushPageCommand() argument 282 LoadPage( int32_t pageId, const PageTarget& target, bool isMainPage, const std::string& params) LoadPage() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_engine.h | 118 void LoadJs(const std::string& url, const RefPtr<JsAcePage>& page, bool isMainPage) override; 177 void GetLoadOptions(std::string& optionStr, bool isMainPage, bool hasAppCode);
|
H A D | jsi_engine.cpp | 3249 void JsiEngine::GetLoadOptions(std::string& optionStr, bool isMainPage, bool hasAppCode) 3276 if (isMainPage && hasAppCode) { 3305 void JsiEngine::LoadJs(const std::string& url, const RefPtr<JsAcePage>& page, bool isMainPage) 3310 if (isMainPage) { 3334 if (isMainPage) { 3378 GetLoadOptions(optionStr, isMainPage, jsAppCode->IsFunction(runtime)); 3381 if (isMainPage && (!renderOptions || !renderOptions->SetProperty(runtime, "appCode", jsAppCode))) {
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate_impl.h | 39 using LoadJsCallback = std::function<void(const std::string&, const RefPtr<JsAcePage>&, bool isMainPage)>; 364 UIContentErrorCode LoadPage(int32_t pageId, const std::string& url, bool isMainPage, const std::string& params); 365 void OnPageReady(const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage); 366 void FlushPageCommand(const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage);
|
H A D | frontend_delegate_impl.cpp | 1223 int32_t pageId, const std::string& url, bool isMainPage, const std::string& params) in LoadPage() 1244 page->SetFlushCallback([weak = AceType::WeakClaim(this), isMainPage](const RefPtr<JsAcePage>& acePage) { in LoadPage() 1247 delegate->FlushPageCommand(acePage, acePage->GetUrl(), isMainPage); in LoadPage() 1251 [weak = AceType::WeakClaim(this), page, url, isMainPage] { in LoadPage() 1257 delegate->loadJs_(url, page, isMainPage); in LoadPage() 1327 void FrontendDelegateImpl::OnPageReady(const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage) in OnPageReady() argument 1337 [weak = AceType::WeakClaim(this), page, url, jsCommands, isMainPage] { in OnPageReady() 1362 if (!isMainPage) { in OnPageReady() 1397 void FrontendDelegateImpl::FlushPageCommand(const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage) in FlushPageCommand() argument 1404 OnPageReady(page, url, isMainPage); in FlushPageCommand() 1222 LoadPage( int32_t pageId, const std::string& url, bool isMainPage, const std::string& params) LoadPage() argument [all...] |
H A D | js_frontend.cpp | 301 const std::string& url, const RefPtr<Framework::JsAcePage>& jsPage, bool isMainPage) { in InitializeFrontendDelegate() 306 jsEngine->LoadJs(url, jsPage, isMainPage); in InitializeFrontendDelegate()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/ |
H A D | js_engine.h | 109 virtual void LoadJs(const std::string& url, const RefPtr<JsAcePage>& page, bool isMainPage) = 0; 183 virtual bool LoadPluginComponent(const std::string &url, const RefPtr<JsAcePage>& page, bool isMainPage) in LoadPluginComponent() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | frontend_delegate_declarative.h | 379 int32_t pageId, const PageTarget& target, bool isMainPage, const std::string& params, bool isRestore = false); 380 void OnPageReady(const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage, bool isRestore); 382 const RefPtr<Framework::JsAcePage>& page, const std::string& url, bool isMainPage, bool isRestore);
|
H A D | frontend_delegate_declarative.cpp | 2219 int32_t pageId, const PageTarget& target, bool isMainPage, const std::string& params, bool isRestore) in LoadPage() 2250 page->SetFlushCallback([weak = AceType::WeakClaim(this), isMainPage, isRestore](const RefPtr<JsAcePage>& acePage) { in LoadPage() 2256 delegate->FlushPageCommand(acePage, acePage->GetUrl(), isMainPage, isRestore); in LoadPage() 2263 [weak = AceType::WeakClaim(this), page, isMainPage] { in LoadPage() 2268 delegate->loadJs_(page->GetUrl(), page, isMainPage); in LoadPage() 2384 const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage, bool isRestore) in OnPageReady() 2394 [weak = AceType::WeakClaim(this), page, url, jsCommands, isMainPage, isRestore] { in OnPageReady() 2418 if (!isMainPage) { in OnPageReady() 2498 const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage, bool isRestore) in FlushPageCommand() 2505 OnPageReady(page, url, isMainPage, isRestor in FlushPageCommand() 2218 LoadPage( int32_t pageId, const PageTarget& target, bool isMainPage, const std::string& params, bool isRestore) LoadPage() argument 2383 OnPageReady( const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage, bool isRestore) OnPageReady() argument 2497 FlushPageCommand( const RefPtr<JsAcePage>& page, const std::string& url, bool isMainPage, bool isRestore) FlushPageCommand() argument [all...] |
H A D | declarative_frontend.cpp | 261 const RefPtr<Framework::JsAcePage>& jsPage, bool isMainPage) { in Initialize() 266 jsEngine->LoadJs(url, jsPage, isMainPage); in Initialize()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_declarative_engine.h | 284 void LoadJs(const std::string& url, const RefPtr<JsAcePage>& page, bool isMainPage) override; 466 bool LoadPluginComponent(const std::string& url, const RefPtr<JsAcePage>& page, bool isMainPage) override;
|
H A D | jsi_declarative_engine.cpp | 1510 bool JsiDeclarativeEngine::LoadPluginComponent(const std::string &url, const RefPtr<JsAcePage>& page, bool isMainPage) in LoadPluginComponent() argument 1512 LoadJs(url, page, isMainPage); in LoadPluginComponent() 1524 void JsiDeclarativeEngine::LoadJs(const std::string& url, const RefPtr<JsAcePage>& page, bool isMainPage) in LoadJs() argument 1530 if (isMainPage) { in LoadJs() 1564 if (isMainPage) { in LoadJs()
|