summaryrefslogtreecommitdiffstats
path: root/views/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/screen.h')
-rw-r--r--views/screen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/screen.h b/views/screen.h
index eed83bf..c4e5bd6 100644
--- a/views/screen.h
+++ b/views/screen.h
@@ -5,7 +5,9 @@
#ifndef VIEWS_SCREEN_H_
#define VIEWS_SCREEN_H_
+#include "base/gfx/native_widget_types.h"
#include "base/gfx/point.h"
+#include "base/gfx/rect.h"
namespace views {
@@ -15,6 +17,9 @@ namespace views {
class Screen {
public:
static gfx::Point GetCursorScreenPoint();
+
+ // Returns the work area of the monitor nearest the specified window.
+ static gfx::Rect GetMonitorWorkAreaNearestWindow(gfx::NativeWindow window);
};
} // namespace views