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

Unified Diff: chrome/browser/ui/window_sizer_ash.cc

Issue 10210005: Ash/aura split: NativeWidgetAura::GetWindowScreenBounds() should return screen bounds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sky+oshima stuff Created 8 years, 8 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/window_sizer_ash.cc
diff --git a/chrome/browser/ui/window_sizer_ash.cc b/chrome/browser/ui/window_sizer_ash.cc
index 45c4b7fc22673357db5c274892f7a0a4040d83a1..bb4148fbf3b26572056c7f2c8002ad9ab4dfa1b0 100644
--- a/chrome/browser/ui/window_sizer_ash.cc
+++ b/chrome/browser/ui/window_sizer_ash.cc
@@ -84,7 +84,7 @@ bool WindowSizer::GetBoundsIgnoringPreviousState(
if (top_window == NULL) {
GetDefaultWindowBounds(bounds);
} else {
- *bounds = top_window->GetScreenBounds();
+ *bounds = top_window->GetBoundsInRootWindow();
}
return true;
// If both fail we will continue the default path.
« no previous file with comments | « chrome/browser/ui/views/hung_renderer_view.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698