• Home
  • Raw
  • Download

Lines Matching refs:output

21   std::string output(html_template.data(), html_template.size());  in GetTemplateHtml()  local
22 AppendJsonHtml(json, &output); in GetTemplateHtml()
23 AppendJsTemplateSourceHtml(&output); in GetTemplateHtml()
24 AppendJsTemplateProcessHtml(template_id, &output); in GetTemplateHtml()
25 return output; in GetTemplateHtml()
30 std::string output(html_template.data(), html_template.size()); in GetI18nTemplateHtml() local
31 AppendJsonHtml(json, &output); in GetI18nTemplateHtml()
32 AppendI18nTemplateSourceHtml(&output); in GetI18nTemplateHtml()
33 AppendI18nTemplateProcessHtml(&output); in GetI18nTemplateHtml()
34 return output; in GetI18nTemplateHtml()
40 std::string output(html_template.data(), html_template.size()); in GetTemplatesHtml() local
41 AppendI18nTemplateSourceHtml(&output); in GetTemplatesHtml()
42 AppendJsTemplateSourceHtml(&output); in GetTemplatesHtml()
43 AppendJsonHtml(json, &output); in GetTemplatesHtml()
44 AppendI18nTemplateProcessHtml(&output); in GetTemplatesHtml()
45 AppendJsTemplateProcessHtml(template_id, &output); in GetTemplatesHtml()
46 return output; in GetTemplatesHtml()
49 void AppendJsonHtml(const DictionaryValue* json, std::string* output) { in AppendJsonHtml() argument
60 output->append("<script>"); in AppendJsonHtml()
61 output->append("var templateData = "); in AppendJsonHtml()
62 output->append(jstext); in AppendJsonHtml()
63 output->append(";"); in AppendJsonHtml()
64 output->append("</script>"); in AppendJsonHtml()
67 void AppendJsTemplateSourceHtml(std::string* output) { in AppendJsTemplateSourceHtml() argument
78 output->append("<script>"); in AppendJsTemplateSourceHtml()
79 output->append(jstemplate_src.data(), jstemplate_src.size()); in AppendJsTemplateSourceHtml()
80 output->append("</script>"); in AppendJsTemplateSourceHtml()
84 std::string* output) { in AppendJsTemplateProcessHtml() argument
85 output->append("<script>"); in AppendJsTemplateProcessHtml()
86 output->append("var tp = document.getElementById('"); in AppendJsTemplateProcessHtml()
87 output->append(template_id.data(), template_id.size()); in AppendJsTemplateProcessHtml()
88 output->append("');"); in AppendJsTemplateProcessHtml()
89 output->append("jstProcess(new JsEvalContext(templateData), tp);"); in AppendJsTemplateProcessHtml()
90 output->append("</script>"); in AppendJsTemplateProcessHtml()
93 void AppendI18nTemplateSourceHtml(std::string* output) { in AppendI18nTemplateSourceHtml() argument
104 output->append("<script>"); in AppendI18nTemplateSourceHtml()
105 output->append(i18n_template_src.data(), i18n_template_src.size()); in AppendI18nTemplateSourceHtml()
106 output->append("</script>"); in AppendI18nTemplateSourceHtml()
109 void AppendI18nTemplateProcessHtml(std::string* output) { in AppendI18nTemplateProcessHtml() argument
110 output->append("<script>"); in AppendI18nTemplateProcessHtml()
111 output->append("i18nTemplate.process(document, templateData);"); in AppendI18nTemplateProcessHtml()
112 output->append("</script>"); in AppendI18nTemplateProcessHtml()