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

Issue 10386212: Add new attention state to launcher (Closed)

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

Description

Add new attention state to launcher BUG=119965 TEST=LauncherViewTest.LauncherItemStatus Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=137878

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -18 lines) Patch
M ash/launcher/launcher_button.h View 3 chunks +7 lines, -5 lines 0 comments Download
M ash/launcher/launcher_button.cc View 7 chunks +52 lines, -12 lines 5 comments Download
M ash/launcher/launcher_types.h View 1 chunk +2 lines, -1 line 0 comments Download
M ash/launcher/launcher_view.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M ash/launcher/launcher_view_unittest.cc View 2 chunks +24 lines, -0 lines 0 comments Download
M ui/base/animation/tween.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/animation/tween.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
DaveMoore
8 years, 7 months ago (2012-05-18 15:34:09 UTC) #1
sky
8 years, 7 months ago (2012-05-18 16:38:30 UTC) #2
LGTM

https://chromiumcodereview.appspot.com/10386212/diff/1/ash/launcher/launcher_...
File ash/launcher/launcher_button.cc (right):

https://chromiumcodereview.appspot.com/10386212/diff/1/ash/launcher/launcher_...
ash/launcher/launcher_button.cc:48: BarView() : animation_(new
ui::ThrobAnimation(this)) {
ALLOW_THIS_IN_INITIALIAZER_LIST

https://chromiumcodereview.appspot.com/10386212/diff/1/ash/launcher/launcher_...
ash/launcher/launcher_button.cc:59: void OnPaint(gfx::Canvas* canvas) {
virtual OVERRIDE

https://chromiumcodereview.appspot.com/10386212/diff/1/ash/launcher/launcher_...
ash/launcher/launcher_button.cc:71: void AnimationProgressed(const
ui::Animation* animation) {
virtual OVERRIDE

https://chromiumcodereview.appspot.com/10386212/diff/1/ash/launcher/launcher_...
ash/launcher/launcher_button.cc:83: scoped_ptr<ui::ThrobAnimation> animation_;
Since you create this in the constructor, no need to use scoped_ptr, make it a
value.

https://chromiumcodereview.appspot.com/10386212/diff/1/ash/launcher/launcher_...
ash/launcher/launcher_button.cc:84: };
DISALLOW_...

Powered by Google App Engine
This is Rietveld 408576698