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
|
@ -10,6 +10,7 @@
|
|||
#include <memory>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
||||
#include "ui/views/widget/widget_observer.h"
|
||||
|
||||
|
@ -128,6 +129,7 @@ class NativeWindowViews : public NativeWindow,
|
|||
bool IsVisibleOnAllWorkspaces() override;
|
||||
|
||||
gfx::AcceleratedWidget GetAcceleratedWidget() const override;
|
||||
std::tuple<void*, int> GetNativeWindowHandlePointer() const override;
|
||||
|
||||
gfx::Rect ContentBoundsToWindowBounds(const gfx::Rect& bounds) const override;
|
||||
gfx::Rect WindowBoundsToContentBounds(const gfx::Rect& bounds) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue