[chromium-dev] Re: Need help on how to send data from RenderView to a custom DOMUI instantly

2009-09-16 Thread Tim Steele
Here is a brute force way I think would *work*, but I'm not sure it's the right thing to do. Do we send big images across IPC anywhere currently? I think we send small stuff like favicons... So don't try this at home unless others say it isn't crazy, or you just want a proof of concept :)

[chromium-dev] Re: Need help on how to send data from RenderView to a custom DOMUI instantly

2009-09-16 Thread Glen Murphy
Here is a brute force way I think would *work*, but I'm not sure it's the right thing to do. Do we send big images across IPC anywhere currently? We did briefly (to and from the extension unpacker process), but it was changed to using on-disk files because were limits on the amount of data

[chromium-dev] Re: Need help on how to send data from RenderView to a custom DOMUI instantly

2009-09-16 Thread Marc-Antoine Ruel
Step 4 is wrong, you don't replace in-place, you do a navigation, like view-source. Random idea; the page's could be duplicated in a hidden iframe with javascript disabled, greatly simplifying the code to generated the print preview pages jpg and making the DOM duplication a 100% javascript

[chromium-dev] Re: Need help on how to send data from RenderView to a custom DOMUI instantly

2009-09-16 Thread Evan Martin
On Tue, Sep 15, 2009 at 9:21 PM, Mohamed Mansour m...@chromium.org wrote: The UI is going to be in JavaScript with callbacks from the DOMUI page same as NTP, Downloads, History, etc... Therefore in render_view.cc, I need to  replace the WebFrame with the DOMUI (I think). I don't want to

[chromium-dev] Re: Need help on how to send data from RenderView to a custom DOMUI instantly

2009-09-15 Thread Brett Wilson
On Tue, Sep 15, 2009 at 7:31 PM, Mohamed Mansour m0.interact...@gmail.com wrote: Hi all, I am having trouble trying to figure out how I could replace the contents of a specific WebFrame while I am in RenderView with a custom DOMUI page that I have created. Here is a scenario: User visits

[chromium-dev] Re: Need help on how to send data from RenderView to a custom DOMUI instantly

2009-09-15 Thread Mohamed Mansour
The UI is going to be in JavaScript with callbacks from the DOMUI page same as NTP, Downloads, History, etc... Therefore in render_view.cc, I need to replace the WebFrame with the DOMUI (I think). I don't want to introduce my own set of methods that exposes this, that is why I am asking for some