Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Implementing OnBeforeResourceLoad() requires you to implement CefRequest [1],
CefStreamReader [2], CefReadHandler [2].

OnBeforeResourceLoad is not the only way for a virtual file system, it can also
be accomplished by implementing CefSchemeHandler [3].

Using OnBeforeResourceLoad for the virtual file system will not be as efficient
as CefSchemeHandler, see this post [4] by Marshall CEF C++ forum, but I don't
think this will make any difference in most cases.

[1] 
https://code.google.com/p/cefpython/source/browse/cefpython/cef1/include/cef_req
uest.h?r=1d90e7859a67
[2] 
https://code.google.com/p/cefpython/source/browse/cefpython/cef1/include/cef_str
eam.h?r=1d90e7859a67
[3] 
https://code.google.com/p/cefpython/source/browse/cefpython/cef1/include/cef_sch
eme.h?r=1d90e7859a67
[4] http://magpcss.org/ceforum/viewtopic.php?p=15881#p15881

Original comment by [email protected] on 18 Mar 2013 at 8:13

from cefpython.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Can scheme handler override requests of http scheme tho? Having 
something like gui:// sounds all nice but it would prevent from 
developing and testing GUI in browser.

rox

Original comment by [email protected] on 19 Mar 2013 at 9:04

from cefpython.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
I've asked a question regarding this [1] on the CEF C++ Forum.
You probably can't override http scheme with Scheme Handler, as
this is a built-in scheme, but let's wait for Marshall's response
just to be sure.

[1] http://magpcss.org/ceforum/viewtopic.php?f=6&t=10542

Original comment by [email protected] on 19 Mar 2013 at 6:27

from cefpython.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Marshall has responded, it turns out that you can override HTTP protocol 
with custom Scheme Handler.

Original comment by [email protected] on 19 Mar 2013 at 11:43

from cefpython.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Implemented in revision f762a4306845 - development sponsored by Cyan Inc.

Original comment by [email protected] on 23 May 2013 at 3:14

  • Changed state: Fixed

from cefpython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.