diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 19:17:04 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 19:17:04 +0000 |
commit | e2f64d101a1e624bf300f598fea6c336db64f4a2 (patch) | |
tree | 9cd0c6a963f1152e2a1ec0667df1242a38fb627b /ui/aura/window.h | |
parent | 7f1a51c32f9c8c5a44118483c1255328d7983fce (diff) | |
download | chromium_src-e2f64d101a1e624bf300f598fea6c336db64f4a2.zip chromium_src-e2f64d101a1e624bf300f598fea6c336db64f4a2.tar.gz chromium_src-e2f64d101a1e624bf300f598fea6c336db64f4a2.tar.bz2 |
Rename bounds accessors to be intuitive and consistent
GetClientAreaScreenBounds -> GetClientAreaBoundsInScreen
Get/Set ParentBounds -> Get/Set BoundsInParent
GetWorkAreaScreenBounds -> GetWorkAreaBoundsInScreen
GetClientAreaScreenBounds -> GetClientAreaBoundsInScreen
GetWindowScreenBounds -> GetWindowBoundsInScreen
GetScreenBounds -> GetBoundsInScreen
GetRootWindowBounds -> GetBoundsInRootWindow
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10795013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r-- | ui/aura/window.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h index d9bc9b1..ede2c71 100644 --- a/ui/aura/window.h +++ b/ui/aura/window.h @@ -132,13 +132,13 @@ class AURA_EXPORT Window : public ui::LayerDelegate, bool TargetVisibility() const { return visible_; } // Returns the window's bounds in root window's coordinates. - gfx::Rect GetRootWindowBounds() const; + gfx::Rect GetBoundsInRootWindow() const; // Returns the window's bounds in screen coordinates. // 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. - gfx::Rect GetScreenBounds() const; + gfx::Rect GetBoundsInScreen() const; virtual void SetTransform(const ui::Transform& transform); @@ -153,7 +153,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate, // Changes the bounds of the window in the screen coordintates. // If present, the window's parent's LayoutManager may adjust the bounds. - void SetScreenBounds(const gfx::Rect& new_bounds_in_screen_coords); + void SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen_coords); // Returns the target bounds of the window. If the window's layer is // not animating, it simply returns the current bounds. |