🏁 update windows message_box function signatures to accept default_button_index....and do nothing with it

This commit is contained in:
leethomas 2016-01-07 22:34:16 -08:00
parent c4c145ef6a
commit dfce803045
3 changed files with 20 additions and 14 deletions

View file

@ -176,8 +176,8 @@ int ShowMessageBox(NativeWindow* parent,
const std::string& message,
const std::string& detail,
const gfx::ImageSkia& icon) {
return GtkMessageBox(parent, type, buttons, default_button_index, cancel_id, title, message, detail,
icon).RunSynchronous();
return GtkMessageBox(parent, type, buttons, default_button_index, cancel_id,
title, message, detail, icon).RunSynchronous();
}
void ShowMessageBox(NativeWindow* parent,
@ -191,8 +191,8 @@ void ShowMessageBox(NativeWindow* parent,
const std::string& detail,
const gfx::ImageSkia& icon,
const MessageBoxCallback& callback) {
(new GtkMessageBox(parent, type, buttons, default_button_index, cancel_id, title, message, detail,
icon))->RunAsynchronous(callback);
(new GtkMessageBox(parent, type, buttons, default_button_index, cancel_id,
title, message, detail, icon))->RunAsynchronous(callback);
}
void ShowErrorBox(const base::string16& title, const base::string16& content) {