fix: correctly plumb checkboxChecked on win (#21248)

* fix: correctly plumb checkboxChecked on win

* address final style comment
This commit is contained in:
Shelley Vohr 2019-11-26 23:39:07 -08:00 committed by Cheng Zhao
parent d25256dcf5
commit 5f365858c9
3 changed files with 34 additions and 28 deletions

View file

@ -6,6 +6,7 @@
#define SHELL_BROWSER_UI_MESSAGE_BOX_H_
#include <string>
#include <utility>
#include <vector>
#include "base/callback_forward.h"
@ -29,6 +30,8 @@ enum MessageBoxOptions {
MESSAGE_BOX_NO_LINK = 1 << 0,
};
using DialogResult = std::pair<int, bool>;
struct MessageBoxSettings {
electron::NativeWindow* parent_window = nullptr;
MessageBoxType type = electron::MessageBoxType::kNone;