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

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

Issue 1224623013: Port downloads.ItemView to a Polymer component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@p-dl-rough-draft2
Patch Set: actually remove i18n changes Created 5 years, 5 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/downloads_ui.cc
diff --git a/chrome/browser/ui/webui/downloads_ui.cc b/chrome/browser/ui/webui/downloads_ui.cc
index 638c8b51f90381fa78d2ad5021b4987811ac434d..38b2a1d62a366f5805de370a6884822c6cc7ef88 100644
--- a/chrome/browser/ui/webui/downloads_ui.cc
+++ b/chrome/browser/ui/webui/downloads_ui.cc
@@ -94,6 +94,8 @@ content::WebUIDataSource* CreateDownloadsUIHTMLSource(Profile* profile) {
source->AddResourcePath("icon_loader.js", IDR_DOWNLOAD_ICON_LOADER_JS);
if (switches::MdDownloadsEnabled()) {
+ source->AddResourcePath("item_view.html", IDR_MD_DOWNLOAD_ITEM_VIEW_HTML);
+ source->AddResourcePath("item_view.js", IDR_MD_DOWNLOAD_ITEM_VIEW_JS);
source->AddResourcePath("manager.js", IDR_MD_DOWNLOAD_MANAGER_JS);
source->SetDefaultResource(IDR_MD_DOWNLOADS_HTML);
} else {

Powered by Google App Engine
This is Rietveld 408576698