Ejemplo n.º 1
0
        /// <summary>
        /// 获取当前client承载的 LoadHandler 对象
        /// </summary>
        public HeadLessCefLoadHandler GetCurrentLoadHandler()
        {
            HeadLessCefLoadHandler loader = this.GetLoadHandler() as HeadLessCefLoadHandler;


            return(loader);
        }
Ejemplo n.º 2
0
 public HeadLessCefClient(int windowWidth, int windowHeight)
 {
     _loadHandler     = new HeadLessCefLoadHandler();
     _renderHandler   = new HeadLessCefRenderHandler(windowWidth, windowHeight);
     _lifeSpanHandler = new HeadLessCefWebLifeSpanHandler();
     _requestHandler  = new HeadLessWebRequestHandler();
 }