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

Unified Diff: ui/aura/root_window.h

Issue 10210005: Ash/aura split: NativeWidgetAura::GetWindowScreenBounds() should return screen bounds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index dd6f533d863f8c20bc844aa60fbb7d680a18ad01..500f052aba9282fad8e35f7f69dd06be0da231ee 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -107,6 +107,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// Sets the bounds of the host window.
void SetHostBounds(const gfx::Rect& size);
+ // Returns where the RootWindow is on screen.
+ gfx::Point GetHostOrigin() const;
oshima 2012/04/24 23:04:15 can this be const gfx::Point& ?
Elliot Glaysher 2012/04/24 23:20:18 A quick attempt at returning const& here and in Ge
+
// Sets the currently-displayed cursor. If the cursor was previously hidden
// via ShowCursor(false), it will remain hidden until ShowCursor(true) is
// called, at which point the cursor that was last set via SetCursor() will be

Powered by Google App Engine
This is Rietveld 408576698