summaryrefslogtreecommitdiffstats
path: root/views/view.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-06 15:23:09 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-06 15:23:09 +0000
commit277c7b7879f17c1d830e456ea46648f9b07337b4 (patch)
tree2da0ebd39a274a249fdd979252456a734d14ef40 /views/view.h
parent695e942ec27885b9351b6628e081a97f8b7d30ef (diff)
downloadchromium_src-277c7b7879f17c1d830e456ea46648f9b07337b4.zip
chromium_src-277c7b7879f17c1d830e456ea46648f9b07337b4.tar.gz
chromium_src-277c7b7879f17c1d830e456ea46648f9b07337b4.tar.bz2
views: Take transforms into account when computing visible bounds.
BUG=none TEST=ViewTest.TransformVisibleBound, ViewTest.OnVisibleBoundsChanged Review URL: http://codereview.chromium.org/6993045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87984 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/view.h')
-rw-r--r--views/view.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/view.h b/views/view.h
index 744f59c..fc37a00 100644
--- a/views/view.h
+++ b/views/view.h
@@ -276,9 +276,9 @@ class View : public AcceleratorTarget {
// system.
//
// When traversing the View hierarchy in order to compute the bounds, the
- // function takes into account the mirroring setting for each View and
- // therefore it will return the mirrored version of the visible bounds if
- // need be.
+ // function takes into account the mirroring setting and transformation for
+ // each View and therefore it will return the mirrored and transformed version
+ // of the visible bounds if need be.
gfx::Rect GetVisibleBounds() const;
// Return the bounds of the View in screen coordinate system.