|
Added BookmarkClient::CanBeEditedByUser.
CanBeEditedByUser indicates if a bookmark can be edited by the user or not.
All of the bookmarks in the bookmark_bar_node, the other_node and the
mobile_node are always editable but some of the extra nodes provided by the
client may be unmodifiable.
Also updated other methods to work only with user-editable nodes, and added
utility helpers to detect nodes that can or can't be edited.
BUG= 49598
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275523
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+261 lines, -99 lines) |
Patch |
 |
M |
chrome/browser/android/provider/chrome_browser_provider.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/bookmarks/chrome_bookmark_client.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/bookmarks/chrome_bookmark_client.cc
|
View
|
|
2 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
|
View
|
|
4 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_controller.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/bookmarks/browser/bookmark_client.h
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/bookmarks/browser/bookmark_model.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/bookmarks/browser/bookmark_model.cc
|
View
|
|
5 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/bookmarks/browser/bookmark_model_observer.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/bookmarks/browser/bookmark_model_unittest.cc
|
View
|
1
2
3
4
|
13 chunks |
+84 lines, -13 lines |
0 comments
|
Download
|
 |
M |
components/bookmarks/browser/bookmark_utils.h
|
View
|
1
2
3
4
|
4 chunks |
+14 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/bookmarks/browser/bookmark_utils.cc
|
View
|
1
2
3
4
|
7 chunks |
+30 lines, -11 lines |
0 comments
|
Download
|
 |
M |
components/bookmarks/browser/bookmark_utils_unittest.cc
|
View
|
|
4 chunks |
+67 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/bookmarks/test/test_bookmark_client.h
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/bookmarks/test/test_bookmark_client.cc
|
View
|
|
3 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|