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

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: 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..2d07d3d0b6517ffb0666e58e60e5ccac2958430d 100644
--- a/chrome/browser/ui/webui/md_history_ui.cc
+++ b/chrome/browser/ui/webui/md_history_ui.cc
@@ -58,6 +58,8 @@ 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);

Powered by Google App Engine
This is Rietveld 408576698