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

Unified Diff: chrome/browser/ui/webui/md_history_ui.cc

Issue 1641543002: MD History: Refactored design for displaying history information (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@second_patch
Patch Set: closure Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/md_history_ui.cc
diff --git a/chrome/browser/ui/webui/md_history_ui.cc b/chrome/browser/ui/webui/md_history_ui.cc
index 39faf41049323204b2afe15c30553193f829ca90..8f04fe4b0d665f2abcfa13d0077b90211373c3f0 100644
--- a/chrome/browser/ui/webui/md_history_ui.cc
+++ b/chrome/browser/ui/webui/md_history_ui.cc
@@ -49,17 +49,12 @@ content::WebUIDataSource* CreateMdHistoryUIHTMLSource(Profile* profile) {
bool allow_deleting_history =
prefs->GetBoolean(prefs::kAllowDeletingBrowserHistory);
source->AddBoolean("allowDeletingHistory", allow_deleting_history);
-
- source->AddResourcePath("history_card.html",
- IDR_MD_HISTORY_HISTORY_CARD_HTML);
- source->AddResourcePath("history_card.js", IDR_MD_HISTORY_HISTORY_CARD_JS);
- source->AddResourcePath("history_card_manager.html",
- IDR_MD_HISTORY_HISTORY_CARD_MANAGER_HTML);
- source->AddResourcePath("history_card_manager.js",
- IDR_MD_HISTORY_HISTORY_CARD_MANAGER_JS);
source->AddResourcePath("history_item.html",
IDR_MD_HISTORY_HISTORY_ITEM_HTML);
source->AddResourcePath("history_item.js", IDR_MD_HISTORY_HISTORY_ITEM_JS);
+ source->AddResourcePath("history_list.html",
+ IDR_MD_HISTORY_HISTORY_LIST_HTML);
+ source->AddResourcePath("history_list.js", IDR_MD_HISTORY_HISTORY_LIST_JS);
source->AddResourcePath("history_toolbar.html",
IDR_MD_HISTORY_HISTORY_TOOLBAR_HTML);
source->AddResourcePath("history_toolbar.js",
« no previous file with comments | « chrome/browser/resources/md_history/history_list.js ('k') | chrome/test/data/webui/md_history/history_card_manager_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698