File tree Expand file tree Collapse file tree
CefSharp.BrowserSubprocess.Core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ namespace CefSharp
2828 {
2929 private:
3030 MCefRefPtr<CefBrowser> _cefBrowser;
31+ MCefRefPtr<CefListValue> _javascriptBindingApiAllowOrigins;
3132
3233 public:
3334 CefBrowserWrapper (const CefRefPtr<CefBrowser> &cefBrowser)
@@ -45,7 +46,7 @@ namespace CefSharp
4546 {
4647 _cefBrowser = nullptr ;
4748
48- JavascriptBindingApiAllowOrigins = nullptr ;
49+ _javascriptBindingApiAllowOrigins = nullptr ;
4950 }
5051
5152 ~CefBrowserWrapper ()
@@ -57,7 +58,11 @@ namespace CefSharp
5758 property bool IsPopup;
5859 property bool JavascriptBindingApiEnabled;
5960 property bool JavascriptBindingApiHasAllowOrigins;
60- property CefRefPtr<CefListValue> JavascriptBindingApiAllowOrigins;
61+ property CefRefPtr<CefListValue> JavascriptBindingApiAllowOrigins
62+ {
63+ CefRefPtr<CefListValue> get () { return _javascriptBindingApiAllowOrigins.get (); }
64+ void set (CefRefPtr<CefListValue> value) { _javascriptBindingApiAllowOrigins = value.get (); }
65+ }
6166
6267#ifndef NETCOREAPP
6368 // This allows us to create the WCF proxies back to our parent process.
You can’t perform that action at this time.
0 commit comments