Exemplo n.º 1
0
        protected HTMLControlBase(IUrlSolver iIUrlSolver)
        {
            if ((_CefCoreSession==null) && !DesignerProperties.GetIsInDesignMode(this))
            {
                _CefCoreSession = CefCoreSessionSingleton.GetAndInitIfNeeded(new WPFUIDispatcher(this.Dispatcher));
            }
     
            _IUrlSolver = iIUrlSolver;
  
            DebugWindow = new BasicRelayCommand(() => ShowDebugWindow());

            DebugBrowser = new BasicRelayCommand(() => OpenDebugBrowser());

            InitializeComponent();
            _WPFDoubleBrowserNavigator = new WPFDoubleBrowserNavigator(this, _IUrlSolver);
            _WPFDoubleBrowserNavigator.OnFirstLoad += FirstLoad;

        }
Exemplo n.º 2
0
 public CefGlueWPFWebWindowFactory(CefSettings iCefSettings = null)
 {
     _ICefCoreSession = CefCoreSessionSingleton.GetAndInitIfNeeded(iCefSettings);
 }
Exemplo n.º 3
0
 public CefGlueWPFWebWindowFactory(IWebSessionLogger logger = null, CefSettings iCefSettings = null)
 {
     WebSessionLogger = logger;
     _ICefCoreSession = CefCoreSessionSingleton.GetAndInitIfNeeded(iCefSettings);
 }
 public CefGlueWPFWebWindowFactory( CefSettings iCefSettings = null)
 {
     _ICefCoreSession = CefCoreSessionSingleton.GetAndInitIfNeeded(iCefSettings);
 }