Index: components/dom_distiller/webui/dom_distiller_ui.cc |
diff --git a/components/dom_distiller/webui/dom_distiller_ui.cc b/components/dom_distiller/webui/dom_distiller_ui.cc |
index 4e3550c11a2c86e268fce9b6c81e05f7f32f7f46..a9a6a0d983ac4a7adab46d261750d49cb2c915cd 100644 |
--- a/components/dom_distiller/webui/dom_distiller_ui.cc |
+++ b/components/dom_distiller/webui/dom_distiller_ui.cc |
@@ -26,22 +26,25 @@ DomDistillerUi::DomDistillerUi(content::WebUI* web_ui, |
source->SetDefaultResource(IDR_ABOUT_DOM_DISTILLER_HTML); |
source->AddResourcePath("about_dom_distiller.css", |
IDR_ABOUT_DOM_DISTILLER_CSS); |
- source->AddResourcePath("about_dom_distiller.js", |
- IDR_ABOUT_DOM_DISTILLER_JS); |
+ source->AddResourcePath("about_dom_distiller.js", IDR_ABOUT_DOM_DISTILLER_JS); |
source->SetUseJsonJSFormatV2(); |
source->AddLocalizedString("domDistillerTitle", |
- IDS_DOM_DISTILLER_WEBUI_TITLE); |
+ IDS_DOM_DISTILLER_WEBUI_TITLE); |
source->AddLocalizedString("addArticleUrl", |
- IDS_DOM_DISTILLER_WEBUI_ENTRY_URL); |
+ IDS_DOM_DISTILLER_WEBUI_ENTRY_URL); |
source->AddLocalizedString("addArticleAddButtonLabel", |
- IDS_DOM_DISTILLER_WEBUI_ENTRY_ADD); |
+ IDS_DOM_DISTILLER_WEBUI_ENTRY_ADD); |
source->AddLocalizedString("addArticleFailedLabel", |
- IDS_DOM_DISTILLER_WEBUI_ENTRY_ADD_FAILED); |
+ IDS_DOM_DISTILLER_WEBUI_ENTRY_ADD_FAILED); |
+ source->AddLocalizedString("viewUrlButtonLabel", |
+ IDS_DOM_DISTILLER_WEBUI_VIEW_URL); |
+ source->AddLocalizedString("viewUrlFailedLabel", |
+ IDS_DOM_DISTILLER_WEBUI_VIEW_URL_FAILED); |
source->AddLocalizedString("loadingEntries", |
- IDS_DOM_DISTILLER_WEBUI_FETCHING_ENTRIES); |
+ IDS_DOM_DISTILLER_WEBUI_FETCHING_ENTRIES); |
source->AddLocalizedString("refreshButtonLabel", |
- IDS_DOM_DISTILLER_WEBUI_REFRESH); |
+ IDS_DOM_DISTILLER_WEBUI_REFRESH); |
content::BrowserContext* browser_context = |
web_ui->GetWebContents()->GetBrowserContext(); |