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

Issue 10068027: ash: Fix launcher icon overlaps with status. (Closed)

Created:
8 years, 8 months ago by xiyuan
Modified:
8 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

ash: Fix launcher icon overlaps with status. - Make LauncherView::CalculateIdealBounds to return last visible index; - In LauncherView::LauncherItemAdded, use the last visible index to determine if we need the animation; BUG=122482 TEST=Verify fix for issue 122482. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133603

Patch Set 1 #

Patch Set 2 : init last_visible_index of IdealBounds #

Patch Set 3 : use last_visible_index_ part from 9808026 and add tests #

Total comments: 5

Patch Set 4 : remove ideal_visibility and move TestAPI out #

Total comments: 8

Patch Set 5 : address comments in #4 #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -75 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M ash/launcher/launcher_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M ash/launcher/launcher_view.h View 1 2 3 4 5 3 chunks +6 lines, -17 lines 0 comments Download
M ash/launcher/launcher_view.cc View 1 2 3 4 5 6 chunks +18 lines, -31 lines 0 comments Download
M ash/launcher/launcher_view_unittest.cc View 1 2 3 4 5 6 chunks +167 lines, -12 lines 0 comments Download
A ash/test/launcher_view_test_api.h View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
A ash/test/launcher_view_test_api.cc View 1 2 3 4 1 chunk +83 lines, -0 lines 0 comments Download
M ui/views/animation/bounds_animator.h View 1 2 6 chunks +12 lines, -6 lines 0 comments Download
M ui/views/animation/bounds_animator.cc View 1 2 5 chunks +21 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
xiyuan
The overlapping and problems in insertion/removal are related to using overflow_button_'s visibility to change item ...
8 years, 8 months ago (2012-04-12 21:56:28 UTC) #1
sky
Can you wait for http://codereview.chromium.org/9808026/ to land. I think it'll result in changing around your ...
8 years, 8 months ago (2012-04-12 22:23:53 UTC) #2
xiyuan
On 2012/04/12 22:23:53, sky wrote: > Can you wait for http://codereview.chromium.org/9808026/ to land. I think ...
8 years, 8 months ago (2012-04-12 22:39:32 UTC) #3
xiyuan
CL updated: - Add last_visible_index_ as a member as in CL 9808026; - Fixed a ...
8 years, 8 months ago (2012-04-13 21:37:18 UTC) #4
sky
http://codereview.chromium.org/10068027/diff/12002/ash/launcher/launcher_view.cc File ash/launcher/launcher_view.cc (right): http://codereview.chromium.org/10068027/diff/12002/ash/launcher/launcher_view.cc#newcode735 ash/launcher/launcher_view.cc:735: // Hides view that should become invisible immediately. If ...
8 years, 8 months ago (2012-04-13 22:00:04 UTC) #5
xiyuan
http://codereview.chromium.org/10068027/diff/12002/ash/launcher/launcher_view.cc File ash/launcher/launcher_view.cc (right): http://codereview.chromium.org/10068027/diff/12002/ash/launcher/launcher_view.cc#newcode735 ash/launcher/launcher_view.cc:735: // Hides view that should become invisible immediately. On ...
8 years, 8 months ago (2012-04-13 22:49:53 UTC) #6
xiyuan
CL updated: - Use opacity 0 instead of SetVisible(false) in LauncherItemAdded as suggested seems working ...
8 years, 8 months ago (2012-04-23 18:08:52 UTC) #7
sky
LGTM http://codereview.chromium.org/10068027/diff/16001/ash/ash.gyp File ash/ash.gyp (right): http://codereview.chromium.org/10068027/diff/16001/ash/ash.gyp#newcode351 ash/ash.gyp:351: 'test/launcher_view_test_api.cc', sort http://codereview.chromium.org/10068027/diff/16001/ash/launcher/launcher_view.cc File ash/launcher/launcher_view.cc (right): http://codereview.chromium.org/10068027/diff/16001/ash/launcher/launcher_view.cc#newcode660 ash/launcher/launcher_view.cc:660: ...
8 years, 8 months ago (2012-04-23 20:47:24 UTC) #8
xiyuan
All done and will have fun rebasing now. :) http://codereview.chromium.org/10068027/diff/16001/ash/ash.gyp File ash/ash.gyp (right): http://codereview.chromium.org/10068027/diff/16001/ash/ash.gyp#newcode351 ash/ash.gyp:351: ...
8 years, 8 months ago (2012-04-23 21:01:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/10068027/31001
8 years, 8 months ago (2012-04-23 23:11:03 UTC) #10
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 02:08:56 UTC) #11
Change committed as 133603

Powered by Google App Engine
This is Rietveld 408576698