dialog.showMessageBox doesn't require window as parameter any more.

This commit is contained in:
Cheng Zhao 2013-05-18 10:47:06 +08:00
parent 7e11743735
commit ca1b8ada99
4 changed files with 17 additions and 31 deletions

View file

@ -8,8 +8,6 @@
#include <string>
#include <vector>
#include "ui/gfx/native_widget_types.h"
namespace atom {
enum MessageBoxType {
@ -18,8 +16,7 @@ enum MessageBoxType {
MESSAGE_BOX_TYPE_WARNING
};
int ShowMessageBox(gfx::NativeWindow parent,
MessageBoxType type,
int ShowMessageBox(MessageBoxType type,
const std::vector<std::string>& buttons,
const std::string& title,
const std::string& message,