There is a RunJavaScriptAlert in chrome/renderer/render_view.cc where you can just do: RunJavaScriptAlert(frame, l10n_util::GetString(IDS_HELLO_TITLE));
-- Mohamed Mansour On Wed, Jun 3, 2009 at 8:24 AM, Mike Pinkerton <[email protected]>wrote: > > chrome/browser/app_modal_dialog_mac.mm > > Once we figure out the right way to do these as per-tab sheets, > they'll no longer be app-modal. I found this with a quick spotlight > search for "NSAlert". > > On Wed, Jun 3, 2009 at 3:05 AM, Daniel Dreiberg > <[email protected]> wrote: > > Hi, > > I am looking for pointers tor the code which pop up dialog in chromium? > > e.g. JavaScript alert dialog or confirm dialog? > > I am specifically looking how that is done on MacOS. > > Thank you. > > > > > > > > > -- > Mike Pinkerton > Mac Weenie > [email protected] > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
