chore: remove UnresponsiveSuppressor altogether (#35507)
* chore: drop unresponsive suppressor for menu_mac * also for views * header * chore: remove UnresponsiveSuppressor altogether
This commit is contained in:
parent
a0c20fef96
commit
a0dbae72c8
8 changed files with 1 additions and 66 deletions
|
@ -22,7 +22,6 @@
|
|||
#include "base/win/registry.h"
|
||||
#include "shell/browser/native_window_views.h"
|
||||
#include "shell/browser/ui/win/dialog_thread.h"
|
||||
#include "shell/browser/unresponsive_suppressor.h"
|
||||
#include "shell/common/gin_converters/file_path_converter.h"
|
||||
|
||||
namespace file_dialog {
|
||||
|
@ -102,7 +101,6 @@ static void SetDefaultFolder(IFileDialog* dialog,
|
|||
|
||||
static HRESULT ShowFileDialog(IFileDialog* dialog,
|
||||
const DialogSettings& settings) {
|
||||
electron::UnresponsiveSuppressor suppressor;
|
||||
HWND parent_window =
|
||||
settings.parent_window
|
||||
? static_cast<electron::NativeWindowViews*>(settings.parent_window)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue