public DoubleBrowserNavigator(IWebViewLifeCycleManager lifecycler, IUrlSolver urlSolver, 
                                 IJavascriptFrameworkManager javascriptFrameworkManager)
 {
     _webSessionLogger = new BasicLogger();
     _javascriptFrameworkManager = javascriptFrameworkManager;
     _WebViewLifeCycleManager = lifecycler;
     _UrlSolver = urlSolver;
 }
        protected HTMLControlBase(IUrlSolver iIUrlSolver)
        {
            _IUrlSolver = iIUrlSolver;
  
            DebugWindow = new BasicRelayCommand(() => ShowDebugWindow());

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

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

        }
        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;

        }
Beispiel #4
0
 public HTMLWindow(IUrlSolver iIUrlSolver)
     : base(iIUrlSolver)
 {
     _INavigationBuilder = iIUrlSolver as INavigationBuilder;
 }
 public HTMLWindow(IUrlSolver urlSolver) : base(urlSolver)
 {
     NavigationBuilder = urlSolver as INavigationBuilder;
 }
 public WPFDoubleBrowserNavigator(IWebViewLifeCycleManager lifecycler, IUrlSolver inb)
 {
     _IWebViewLifeCycleManager = lifecycler;
     _INavigationBuilder = inb;
 }
        protected HTMLControlBase(IUrlSolver urlSolver) 
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;

            _UrlSolver = urlSolver;

            DebugWindow = new BasicRelayCommand(ShowDebugWindow);
            DebugBrowser = new BasicRelayCommand(OpenDebugBrowser);
            ShowInfo = new BasicRelayCommand(DoShowInfo);

            VmDebugging = false;

            InitializeComponent();

            this.Loaded += HTMLControlBase_Loaded;    
        }
 public WPFDoubleBrowserNavigator(IWebViewLifeCycleManager lifecycler, IUrlSolver inb, IAwesomiumBindingFactory iAwesomiumBindingFactory = null)
 {
     _IWebViewLifeCycleManager = lifecycler;
     _INavigationBuilder = inb;
     _IAwesomiumBindingFactory = iAwesomiumBindingFactory ?? new AwesomiumBindingFactory() { ManageWebSession = false };
 }
 public WPFDoubleBrowserNavigator(WebControl iWebControl, WebControl iWebControlSecond, IUrlSolver inb, IAwesomiumBindingFactory iAwesomiumBindingFactory = null):
     this( new WebViewSimpleLifeCycleManager(iWebControl,iWebControlSecond),inb,iAwesomiumBindingFactory)
 {
 }