fix: window bounds not scaled from screen coordinates (#29162)

This commit is contained in:
Samuel Maddock 2021-05-18 21:34:40 -04:00 committed by GitHub
parent 2806664bd0
commit d518b6abc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 20 deletions

View file

@ -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 {