refactor: convert C++ enums to C++11 enum classes (#18087)
This commit is contained in:
parent
a59dc56fa6
commit
c25c31e018
36 changed files with 199 additions and 204 deletions
|
@ -92,8 +92,8 @@ void AtomJavaScriptDialogManager::RunJavaScriptDialog(
|
|||
}
|
||||
|
||||
atom::ShowMessageBox(
|
||||
window, atom::MessageBoxType::MESSAGE_BOX_TYPE_NONE, buttons, default_id,
|
||||
cancel_id, atom::MessageBoxOptions::MESSAGE_BOX_NONE, "",
|
||||
window, atom::MessageBoxType::kNone, buttons, default_id, cancel_id,
|
||||
atom::MessageBoxOptions::MESSAGE_BOX_NONE, "",
|
||||
base::UTF16ToUTF8(message_text), "", checkbox, false, gfx::ImageSkia(),
|
||||
base::Bind(&AtomJavaScriptDialogManager::OnMessageBoxCallback,
|
||||
base::Unretained(this), base::Passed(std::move(callback)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue