summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_modal_dialog.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 18:17:09 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 18:17:09 +0000
commit464146ec15e527148efee8f6470dc4e6520d0ce4 (patch)
treec401012623265dba9c228dc14d253bc2cfeff9a3 /chrome/browser/app_modal_dialog.h
parent0e9020e23d636a40d32e83ce306468683ed03b01 (diff)
downloadchromium_src-464146ec15e527148efee8f6470dc4e6520d0ce4.zip
chromium_src-464146ec15e527148efee8f6470dc4e6520d0ce4.tar.gz
chromium_src-464146ec15e527148efee8f6470dc4e6520d0ce4.tar.bz2
Actually implement js message boxes on linux. This handles
alert, confirm and onbeforeunload. prompt has a dialog, but there's no text field. I'll work on that next. It turns out there's no nested message loop on the windows side, so there's no nested message loop here either. BUG=9493 Review URL: http://codereview.chromium.org/63134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13437 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_modal_dialog.h')
-rw-r--r--chrome/browser/app_modal_dialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/app_modal_dialog.h b/chrome/browser/app_modal_dialog.h
index 2f09a7e..7aa0b10 100644
--- a/chrome/browser/app_modal_dialog.h
+++ b/chrome/browser/app_modal_dialog.h
@@ -15,7 +15,8 @@
class JavascriptMessageBoxDialog;
typedef JavascriptMessageBoxDialog* NativeDialog;
#elif defined(OS_LINUX)
-typedef void* NativeDialog;
+typedef struct _GtkWidget GtkWidget;
+typedef GtkWidget* NativeDialog;
#elif defined(OS_MACOSX)
typedef void* NativeDialog;
#endif