fix: send NSView* as the response to getNativeWindowHandle() instead of a null handle (#15521) (#15803)
This commit is contained in:
parent
3ed5a24c72
commit
250a09a43f
6 changed files with 22 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
||||
#include "ui/views/widget/widget_observer.h"
|
||||
|
||||
|
@ -123,6 +124,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