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

Unified Diff: chrome/browser/ui/views/ash/panel_view_aura.cc

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
Index: chrome/browser/ui/views/ash/panel_view_aura.cc
diff --git a/chrome/browser/ui/views/ash/panel_view_aura.cc b/chrome/browser/ui/views/ash/panel_view_aura.cc
index 65915d171ba6079bdc36d20347309ac0b6be8b25..41d4eecff53779025498d006590892b4be64c846 100644
--- a/chrome/browser/ui/views/ash/panel_view_aura.cc
+++ b/chrome/browser/ui/views/ash/panel_view_aura.cc
@@ -398,7 +398,7 @@ gfx::Rect PanelViewAura::GetRestoredBounds() const {
}
gfx::Rect PanelViewAura::GetBounds() const {
- return GetWidget()->GetWindowScreenBounds();
+ return GetWidget()->GetWindowBoundsInScreen();
}
void PanelViewAura::Show() {

Powered by Google App Engine
This is Rietveld 408576698