File tree Expand file tree Collapse file tree 1 file changed +18
-15
lines changed
CefSharp.BrowserSubprocess.Core Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change 99
1010namespace CefSharp
1111{
12- // / <summary>
13- // / Global CEF methods are exposed through this class. e.g. CefRegisterExtension maps to Cef.RegisterExtension
14- // / Only methods relevant to the Render Process are included in this class.
15- // / CEF API Doc https://magpcss.org/ceforum/apidocs3/projects/(default)/(_globals).html
16- // / This class cannot be inherited.
17- // / </summary>
18- public ref class Cef sealed
12+ namespace BrowserSubprocess
1913 {
20- public:
2114 // / <summary>
22- // / Register a new V8 extension with the specified JavaScript extension code.
15+ // / Global CEF methods are exposed through this class. e.g. CefRegisterExtension maps to Cef.RegisterExtension
16+ // / Only methods relevant to the Render Process are included in this class.
17+ // / CEF API Doc https://magpcss.org/ceforum/apidocs3/projects/(default)/(_globals).html
18+ // / This class cannot be inherited.
2319 // / </summary>
24- // / <param name="name">name</param>
25- // / <param name="javascriptCode">JavaScript code</param>
26- static void RegisterExtension (String^ name, String^ javascriptCode)
20+ public ref class Cef sealed
2721 {
28- CefRegisterExtension (StringUtils::ToNative (name), StringUtils::ToNative (javascriptCode), nullptr );
29- }
30- };
22+ public:
23+ // / <summary>
24+ // / Register a new V8 extension with the specified JavaScript extension code.
25+ // / </summary>
26+ // / <param name="name">name</param>
27+ // / <param name="javascriptCode">JavaScript code</param>
28+ static void RegisterExtension (String^ name, String^ javascriptCode)
29+ {
30+ CefRegisterExtension (StringUtils::ToNative (name), StringUtils::ToNative (javascriptCode), nullptr );
31+ }
32+ };
33+ }
3134}
You can’t perform that action at this time.
0 commit comments