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

Issue 7051021: gtk: Split DownloadShelfContextMenuGtk out to its own header file. (Closed)

Created:
9 years, 7 months ago by tfarina
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

gtk: Split DownloadShelfContextMenuGtk out to its own header file. This moves the implementation of DownloadShelfContextMenuGtk from download_item_gtk.cc to download_shelf_context_menu_gtk.* BUG=28978 TEST=None R=evan@chromium.org,rdsmith@chromium.org,asanka@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86193

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : default #

Patch Set 4 : remove useless comment #

Total comments: 4

Patch Set 5 : asanka review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -77 lines) Patch
M chrome/browser/ui/gtk/download/download_item_gtk.cc View 1 2 3 4 3 chunks +3 lines, -77 lines 0 comments Download
A chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
tfarina
Please, take a look.
9 years, 7 months ago (2011-05-20 01:28:37 UTC) #1
Randy Smith (Not in Mondays)
Core download portion of download UI reviews delegated to Asanka.
9 years, 7 months ago (2011-05-20 13:47:17 UTC) #2
asanka
LGTM, with a few nits. http://codereview.chromium.org/7051021/diff/7001/chrome/browser/ui/gtk/download/download_item_gtk.cc File chrome/browser/ui/gtk/download/download_item_gtk.cc (left): http://codereview.chromium.org/7051021/diff/7001/chrome/browser/ui/gtk/download/download_item_gtk.cc#oldcode153 chrome/browser/ui/gtk/download/download_item_gtk.cc:153: // DownloadItemGtk ------------------------------------------------------------- Nit: ...
9 years, 7 months ago (2011-05-20 21:23:52 UTC) #3
Randy Smith (Not in Mondays)
On 2011/05/20 21:23:52, asanka wrote: > LGTM, with a few nits. > > http://codereview.chromium.org/7051021/diff/7001/chrome/browser/ui/gtk/download/download_item_gtk.cc > ...
9 years, 7 months ago (2011-05-20 22:11:13 UTC) #4
tfarina
9 years, 7 months ago (2011-05-20 22:15:47 UTC) #5
http://codereview.chromium.org/7051021/diff/7001/chrome/browser/ui/gtk/downlo...
File chrome/browser/ui/gtk/download/download_item_gtk.cc (left):

http://codereview.chromium.org/7051021/diff/7001/chrome/browser/ui/gtk/downlo...
chrome/browser/ui/gtk/download/download_item_gtk.cc:153: // DownloadItemGtk
-------------------------------------------------------------
On 2011/05/20 21:23:52, asanka wrote:
> Nit: We don't need this section header comment here anymore.

Done.

http://codereview.chromium.org/7051021/diff/7001/chrome/browser/ui/gtk/downlo...
File chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h (right):

http://codereview.chromium.org/7051021/diff/7001/chrome/browser/ui/gtk/downlo...
chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h:24: // the
button press event that caused this menu to be created.
On 2011/05/20 21:23:52, asanka wrote:
> Can this comment be cleaned up while you are here?  I don't think the
> constructor does what this says anymore.

Removed.

Powered by Google App Engine
This is Rietveld 408576698