Do you have any samples of this that you can share with me here or via email?
Thanks On Jul 1, 8:16 am, Dinge Raphael <[email protected]> wrote: > Hi, > > May I ask the purpose of the 3 questions in terms of needs ? > > What first come to my mind is that you may want to deploy an application > which relies on Chrome for a particular in-house project. > > As Phistuck noted, this can be done in Chromium, but there are > probably more good news. > > By using the webkit extension system with v8, you can do what > you want without modifying chromium code directly. > This would still modify chrome code, but if you're needs are > simple, you may maintain a simple project in parallel. > (a good starting point is the test shell) > > all you have to do is to notify webkit of your extension > WebKit::registerExtension (MyExtension::get ()); > > MyExtension inherits from v8::Extension, and the interface > is very simple. Basically you make a piece of javascript > that will be copied into each page the browser will navigate > to. The interesting part is that you can declare native > functions that you will bind with your code. > With that you can have a function to contain a javascript > function that your code will be able to get for later > notification systems. > > You then have bidirectional communication, from your code > to the page, and everything is possible. > > Finally I've made a prototype for one of our project with > all possible ways to communicate, and the class is only 380 > lines long ! And it will be less in the future. > > Hope this will help, > > Raphael --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
