Add dialog.showErrorBox API

This commit is contained in:
Cheng Zhao 2014-11-05 16:04:39 +08:00
parent e004d53d2a
commit 490a12d38a
3 changed files with 9 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#include <vector>
#include "base/callback_forward.h"
#include "base/strings/string16.h"
namespace atom {
@ -37,6 +38,10 @@ void ShowMessageBox(NativeWindow* parent_window,
const std::string& detail,
const MessageBoxCallback& callback);
// Like ShowMessageBox with simplest settings, but safe to call at very early
// stage of application.
void ShowErrorBox(const base::string16& title, const base::string16& content);
} // namespace atom
#endif // ATOM_BROWSER_UI_MESSAGE_BOX_H_