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

Unified Diff: ui/aura_shell/desktop_layout_manager.cc

Issue 8247012: Positions the launcher in the bottom left corner. Adds ShellDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TestDesktopDelegate Created 9 years, 2 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: ui/aura_shell/desktop_layout_manager.cc
diff --git a/ui/aura_shell/desktop_layout_manager.cc b/ui/aura_shell/desktop_layout_manager.cc
index 01366fdda34f90a8c21061afcd295fd01b47e22a..8e0dc0f7dabb9dbbcc7238e269931af4185583d8 100644
--- a/ui/aura_shell/desktop_layout_manager.cc
+++ b/ui/aura_shell/desktop_layout_manager.cc
@@ -38,8 +38,7 @@ void DesktopLayoutManager::OnWindowResized() {
gfx::Rect launcher_bounds = launcher_widget_->GetWindowScreenBounds();
launcher_widget_->SetBounds(
- gfx::Rect(owner_->bounds().width() / 2 - launcher_bounds.width() / 2,
- owner_->bounds().bottom() - launcher_bounds.height(),
+ gfx::Rect(0, owner_->bounds().bottom() - launcher_bounds.height(),
launcher_bounds.width(),
launcher_bounds.height()));

Powered by Google App Engine
This is Rietveld 408576698