On Thu, Dec 31, 2009 at 2:32 AM, Andy Ames <[email protected]> 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 would ever want to show a user a print dialog (or any other kind of system configuration dialog). 2) The command-line switches for the printer and its print settings > are prefixed with --print-settings. The printer name is specified with > --print-settings-printer. Ugh. Prefer descriptive individual names over groupwise patterns. It does seem a little odd to break from the norm where command-line > switches are static and well-documented in the switches source files. > I had to add a function to CommandLine in order to enumerate the > switches and look for ones with a particular prefix (--print- > settings). Thoughts? > Why not instead make these things that can be configured in the preferences, which (being JSON) can be more descriptive without affecting the command-line parsing code? 4) WISH: Instead of putting this massive list of switches on the > command-line, using an about:config seems ideal. Has anyone started > this? > See my comment above. PK -- Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
