fix: send NSView* as the response to getNativeWindowHandle() instead of a null handle (#15521)
This commit is contained in:
parent
746beb0d8b
commit
9aed2a465f
6 changed files with 22 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/browser/native_window.h"
|
||||
|
@ -106,6 +107,7 @@ class NativeWindowMac : public NativeWindow {
|
|||
gfx::NativeView GetNativeView() const override;
|
||||
gfx::NativeWindow GetNativeWindow() const override;
|
||||
gfx::AcceleratedWidget GetAcceleratedWidget() const override;
|
||||
std::tuple<void*, int> GetNativeWindowHandlePointer() const override;
|
||||
void SetProgressBar(double progress, const ProgressState state) override;
|
||||
void SetOverlayIcon(const gfx::Image& overlay,
|
||||
const std::string& description) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue