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

Unified Diff: ui/aura/window.h

Issue 173443002: aura: Take transformation into account when computing window bounds in root-window/screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 6b239a0f53f3e572cfb16ca5aba522a1ca025f34..3477776b524c5c481c09a01eea28efd4c5d11bae 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -147,10 +147,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 root window's coordinates.
+ // Returns the window's bounds in root window's coordinates. Note that it
+ // takes transforms into account when computing the bounds.
gfx::Rect GetBoundsInRootWindow() const;
- // Returns the window's bounds in screen coordinates.
+ // Returns the window's bounds in screen coordinates. Note that it
+ // takes transforms into account when computing the bounds.
// How the root window's coordinates is mapped to screen's coordinates
// is platform dependent and defined in the implementation of the
// |aura::client::ScreenPositionClient| interface.

Powered by Google App Engine
This is Rietveld 408576698