Inheritance: Xilium.CefGlue.CefApp
 internal CefGlueWPFWebWindow(NeutroniumCefApp app)
 {
     _WpfCefBrowser = new WpfCefBrowser(app)
     {
         Visibility = Visibility.Hidden,
         HorizontalAlignment = HorizontalAlignment.Stretch,
         VerticalAlignment = VerticalAlignment.Stretch,
         ContextMenu = new ContextMenu() { Visibility = Visibility.Collapsed }
     };
 }
        public CefCoreSession(CefSettings iCefSettings, NeutroniumCefApp iCefApp, string[] iArgs)
        {
            _CefApp = iCefApp;
            _Args = iArgs;
            _CefSettings = iCefSettings;
            var mainArgs = new CefMainArgs(_Args);

            CefRuntime.Load();

            var exitCode = CefRuntime.ExecuteProcess(mainArgs, _CefApp, IntPtr.Zero);
            if (exitCode != -1)
                throw ExceptionHelper.Get(string.Format("Unable to execute cef process: {0}", exitCode));

            CefRuntime.Initialize(mainArgs, _CefSettings, _CefApp, IntPtr.Zero);
        }
Example #3
0
        public CefCoreSession(CefSettings iCefSettings, NeutroniumCefApp iCefApp, string[] iArgs)
        {
            _CefApp      = iCefApp;
            _Args        = iArgs;
            _CefSettings = iCefSettings;
            var mainArgs = new CefMainArgs(_Args);

            CefRuntime.Load();

            var exitCode = CefRuntime.ExecuteProcess(mainArgs, _CefApp, IntPtr.Zero);

            if (exitCode != -1)
            {
                throw ExceptionHelper.Get(string.Format("Unable to execute cef process: {0}", exitCode));
            }

            CefRuntime.Initialize(mainArgs, _CefSettings, _CefApp, IntPtr.Zero);
        }
Example #4
0
 public NeutroniumLoadHandler(NeutroniumCefApp mvvmCefApp)
 {
     _MVVMCefApp = mvvmCefApp;
 }
 internal NeutroniumRenderProcessHandler(NeutroniumCefApp MVVMCefApp, CefLoadHandler CefLoadHandler)
 {
     _MVVMCefApp = MVVMCefApp;
     _CefLoadHandler = CefLoadHandler;
 }
 internal NeutroniumRenderProcessHandler(NeutroniumCefApp MVVMCefApp, CefLoadHandler CefLoadHandler)
 {
     _MVVMCefApp     = MVVMCefApp;
     _CefLoadHandler = CefLoadHandler;
 }