Skybound.Gecko.GeckoWebBrowser.WindowCreator.WindowCreator C# (CSharp) Method

WindowCreator() static private method

static private WindowCreator ( ) : System
return System
            static WindowCreator()
            {
                // give an nsIWindowCreator to the WindowWatcher service
                nsIWindowWatcher watcher = Xpcom.GetService<nsIWindowWatcher>("@mozilla.org/embedcomp/window-watcher;1");
                if (watcher != null)
                {
                    //disabled for now because it's not loading the proper URL automatically
                    watcher.SetWindowCreator(new WindowCreator());
                }
            }