[chromium-dev] Re: Sandbox Policy and MessageBox

2009-03-11 Thread DanielC
I'm not actually trying to spin off a renderer. I'm creating a watchdog program that acts as a crash service for creating dumps, logging to a file, and informing the user via a msg box (based on crash_service.cc). It then restarts the process that crashed. i don't have to worry about the non-inter

[chromium-dev] Re: Sandbox Policy and MessageBox

2009-03-11 Thread cpu
As darin/adam said, the right way is with an ipc message. But I am curious, what do you want to do? If it is for debugging purposes you can just start chrome with --no- sandbox. If you want to have dialog boxes pop directly controlled by the renderer, you will be fighting the architecture of chr

[chromium-dev] Re: Sandbox Policy and MessageBox

2009-03-11 Thread Adam Langley
On Wed, Mar 11, 2009 at 4:47 PM, DanielC wrote: > Where might I find an sample demonstrating this? The messages are defined in chrome/common/render_messages_internal.h. The message ends up in chrome/browser/renderer_host/browser_render_process_host.cc (look for the dispatch table, full of macro

[chromium-dev] Re: Sandbox Policy and MessageBox

2009-03-11 Thread DanielC
Where might I find an sample demonstrating this? On Mar 11, 4:42 pm, Darin Fisher wrote: > you have to send an IPC to the browser to ask it to show a MessageBox for > you.-darin > > On Wed, Mar 11, 2009 at 4:27 PM, Daniel wrote: > > > Hi guys, > > > Is there any way to display a message box wit

[chromium-dev] Re: Sandbox Policy and MessageBox

2009-03-11 Thread Darin Fisher
you have to send an IPC to the browser to ask it to show a MessageBox for you.-darin On Wed, Mar 11, 2009 at 4:27 PM, Daniel wrote: > > Hi guys, > > Is there any way to display a message box within an sandboxed process > without adding JOB_OBJECT_UILIMIT_HANDLES to > sandbox::TargetPolicy::SetJo