Lines Matching refs:source
2 // Use of this source code is governed by a BSD-style license that can be
18 content::WebUIDataSource* source =
21 source->SetJsonPath("strings.js");
22 source->SetUseJsonJSFormatV2();
23 source->AddResourcePath("help.js", IDR_HELP_JS);
24 source->AddResourcePath("help_page.js", IDR_HELP_PAGE_JS);
25 source->AddResourcePath("channel_change_page.js", IDR_CHANNEL_CHANGE_PAGE_JS);
26 source->SetDefaultResource(IDR_HELP_HTML);
27 source->DisableDenyXFrameOptions();
28 return source;
36 content::WebUIDataSource* source = CreateAboutPageHTMLSource();
41 source->AddLocalizedStrings(localized_strings);
42 content::WebUIDataSource::Add(profile, source);