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

Issue 8399027: Makes overview center the active workspace. This avoids leaving extra (Closed)

Created:
9 years, 1 month ago by sky
Modified:
9 years, 1 month ago
Reviewers:
oshima
CC:
chromium-reviews, Ben Goodger (Google)
Visibility:
Public.

Description

Makes overview center the active workspace. This avoids leaving extra space though, so if you're at the first/last workspace it'll be aligned to the left/right edge. BUG=none TEST=none R=oshima@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107580

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M ui/aura_shell/workspace/workspace.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M ui/aura_shell/workspace/workspace_manager.cc View 2 chunks +10 lines, -3 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
sky
9 years, 1 month ago (2011-10-27 03:51:33 UTC) #1
oshima
9 years, 1 month ago (2011-10-27 08:43:05 UTC) #2
LGTM

nice, i like it.

http://codereview.chromium.org/8399027/diff/1/ui/aura_shell/workspace/workspa...
File ui/aura_shell/workspace/workspace_manager.cc (right):

http://codereview.chromium.org/8399027/diff/1/ui/aura_shell/workspace/workspa...
ui/aura_shell/workspace/workspace_manager.cc:121:
transform.SetTranslateX(-viewport_->GetTargetBounds().x() + dx);
can you remove -viewport->GetTargetBounds().x().?  It should always  be 0 and
seems like I forgot to remove after playing with something.

Powered by Google App Engine
This is Rietveld 408576698