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

Issue 196040: Gtk: Allow all columns in task manager to be sortable. (Closed)

Created:
11 years, 3 months ago by Mohamed Mansour
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Gtk: Allow all columns in task manager to be sortable. BUG=21048 TEST=Open task manager and sort any column Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25964

Patch Set 1 #

Total comments: 6

Patch Set 2 : Sort goats teleported column. #

Total comments: 1

Patch Set 3 : Cleaner code #

Total comments: 5

Patch Set 4 : Make code even cleaner! #

Total comments: 2

Patch Set 5 : Fix comment #

Patch Set 6 : Add Views goat resource implementation #

Total comments: 2

Patch Set 7 : Delete dead code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -37 lines) Patch
M chrome/app/generated_resources.grd View 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/gtk/task_manager_gtk.h View 1 2 3 4 4 chunks +62 lines, -0 lines 0 comments Download
M chrome/browser/gtk/task_manager_gtk.cc View 1 2 3 4 12 chunks +59 lines, -24 lines 0 comments Download
M chrome/browser/views/task_manager_view.cc View 6 3 chunks +3 lines, -13 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Mohamed Mansour
Please review, if there is a shorter way instead of being repetitive, please let me ...
11 years, 3 months ago (2009-09-07 23:24:52 UTC) #1
James Hawkins
http://codereview.chromium.org/196040/diff/1/2 File chrome/browser/gtk/task_manager_gtk.cc (right): http://codereview.chromium.org/196040/diff/1/2#newcode759 Line 759: return reinterpret_cast<TaskManagerGtk*>(window)->model_-> nit: try this on for size ...
11 years, 3 months ago (2009-09-08 20:27:43 UTC) #2
Mohamed Mansour
Thanks for the review. Goats teleported seems to be manually added, I moved it to ...
11 years, 3 months ago (2009-09-08 22:16:44 UTC) #3
James Hawkins
LGTM
11 years, 3 months ago (2009-09-08 22:22:47 UTC) #4
Evan Stade
http://codereview.chromium.org/196040/diff/2002/2004 File chrome/browser/gtk/task_manager_gtk.cc (right): http://codereview.chromium.org/196040/diff/2002/2004#newcode830 Line 830: GtkTreeIter* a, tabbing off here.
11 years, 3 months ago (2009-09-08 22:35:44 UTC) #5
Mohamed Mansour
Is this cleaner approach? I tried using anonymous class approach but it was turning out ...
11 years, 3 months ago (2009-09-08 23:36:19 UTC) #6
Evan Stade
this seems fine to me, LG
11 years, 3 months ago (2009-09-08 23:52:11 UTC) #7
James Hawkins
I still don't think you're gaining much by factoring out the comparisons into CompareImpl. The ...
11 years, 3 months ago (2009-09-08 23:53:31 UTC) #8
Evan Stade
http://codereview.chromium.org/196040/diff/2006/3005 File chrome/browser/gtk/task_manager_gtk.h (right): http://codereview.chromium.org/196040/diff/2006/3005#newcode98 Line 98: return CompareImpl(model, a, b, task_manager, On 2009/09/08 23:53:31, ...
11 years, 3 months ago (2009-09-08 23:55:20 UTC) #9
Mohamed Mansour
Please review :)
11 years, 3 months ago (2009-09-11 01:21:07 UTC) #10
Evan Stade
since you made goats teleported a resource can you fix the views implementation as well
11 years, 3 months ago (2009-09-11 01:45:21 UTC) #11
Evan Stade
http://codereview.chromium.org/196040/diff/7002/7005 File chrome/browser/gtk/task_manager_gtk.h (right): http://codereview.chromium.org/196040/diff/7002/7005#newcode68 Line 68: // GTK sort callback. nit: this isn't a ...
11 years, 3 months ago (2009-09-11 01:45:34 UTC) #12
Mohamed Mansour
Sure, I can do the Windows one, I would rather do it in a separate ...
11 years, 3 months ago (2009-09-11 01:58:24 UTC) #13
Evan Stade
On 2009/09/11 01:58:24, Mohamed Mansour wrote: > Sure, I can do the Windows one, I ...
11 years, 3 months ago (2009-09-11 01:59:21 UTC) #14
Mohamed Mansour
Sorry, I added the windows view, it is only 3 lines change, simple change could ...
11 years, 3 months ago (2009-09-11 02:03:28 UTC) #15
Evan Stade
http://codereview.chromium.org/196040/diff/9004/3012 File chrome/browser/views/task_manager_view.cc (right): http://codereview.chromium.org/196040/diff/9004/3012#newcode38 Line 38: static const int64 kNuthMagicNumber = 1737350766; you can ...
11 years, 3 months ago (2009-09-11 02:07:29 UTC) #16
Mohamed Mansour
Deleted dead code. http://codereview.chromium.org/196040/diff/9004/3012 File chrome/browser/views/task_manager_view.cc (right): http://codereview.chromium.org/196040/diff/9004/3012#newcode38 Line 38: static const int64 kNuthMagicNumber = ...
11 years, 3 months ago (2009-09-11 02:12:07 UTC) #17
Evan Stade
11 years, 3 months ago (2009-09-11 02:31:10 UTC) #18
lg

Powered by Google App Engine
This is Rietveld 408576698