fix: window bounds not scaled from screen coordinates (#29162)
This commit is contained in:
parent
2806664bd0
commit
d518b6abc8
3 changed files with 30 additions and 20 deletions
|
@ -35,6 +35,10 @@ class WindowStateWatcher;
|
|||
class EventDisabler;
|
||||
#endif
|
||||
|
||||
#if defined(OS_WIN)
|
||||
gfx::Rect ScreenToDIPRect(HWND hwnd, const gfx::Rect& pixel_bounds);
|
||||
#endif
|
||||
|
||||
class NativeWindowViews : public NativeWindow,
|
||||
public views::WidgetObserver,
|
||||
public ui::EventHandler {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue