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

Issue 365005: Converting the Cookies options page from a TableView to a TreeView... (Closed)

Created:
11 years, 1 month ago by ian fette
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Converting the Cookies options page from a TableView to a TreeView so that we can add in Database, LocalStorage, and Appcache next to the cookies for an origin. BUG=26713 TEST=cookies_tree_model_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31207

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 30

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 38

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 18

Patch Set 13 : '' #

Patch Set 14 : '' #

Total comments: 30

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 6

Patch Set 17 : '' #

Patch Set 18 : '' #

Patch Set 19 : '' #

Total comments: 2

Patch Set 20 : '' #

Total comments: 4

Patch Set 21 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+795 lines, -680 lines) Patch
M app/tree_node_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/app/generated_resources.grd View 6 7 8 9 10 11 12 13 14 15 3 chunks +49 lines, -1 line 0 comments Download
A chrome/browser/cookies_tree_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +207 lines, -0 lines 0 comments Download
A chrome/browser/cookies_tree_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +231 lines, -0 lines 0 comments Download
A + chrome/browser/cookies_tree_model_unittest.cc View 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +152 lines, -438 lines 0 comments Download
M chrome/browser/views/options/advanced_contents_view.cc View 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/views/options/cookies_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +67 lines, -36 lines 0 comments Download
M chrome/browser/views/options/cookies_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 7 chunks +62 lines, -201 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -0 lines 0 comments Download
M views/controls/tree/tree_view.cc View 1 2 3 12 13 14 15 16 17 2 chunks +20 lines, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
eroman
Drive-by with some style nits. (Didn't review thoroughly, but tried to give some advice on ...
11 years, 1 month ago (2009-11-05 08:07:26 UTC) #1
ian fette
Eric, thanks for the comments. Addressed all except those we discussed in person, and the ...
11 years, 1 month ago (2009-11-05 08:48:24 UTC) #2
Ben Goodger (Google)
+sky Scott is more familiar with tree usage he can comment on your tree node ...
11 years, 1 month ago (2009-11-05 18:27:31 UTC) #3
sky
I only looked at the tree_model classes. I think one node class would improve readability, ...
11 years, 1 month ago (2009-11-05 19:51:22 UTC) #4
sky
http://codereview.chromium.org/365005/diff/3016/2051 File views/controls/tree/tree_view.cc (right): http://codereview.chromium.org/365005/diff/3016/2051#newcode658 Line 658: // Need to re-size the provided icons to ...
11 years, 1 month ago (2009-11-05 20:53:36 UTC) #5
mattm
http://codereview.chromium.org/365005/diff/3016/2045 File chrome/browser/views/options/cookies_view.cc (left): http://codereview.chromium.org/365005/diff/3016/2045#oldcode564 Line 564: UpdateForEmptyState(); This still needs to be called (in ...
11 years, 1 month ago (2009-11-05 21:10:58 UTC) #6
mattm
http://codereview.chromium.org/365005/diff/3016/2045 File chrome/browser/views/options/cookies_view.cc (right): http://codereview.chromium.org/365005/diff/3016/2045#newcode71 Line 71: delete cookies_model_->Remove(parent_node, ct_node_index); It would be nice if ...
11 years, 1 month ago (2009-11-05 21:25:01 UTC) #7
ian fette
I believe I've addressed all the issues. http://codereview.chromium.org/365005/diff/4018/4024 File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/365005/diff/4018/4024#newcode61 Line 61: class ...
11 years, 1 month ago (2009-11-05 22:10:49 UTC) #8
sky
http://codereview.chromium.org/365005/diff/12006/12012 File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/365005/diff/12006/12012#newcode48 Line 48: : CookieTreeNode(UTF8ToWide(cookie->second.Name())), cookie_(cookie) { cookie_ should be on ...
11 years, 1 month ago (2009-11-05 22:28:41 UTC) #9
ian fette
Thanks. I believe I've addressed all of these. http://codereview.chromium.org/365005/diff/12006/12012 File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/365005/diff/12006/12012#newcode48 Line 48: ...
11 years, 1 month ago (2009-11-05 23:02:58 UTC) #10
sky
http://codereview.chromium.org/365005/diff/11022/11028 File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/365005/diff/11022/11028#newcode86 Line 86: if (origin_node_iterator != children().end()) lower_bound returns either the ...
11 years, 1 month ago (2009-11-06 00:14:01 UTC) #11
ian fette
Hopefully we're nearing the end? :) http://codereview.chromium.org/365005/diff/11022/11028 File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/365005/diff/11022/11028#newcode86 Line 86: if (origin_node_iterator ...
11 years, 1 month ago (2009-11-06 01:06:33 UTC) #12
sky
LGTM http://codereview.chromium.org/365005/diff/17012/17018 File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/365005/diff/17012/17018#newcode119 Line 119: // If there are no children, that's ...
11 years, 1 month ago (2009-11-06 04:16:26 UTC) #13
ian fette
Scott, thanks for the review. Ben, anything from your side, or good to check in? ...
11 years, 1 month ago (2009-11-06 04:26:14 UTC) #14
Ben Goodger (Google)
http://codereview.chromium.org/365005/diff/17023/18007 File chrome/browser/cookies_tree_model.h (right): http://codereview.chromium.org/365005/diff/17023/18007#newcode154 Line 154: delete NL http://codereview.chromium.org/365005/diff/17023/18004 File chrome/browser/views/options/cookies_view.cc (right): http://codereview.chromium.org/365005/diff/17023/18004#newcode287 Line ...
11 years, 1 month ago (2009-11-06 04:39:37 UTC) #15
Ben Goodger (Google)
LGTM with these changes. On 2009/11/06 04:39:37, Ben Goodger wrote: > http://codereview.chromium.org/365005/diff/17023/18007 > File chrome/browser/cookies_tree_model.h ...
11 years, 1 month ago (2009-11-06 04:44:45 UTC) #16
ian fette
Done http://codereview.chromium.org/365005/diff/17023/18007 File chrome/browser/cookies_tree_model.h (right): http://codereview.chromium.org/365005/diff/17023/18007#newcode154 Line 154: On 2009/11/06 04:39:37, Ben Goodger wrote: > ...
11 years, 1 month ago (2009-11-06 04:46:00 UTC) #17
Evan Martin
BTW, this change added a new string but didn't remove the old one. In the ...
10 years, 11 months ago (2010-01-06 17:41:34 UTC) #18
ian fette
Apologies. The first change was windows only, the Linux change came after thanks to Matt. ...
10 years, 11 months ago (2010-01-06 17:51:34 UTC) #19
Evan Martin
Pink and I are doing it. On Wed, Jan 6, 2010 at 9:51 AM, Ian ...
10 years, 11 months ago (2010-01-06 17:53:30 UTC) #20
ian fette
10 years, 11 months ago (2010-01-06 18:33:15 UTC) #21
Ok, thanks Evan. Note that a few new strings were added that are not yet
used -- please don't remove these new ones, that's still a work in progress
(for appcache, db, ...)

-Ian



2010/1/6 Evan Martin <evan@chromium.org>

> Pink and I are doing it.
>
> On Wed, Jan 6, 2010 at 9:51 AM, Ian Fette <ian@chromium.org> wrote:
> > Apologies. The first change was windows only, the Linux change came after
> > thanks to Matt. I should have followed up with a CL to remove the old
> unused
> > strings afterwards, happy to do so now.
> > -Ian
> >
> > 2010/1/6 <evan@chromium.org>
> >>
> >> BTW, this change added a new string but didn't remove the old one.  In
> the
> >> future it would be good to do both, because otherwise we end up with
> lots
> >> of
> >> mystery strings.
> >>
> >> http://codereview.chromium.org/365005
> >
> >
>

Powered by Google App Engine
This is Rietveld 408576698