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

Issue 308003013: Make the Bookmark Manager aware of managed bookmarks. (Closed)

Created:
6 years, 6 months ago by Joao da Silva
Modified:
6 years, 6 months ago
CC:
chromium-reviews, tfarina, arv+watch_chromium.org
Visibility:
Public.

Description

Make the Bookmark Manager aware of managed bookmarks. The managed bookmarks are a new node at the root that are configured via policy and can't be modified directly by the user. This change makes the Bookmark Manager aware of those nodes by disabling the mutating options when working with nodes from the managed tree. BUG=49598 R=arv@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275388

Patch Set 1 #

Total comments: 9

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : rebased on new BookmarkTreeNode.unmodifiable api change #

Total comments: 1

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -7 lines) Patch
M chrome/browser/resources/bookmark_manager/js/main.js View 1 2 8 chunks +29 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Joao da Silva
Hi Erik, PTAL. Thanks!
6 years, 6 months ago (2014-06-01 20:05:19 UTC) #1
arv (Not doing code reviews)
In general I'm a bit concerned about walking the tree too much. Can this be ...
6 years, 6 months ago (2014-06-02 23:33:23 UTC) #2
Joao da Silva
The tree is usually very shallow, and even at the limit of 50 nodes for ...
6 years, 6 months ago (2014-06-03 14:07:54 UTC) #3
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/308003013/diff/1/chrome/browser/resources/bookmark_manager/js/bmm.js File chrome/browser/resources/bookmark_manager/js/bmm.js (right): https://codereview.chromium.org/308003013/diff/1/chrome/browser/resources/bookmark_manager/js/bmm.js#newcode41 chrome/browser/resources/bookmark_manager/js/bmm.js:41: * @param {!BookmarkTreeNode} node The node to test. ...
6 years, 6 months ago (2014-06-03 14:31:38 UTC) #4
Joao da Silva
Erik, please have another look at this. The assumption that the top-level nodes have stable ...
6 years, 6 months ago (2014-06-05 20:28:39 UTC) #5
arv (Not doing code reviews)
LGTM
6 years, 6 months ago (2014-06-05 20:55:21 UTC) #6
Joao da Silva
6 years, 6 months ago (2014-06-06 10:52:35 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r275388 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698