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

Issue 203069: Add pause and resume to Linux download shelf. (Closed)

Created:
11 years, 3 months ago by Craig
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add pause and resume to Linux download shelf. BUG=16929 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26344

Patch Set 1 #

Patch Set 2 : improve logic/readability #

Total comments: 1

Patch Set 3 : More readable but longer ... #

Total comments: 1

Patch Set 4 : Use a menu checkbox #

Total comments: 2

Patch Set 5 : add some braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M chrome/browser/download/download_shelf.cc View 4 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/gtk/download_item_gtk.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mohamed Mansour
LG but could the conditionals be more compact, less if's. Evan should comment as well! ...
11 years, 3 months ago (2009-09-15 16:38:53 UTC) #1
Craig Schlenter
On 2009/09/15 16:38:53, Mohamed Mansour wrote: > LG but could the conditionals be more compact, ...
11 years, 3 months ago (2009-09-15 17:19:30 UTC) #2
Craig
On 2009/09/15 17:19:30, Craig Schlenter wrote: > On 2009/09/15 16:38:53, Mohamed Mansour wrote: > > ...
11 years, 3 months ago (2009-09-15 17:50:05 UTC) #3
Evan Stade
http://codereview.chromium.org/203069/diff/6001/6002 File chrome/browser/gtk/download_item_gtk.cc (right): http://codereview.chromium.org/203069/diff/6001/6002#newcode213 Line 213: MenuCreateMaterial DownloadShelfContextMenuGtk::paused_download_menu[] = { why do we have ...
11 years, 3 months ago (2009-09-15 17:58:07 UTC) #4
Mohamed Mansour
Evan, a menu checkbox for pause/resume is not ideal. Having a toggle button is better ...
11 years, 3 months ago (2009-09-15 18:18:18 UTC) #5
Evan Stade
On 2009/09/15 18:18:18, Mohamed Mansour wrote: > Evan, a menu checkbox for pause/resume is not ...
11 years, 3 months ago (2009-09-15 18:37:45 UTC) #6
Craig
On 2009/09/15 18:18:18, Mohamed Mansour wrote: > Evan, a menu checkbox for pause/resume is not ...
11 years, 3 months ago (2009-09-15 18:38:40 UTC) #7
Evan Stade
thank you, I believe this to be correct. http://codereview.chromium.org/203069/diff/8001/8002 File chrome/browser/download/download_shelf.cc (right): http://codereview.chromium.org/203069/diff/8001/8002#newcode33 Line 33: ...
11 years, 3 months ago (2009-09-15 18:43:14 UTC) #8
Craig
11 years, 3 months ago (2009-09-15 18:54:59 UTC) #9
Thank you. Braces are in ... will send to try-server.

http://codereview.chromium.org/203069/diff/8001/8002
File chrome/browser/download/download_shelf.cc (right):

http://codereview.chromium.org/203069/diff/8001/8002#newcode33
Line 33: case ALWAYS_OPEN_TYPE: {
On 2009/09/15 18:43:14, Evan Stade wrote:
> I know this isn't your fault, but could you make the braces consistent here?
> (put braces on all cases)

Done.

Powered by Google App Engine
This is Rietveld 408576698