summaryrefslogtreecommitdiffstats
path: root/views/screen.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-01 00:07:00 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-01 00:07:00 +0000
commita2920638f52df5d5e0e3ea86c1802d4a7416abe5 (patch)
tree635245f5d524df6ce6a10ec75db72f81639a4156 /views/screen.h
parentfb3ef9384cc76c4237f98e5aa38d2689cc7b60cd (diff)
downloadchromium_src-a2920638f52df5d5e0e3ea86c1802d4a7416abe5.zip
chromium_src-a2920638f52df5d5e0e3ea86c1802d4a7416abe5.tar.gz
chromium_src-a2920638f52df5d5e0e3ea86c1802d4a7416abe5.tar.bz2
Status bubble limping in TOOLKIT_VIEWS.
Add CreateTransparentFloatingWidget method to Widget and add Init/SetContentsView methods. BUG=none TEST=none Review URL: http://codereview.chromium.org/160474 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22229 0039d316-1c4b-4281-b951-d872f2087c98
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