Hi,
I am writing a new browser (source at 
http://github.com/danielrh/berkelium/ ) using the RenderViewHost layer 
of chrome.

I want to be able to send messages to the host process, and it looks 
like the chrome.extensions.sendMessage() API is perfect for this. 
However, when I do "host()->AllowBindings(BindingsPolicy::EXTENSION)" 
(before CreateRenderView, where it is used), no extension object is 
added to window.chrome.

I have also tried with AllowBindings(BindingsPolicy::EXTERNAL_HOST) 
which would provide an alternative message passing API. However, adding 
this flag just created an empty javascript object at window.externalHost.

Any thoughts?

Thanks,
Patrick

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to