diff options
Diffstat (limited to 'views/screen.h')
-rw-r--r-- | views/screen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/screen.h b/views/screen.h index fd37424..0c0d940 100644 --- a/views/screen.h +++ b/views/screen.h @@ -21,6 +21,9 @@ class Screen { // Returns the work area of the monitor nearest the specified window. static gfx::Rect GetMonitorWorkAreaNearestWindow(gfx::NativeWindow window); + // Returns the bounds of the monitor nearest the specified window. + static gfx::Rect GetMonitorAreaNearestWindow(gfx::NativeWindow window); + // Returns the monitor area (not the work area, but the complete bounds) of // the monitor nearest the specified point. static gfx::Rect GetMonitorAreaNearestPoint(const gfx::Point& point); |