| Index: ui/gfx/screen_win.h
|
| diff --git a/ui/gfx/screen_win.h b/ui/gfx/screen_win.h
|
| index 9ece286e919750ac1e1ec8bf167d4548aeec364f..0705d12bd528d15b14692a7fbcaaad426d03677a 100644
|
| --- a/ui/gfx/screen_win.h
|
| +++ b/ui/gfx/screen_win.h
|
| @@ -19,6 +19,12 @@ class GFX_EXPORT ScreenWin : public Screen {
|
| ScreenWin();
|
| ~ScreenWin() override;
|
|
|
| + // Returns the HWND associated with the NativeView.
|
| + virtual HWND GetHWNDFromNativeView(NativeView window) const;
|
| +
|
| + // Returns the NativeView associated with the HWND.
|
| + virtual NativeWindow GetNativeWindowFromHWND(HWND hwnd) const;
|
| +
|
| protected:
|
| // Overridden from gfx::Screen:
|
| gfx::Point GetCursorScreenPoint() override;
|
| @@ -33,12 +39,6 @@ class GFX_EXPORT ScreenWin : public Screen {
|
| void AddObserver(DisplayObserver* observer) override;
|
| void RemoveObserver(DisplayObserver* observer) override;
|
|
|
| - // Returns the HWND associated with the NativeView.
|
| - virtual HWND GetHWNDFromNativeView(NativeView window) const;
|
| -
|
| - // Returns the NativeView associated with the HWND.
|
| - virtual NativeWindow GetNativeWindowFromHWND(HWND hwnd) const;
|
| -
|
| private:
|
| void OnWndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
|
|
|
|
|