-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NUI] Integrate the the applied modifications related to WebView from the previous version (API11) into the current version #6285
Conversation
- JavascriptMessageHandler callback which has two arguments of msg name and body
0544135
to
fcc01aa
Compare
Internal API ChangedAdded: 23, Removed: 0, Changed: 0Added+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.BaseComponents.WebView::AddJavaScriptMessageHandler(System.String,Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.IAsyncResult Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler::BeginInvoke(System.String,System.String,System.AsyncCallback,System.Object)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler::.ctor(System.Object,System.IntPtr)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler::EndInvoke(System.IAsyncResult)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler::Invoke(System.String,System.String)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate::PolicyDecisionError()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.WebCertificate::Suspend()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.WebCertificate/PolicyDecisionErrorType
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::AuthorityInvalid
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::CommonNameInvalid
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::DateInvalid
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::Invalid
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::NameViolation
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::NonUniqueName
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::NoRevocationMechanism
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::PinnedKeyNotInChain
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::Revoked
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::UnableToCheckRevocation
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::Unknown
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::ValidityTooLong
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::WeakAlgorithm
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::WeakKey
|
handlerRootMap[objectName] = handler; | ||
} | ||
else | ||
{ | ||
handlerRootMap.Add(objectName, handler); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 그냥 ContainsKey
검사를 하지 않고
handlerRootMap[objectName] = handler;
항상 이렇게하면 간단하면서 동일한 기능을 하는 코드가 되는것 같습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네. 리뷰 감사합니다. 말씀해주신데로 수정하였습니다.
감사합니다.
fcc01aa
to
9f2d6e7
Compare
Internal API ChangedAdded: 23, Removed: 0, Changed: 0Added+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.BaseComponents.WebView::AddJavaScriptMessageHandler(System.String,Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.IAsyncResult Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler::BeginInvoke(System.String,System.String,System.AsyncCallback,System.Object)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler::.ctor(System.Object,System.IntPtr)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler::EndInvoke(System.IAsyncResult)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.BaseComponents.WebView/JavaScriptEntireMessageHandler::Invoke(System.String,System.String)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate::PolicyDecisionError()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.WebCertificate::Suspend()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.WebCertificate/PolicyDecisionErrorType
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::AuthorityInvalid
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::CommonNameInvalid
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::DateInvalid
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::Invalid
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::NameViolation
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::NonUniqueName
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::NoRevocationMechanism
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::PinnedKeyNotInChain
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::Revoked
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::UnableToCheckRevocation
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::Unknown
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::ValidityTooLong
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::WeakAlgorithm
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.WebCertificate/PolicyDecisionErrorType Tizen.NUI.WebCertificate/PolicyDecisionErrorType::WeakKey
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to push those dali patches at devel/master
Yes, I will definitely do it. Thank you~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of Change
[NUI] Integrate the the applied modifications related to WebView from the previous version (API11) into the current version
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/316467
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/316468
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/316469
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-extension/+/316470
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-extension/+/316471
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/316472
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/316473
API Changes
nothing