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

Issue 4236001: [ChromeOS] Implement new progress bar mock. (Closed)

Created:
10 years, 1 month ago by xiyuan
Modified:
9 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

[ChromeOS] Implement new progress bar mock. BUG=chromium-os:8465 TEST=Verify progress bar has new look now per chromium-os:8465. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64924

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix background graident per cole and fix nit from sky #

Patch Set 3 : fix linux_views trybots and look change per roma #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -24 lines) Patch
M views/controls/progress_bar.cc View 1 2 3 chunks +150 lines, -24 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
xiyuan
10 years, 1 month ago (2010-11-01 21:35:54 UTC) #1
sky
http://codereview.chromium.org/4236001/diff/1/2 File views/controls/progress_bar.cc (right): http://codereview.chromium.org/4236001/diff/1/2#newcode29 views/controls/progress_bar.cc:29: static void AddRoundRectPathWithPadding(int x, int y, You should create ...
10 years, 1 month ago (2010-11-01 21:42:15 UTC) #2
xiyuan
http://codereview.chromium.org/4236001/diff/1/2 File views/controls/progress_bar.cc (right): http://codereview.chromium.org/4236001/diff/1/2#newcode29 views/controls/progress_bar.cc:29: static void AddRoundRectPathWithPadding(int x, int y, On 2010/11/01 21:42:15, ...
10 years, 1 month ago (2010-11-01 23:02:19 UTC) #3
sky
10 years, 1 month ago (2010-11-01 23:05:32 UTC) #4
LGTM

http://codereview.chromium.org/4236001/diff/1/2
File views/controls/progress_bar.cc (right):

http://codereview.chromium.org/4236001/diff/1/2#newcode29
views/controls/progress_bar.cc:29: static void AddRoundRectPathWithPadding(int
x, int y,
On 2010/11/01 23:02:19, xiyuan wrote:
> On 2010/11/01 21:42:15, sky wrote:
> > You should create a progress_bar_chromeos and put this painting code there.
> Have
> > a #ifdef here for !chromeos that does the existing painting.
> 
> AddRoundRectPathWithPadding is adapted from AddRoundRectPath code and needed
by
> AddRoundRectPath down below. It's not chromeos specific.

Ah, I missed that.

Powered by Google App Engine
This is Rietveld 408576698