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 http://www.google.com > User waits till page is done loading > User selects Options > Print Preview > The current page will be replaced with a custom PrintPreview DOMUI page > (print:http://www.google.com) where I would be passing some Data such as a > vector of bytes (image) from RenderView to PrintPreviewDOMUI > > I have created the DOMUI page and made sure it works, and created the bitmap > and encoded it with JPEGEncoder, but I am clueless on how the connection > would be from RenderView to DOMUI. > Any assistance is appreciated. The reason why I want to replace the current > contents is because print preview depends on what is exactly visible at that > time. Unless there is a better way. > Thanks in advance!
Is the code you're writing in C++ or JS? Brett --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---