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:
parent
02ac33c4cd
commit
1295ba0ffc
1 changed files with 13 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
||||||
#include "base/strings/stringprintf.h"
|
#include "base/strings/stringprintf.h"
|
||||||
#include "base/strings/sys_string_conversions.h"
|
#include "base/strings/sys_string_conversions.h"
|
||||||
#include "net/base/mac/url_conversions.h"
|
#include "net/base/mac/url_conversions.h"
|
||||||
|
#include "ui/views/widget/widget.h"
|
||||||
#include "url/gurl.h"
|
#include "url/gurl.h"
|
||||||
|
|
||||||
namespace {
|
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 MoveItemToTrashWithError(const base::FilePath& full_path,
|
||||||
bool delete_on_fail,
|
bool delete_on_fail,
|
||||||
std::string* error) {
|
std::string* error) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue