Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace bookmark manager empty list string
- Loading branch information
Showing
3 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
patches/chrome-browser-ui-webui-bookmarks-bookmarks_ui.cc.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
diff --git a/chrome/browser/ui/webui/bookmarks/bookmarks_ui.cc b/chrome/browser/ui/webui/bookmarks/bookmarks_ui.cc | ||
index 094a943ac95d0f159b223d3948e3b2e4b1759e76..f378bfe93dcaa890abb2221e5f3ffbfd45401fe0 100644 | ||
index 094a943ac95d0f159b223d3948e3b2e4b1759e76..0e88121e10b4016618a11ff530beebb8009e60eb 100644 | ||
--- a/chrome/browser/ui/webui/bookmarks/bookmarks_ui.cc | ||
+++ b/chrome/browser/ui/webui/bookmarks/bookmarks_ui.cc | ||
@@ -46,6 +46,7 @@ content::WebUIDataSource* CreateBookmarksUIHTMLSource(Profile* profile) { | ||
content::WebUIDataSource* source = | ||
content::WebUIDataSource::Create(chrome::kChromeUIBookmarksHost); | ||
@@ -174,6 +174,7 @@ content::WebUIDataSource* CreateBookmarksUIHTMLSource(Profile* profile) { | ||
|
||
source->UseStringsJs(); | ||
|
||
+ BRAVE_CUSTOMIZE_BOOKMARKS_DATA_SOURCE(source) | ||
return source; | ||
} | ||
|
||
+ BraveCustomizeBookmarksDataSource(source); | ||
// Build an Accelerator to describe undo shortcut | ||
// NOTE: the undo shortcut is also defined in bookmarks/command_manager.js | ||
// TODO(crbug/893033): de-duplicate shortcut by moving all shortcut |