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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_ui.cc

Issue 2746033005: MD Settings: Separate code to be loaded lazily to its own lazy_load.html (Closed)
Patch Set: Fix crisper output. Created 3 years, 9 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
« no previous file with comments | « chrome/browser/resources/vulcanize_gn.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/md_settings_ui.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_ui.cc b/chrome/browser/ui/webui/settings/md_settings_ui.cc
index de8c81f7bf2435047648a0c83363ada5dfe2b4d1..90d1d940ef617f898f29077508d33087365b8424 100644
--- a/chrome/browser/ui/webui/settings/md_settings_ui.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_ui.cc
@@ -205,6 +205,10 @@ MdSettingsUI::MdSettingsUI(content::WebUI* web_ui, const GURL& url)
#if BUILDFLAG(USE_VULCANIZE)
html_source->AddResourcePath("crisper.js", IDR_MD_SETTINGS_CRISPER_JS);
+ html_source->AddResourcePath("lazy_load.crisper.js",
+ IDR_MD_SETTINGS_LAZY_LOAD_CRISPER_JS);
+ html_source->AddResourcePath("lazy_load.html",
+ IDR_MD_SETTINGS_LAZY_LOAD_VULCANIZED_HTML);
html_source->SetDefaultResource(IDR_MD_SETTINGS_VULCANIZED_HTML);
html_source->UseGzip(std::unordered_set<std::string>());
#else
« no previous file with comments | « chrome/browser/resources/vulcanize_gn.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698