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

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

Issue 1932413003: [MD History] Refactor history.html into a history-app element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nit Created 4 years, 8 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 79d550b75de514956a92b2df7d36e8528b838299..00f6650c53c941d0621522f1d5f95945540415a3 100644
--- a/chrome/browser/ui/webui/md_history_ui.cc
+++ b/chrome/browser/ui/webui/md_history_ui.cc
@@ -58,9 +58,10 @@ content::WebUIDataSource* CreateMdHistoryUIHTMLSource(Profile* profile) {
bool allow_deleting_history =
prefs->GetBoolean(prefs::kAllowDeletingBrowserHistory);
source->AddBoolean("allowDeletingHistory", allow_deleting_history);
+ source->AddResourcePath("app.html", IDR_MD_HISTORY_APP_HTML);
+ source->AddResourcePath("app.js", IDR_MD_HISTORY_APP_JS);
source->AddResourcePath("constants.html", IDR_MD_HISTORY_CONSTANTS_HTML);
source->AddResourcePath("constants.js", IDR_MD_HISTORY_CONSTANTS_JS);
- source->AddResourcePath("elements.html", IDR_MD_HISTORY_ELEMENTS_HTML);
source->AddResourcePath("history_item.html",
IDR_MD_HISTORY_HISTORY_ITEM_HTML);
source->AddResourcePath("history_item.js", IDR_MD_HISTORY_HISTORY_ITEM_JS);
« no previous file with comments | « chrome/browser/resources/md_history/side_bar.js ('k') | chrome/test/data/webui/md_history/history_item_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698