As a hacky workaround, you can create an embedded userscript with an onload event "window.print()" and trigger it whenever there is a "--print-page" switch.:P
☆PhistucK On Mon, Jun 8, 2009 at 08:45, Mohamed Mansour <[email protected]>wrote: > Hi chromium, > I have been working on some feature (automatic printing) where it requires > the page to be fully loaded before I bring up the printer dialog and print. > The printer dialog (native to windows) blocks the UI so the page being > loaded is still white, hence it prints a white page. After the I press 'ok' > on print dialog, the white page fully renders correctly. > > My question is this, how can I ensure all the page elements are finished > loading? There seems to be no asynchronous event I could use to wait till a > page has been fully loaded. Any ideas? > > -- Mohamed Mansour > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
