[chromium-dev] suppressing print dialog in kiosk mode

2009-12-31 Thread Andy Ames
I have modified some code involving the print dialog and the printer settings on Linux. Whoever is interested in the details of this, please give feedback. I have made these changes in order to install Linux/Chromium onto an in-store kiosk for customers to place orders. This is a Linux-only

Re: [chromium-dev] suppressing print dialog in kiosk mode

2009-12-31 Thread Peter Kasting
On Thu, Dec 31, 2009 at 2:32 AM, Andy Ames a...@amesgames.net wrote: I am considering using a separate switch such as --supress-print- dialog, since kiosk mode and suppressing the print dialog are orthogonal features. They don't seem orthogonal, since in kiosk mode it doesn't seem like you

Re: [chromium-dev] suppressing print dialog in kiosk mode

2009-12-31 Thread Mohamed Mansour
On Thu, Dec 31, 2009 at 5:51 AM, Peter Kasting pkast...@google.com wrote: They don't seem orthogonal, since in kiosk mode it doesn't seem like you would ever want to show a user a print dialog (or any other kind of system configuration dialog). I agree as well. 1+ Why not instead make

Re: [chromium-dev] suppressing print dialog in kiosk mode

2009-12-31 Thread Andy Ames
Thanks for the tips. I will put printer settings into the preferences as a dictionary instead of on the command-line. I'll create only one command-line switch called --suppress-print- dialog. I will make sure --kiosk implies that switch. For easier debugging, I will need to be able to

Re: [chromium-dev] suppressing print dialog in kiosk mode

2009-12-31 Thread Mohamed Mansour
Why wont you just remove --supress-print-dialog and just include it in kiosk instead. I don't believe there is a reason to have an extra command line option for that. Unless other people want that ... I believe preferences is a better task for this since it is going to persisted in the near