On Wed, Sep 16, 2009 at 12:23 PM, Evan Martin <[email protected]> wrote: > If instead you just want to display an image of the page, previewed, > that's easier. Grab the snapshot when navigating away to your DOMUI; > don't even tell the page you've navigated away (avoids all the "do you > want to save?" dialogs etc.) and swap its renderer out entirely. To
That's where in fact you need to duplicate the page; just preemptively taking a print preview and ignoring the rest doesn't work. The first thing the user will ask is to change the page setup and you need access to the original data. Hence the hidden iframe keeping a "dead" copy idea. It's merely my lack of skillz that blocked the idea. Note this whole idea about generating print preview web page from an hidden iframe would make some teams here at Google quite happy. M-A --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
