зеркало из https://github.com/electron/electron.git
fix: Building on macOS with is_debug true (#30913)
* fix: Building on macOS with is_debug true * Change to no-op impl
This commit is contained in:
Родитель
02ac33c4cd
Коммит
1295ba0ffc
|
@ -21,6 +21,7 @@
|
|||
#include "base/strings/stringprintf.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "net/base/mac/url_conversions.h"
|
||||
#include "ui/views/widget/widget.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
namespace {
|
||||
|
@ -117,6 +118,18 @@ void OpenExternal(const GURL& url,
|
|||
});
|
||||
}
|
||||
|
||||
// The following function helps with debug builds on the Mac
|
||||
gfx::NativeView GetViewForWindow(gfx::NativeWindow native_window) {
|
||||
NOTREACHED();
|
||||
return nil;
|
||||
}
|
||||
|
||||
// The following function helps with debug builds on the Mac
|
||||
gfx::NativeView GetParent(gfx::NativeView view) {
|
||||
NOTREACHED();
|
||||
return nil;
|
||||
}
|
||||
|
||||
bool MoveItemToTrashWithError(const base::FilePath& full_path,
|
||||
bool delete_on_fail,
|
||||
std::string* error) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче