Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: views/screen.h

Issue 160474: Status bubble limping in TOOLKIT_VIEWS.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/status_bubble_views.cc ('k') | views/screen_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/screen.h
===================================================================
--- views/screen.h (revision 22173)
+++ views/screen.h (working copy)
@@ -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 @@
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
« no previous file with comments | « chrome/browser/views/status_bubble_views.cc ('k') | views/screen_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698