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

Unified Diff: ui/views/widget/widget.h

Issue 10795013: Rename bounds accessors to be intuitive and consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index b9931081525624ad6c74eda7e0d9fc2e25d23720..6df205ee1d06f41fef402d79a263c6e353f59c77 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -303,10 +303,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
View* GetContentsView();
// Returns the bounds of the Widget in screen coordinates.
- gfx::Rect GetWindowScreenBounds() const;
+ gfx::Rect GetWindowBoundsInScreen() const;
// Returns the bounds of the Widget's client area in screen coordinates.
- gfx::Rect GetClientAreaScreenBounds() const;
+ gfx::Rect GetClientAreaBoundsInScreen() const;
// Retrieves the restored bounds for the window.
gfx::Rect GetRestoredBounds() const;
@@ -616,7 +616,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
bool is_top_level() const { return is_top_level_; }
// Returns the work are bounds of the screen the Widget belongs to.
- gfx::Rect GetWorkAreaScreenBounds() const;
+ gfx::Rect GetWorkAreaBoundsInScreen() const;
// Notification that our owner is closing.
// NOTE: this is not invoked for aura as it's currently not needed there.
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698