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

Unified Diff: ui/aura/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: sky+oshima stuff 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
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index f642d7ba865688173effd23084f72df7f428064b..eca2aac868a28c76e4b153f08915f1337ce1b823 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -136,8 +136,12 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
// whether Show() without a Hide() has been invoked.
bool TargetVisibility() const { return visible_; }
- // Returns the window's bounds in screen coordinates.
- gfx::Rect GetScreenBounds() const;
+ // Returns the window's bounds in screen coordinates. In ash, this is
+ // effectively screen bounds.
+ //
+ // TODO(oshima): Fix this to return screen's coordinate for multi-monitor
+ // support.
+ gfx::Rect GetBoundsInRootWindow() const;
virtual void SetTransform(const ui::Transform& transform);
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698