Пример #1
0
        public SharpDXCefDisplayHandler(SharpDXCefBrowser owner)
        {
            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }

            _owner = owner;
        }
Пример #2
0
        public SharpDXCefRenderHandler(SharpDXCefBrowser owner, GraphicsDevice GraphicsDevice)
        {
            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }

            _owner = owner;

            this.GraphicsDevice = GraphicsDevice;

            Resize(_owner.Width, _owner.Height);

            synchronization = SynchronizationContext.Current;
        }
Пример #3
0
        public SharpDXCefClient(SharpDXCefBrowser owner, GraphicsDevice GraphicsDevice)
        {
            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }

            _owner = owner;

            _lifeSpanHandler = new SharpDXCefLifeSpanHandler(owner);
            _displayHandler  = new SharpDXCefDisplayHandler(owner);
            _renderHandler   = new SharpDXCefRenderHandler(owner, GraphicsDevice);
            _loadHandler     = new SharpDXCefLoadHandler(owner);
            _requestHandler  = new SharpDXCefRequestHandler();
        }
 public SharpDXCefLoadHandler(SharpDXCefBrowser owner)
 {
     this._owner = owner;
 }