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

Unified Diff: ui/aura/screen_aura.cc

Issue 9467021: Attempt 3: Makes managed mode constrain the height of windows so they don't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Da fix Created 8 years, 10 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 | « ash/wm/workspace/workspace_window_resizer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/screen_aura.cc
diff --git a/ui/aura/screen_aura.cc b/ui/aura/screen_aura.cc
index ef906fb8097c5c70c6bc04939f52f6a99ef750b4..d35161093448b7d0d918a8274376023252d0f7f4 100644
--- a/ui/aura/screen_aura.cc
+++ b/ui/aura/screen_aura.cc
@@ -46,7 +46,7 @@ gfx::NativeWindow ScreenAura::GetWindowAtCursorScreenPointImpl() {
}
gfx::Rect ScreenAura::GetBounds() {
- return gfx::Rect(root_window_->GetHostSize());
+ return gfx::Rect(root_window_->bounds().size());
}
gfx::Rect ScreenAura::GetWorkAreaBounds() {
« no previous file with comments | « ash/wm/workspace/workspace_window_resizer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698