Exemplo n.º 1
0
        internal static FrameRequestProcessor Create(HtmlFrameElementBase element)
        {
            var document = element.Owner;
            var loader = document.Loader;

            return loader != null ? new FrameRequestProcessor(element, loader) : null;
        }
Exemplo n.º 2
0
 public FrameElementRequest(Document document, HtmlFrameElementBase element, IBrowsingContext context, String htmlContent, String requestUrl)
 {
     _document    = document;
     _element     = element;
     _context     = context;
     _htmlContent = htmlContent;
     _requestUrl  = requestUrl;
     _cts         = new CancellationTokenSource();
 }
 public FrameElementRequest(Document document, HtmlFrameElementBase element, IBrowsingContext context, String htmlContent, String requestUrl)
 {
     _document = document;
     _element = element;
     _context = context;
     _htmlContent = htmlContent;
     _requestUrl = requestUrl;
     _cts = new CancellationTokenSource();
 }
Exemplo n.º 4
0
 private FrameRequestProcessor(HtmlFrameElementBase element, IResourceLoader loader)
     : base(loader)
 {
     _element = element;
 }