summaryrefslogtreecommitdiffstats
path: root/chrome/browser/js_modal_dialog.h
diff options
context:
space:
mode:
authorpvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 00:53:03 +0000
committerpvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 00:53:03 +0000
commit6981f7fbffeccc0f691270627d269cb777e86c93 (patch)
tree849333c44b75e3f0e08f0c137f6c37fb39d212d1 /chrome/browser/js_modal_dialog.h
parentd92d3ce3a7a8ed672d2a4b97e455032ff8fcf57c (diff)
downloadchromium_src-6981f7fbffeccc0f691270627d269cb777e86c93.zip
chromium_src-6981f7fbffeccc0f691270627d269cb777e86c93.tar.gz
chromium_src-6981f7fbffeccc0f691270627d269cb777e86c93.tar.bz2
BSD port: Another chunk of chrome/ ifdef changes
Review URL: http://codereview.chromium.org/652186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40974 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/js_modal_dialog.h')
-rw-r--r--chrome/browser/js_modal_dialog.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/js_modal_dialog.h b/chrome/browser/js_modal_dialog.h
index 1ec75ac..51b9c81 100644
--- a/chrome/browser/js_modal_dialog.h
+++ b/chrome/browser/js_modal_dialog.h
@@ -34,10 +34,10 @@ class JavaScriptAppModalDialog : public AppModalDialog,
virtual ~JavaScriptAppModalDialog();
// AppModalDialog overrides.
-#if defined(OS_LINUX) || defined(OS_MACOSX)
+#if defined(OS_POSIX)
virtual void CreateAndShowDialog();
#endif
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_USES_GTK)
virtual void HandleDialogResponse(GtkDialog* dialog, gint response_id);
#endif
virtual int GetDialogButtons();
@@ -99,4 +99,3 @@ class JavaScriptAppModalDialog : public AppModalDialog,
};
#endif // CHROME_BROWSER_JS_MODAL_DIALOG_H_
-