fix: correctly plumb checkboxChecked on win (#21248)
* fix: correctly plumb checkboxChecked on win * address final style comment
This commit is contained in:
parent
d25256dcf5
commit
5f365858c9
3 changed files with 34 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue