mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
Let's continue with the housekeeping, shall we. Rearranged the properties so that they are at the beginning of the class, where they logically belong.
This commit is contained in:
@@ -7,6 +7,21 @@ namespace CefSharp.BrowserSubprocess
|
||||
{
|
||||
public class CefSubprocess : ManagedCefApp
|
||||
{
|
||||
private SubprocessServiceHost javascriptServiceHost;
|
||||
private CefBrowserBase browser;
|
||||
|
||||
public int? ParentProcessId { get; private set; }
|
||||
|
||||
public CefBrowserBase Browser
|
||||
{
|
||||
get { return browser; }
|
||||
}
|
||||
|
||||
public SubprocessServiceHost ServiceHost
|
||||
{
|
||||
get { return javascriptServiceHost; }
|
||||
}
|
||||
|
||||
public static CefSubprocess Instance { get; private set; }
|
||||
|
||||
public CefSubprocess(IEnumerable<string> args)
|
||||
@@ -45,21 +60,6 @@ namespace CefSharp.BrowserSubprocess
|
||||
ParentProcessId = int.Parse(parentProcessId);
|
||||
}
|
||||
|
||||
private SubprocessServiceHost javascriptServiceHost;
|
||||
private CefBrowserBase browser;
|
||||
|
||||
public int? ParentProcessId { get; private set; }
|
||||
|
||||
public CefBrowserBase Browser
|
||||
{
|
||||
get { return browser; }
|
||||
}
|
||||
|
||||
public SubprocessServiceHost ServiceHost
|
||||
{
|
||||
get { return javascriptServiceHost; }
|
||||
}
|
||||
|
||||
public override void OnBrowserCreated(CefBrowserBase cefBrowserWrapper)
|
||||
{
|
||||
browser = cefBrowserWrapper;
|
||||
|
||||
Reference in New Issue
Block a user