Lines Matching refs:html_source
678 content::WebUIDataSource* html_source =
680 html_source->SetUseJsonJSFormatV2();
682 html_source->AddLocalizedString("titleText", IDS_NFC_DEBUG_TITLE);
683 html_source->AddLocalizedString("notSupportedText",
685 html_source->AddLocalizedString("adapterHeaderText",
687 html_source->AddLocalizedString("adapterPowerOnText",
689 html_source->AddLocalizedString("adapterPowerOffText",
691 html_source->AddLocalizedString("adapterStartPollText",
693 html_source->AddLocalizedString("adapterStopPollText",
695 html_source->AddLocalizedString("ndefFormHeaderText",
697 html_source->AddLocalizedString("ndefFormTypeTextText",
699 html_source->AddLocalizedString("ndefFormTypeUriText",
701 html_source->AddLocalizedString("ndefFormTypeSmartPosterText",
703 html_source->AddLocalizedString("ndefFormWriteButtonText",
705 html_source->AddLocalizedString("ndefFormFieldTextText",
707 html_source->AddLocalizedString("ndefFormFieldEncodingText",
709 html_source->AddLocalizedString("ndefFormFieldLanguageCodeText",
711 html_source->AddLocalizedString("ndefFormFieldUriText",
713 html_source->AddLocalizedString("ndefFormFieldMimeTypeText",
715 html_source->AddLocalizedString("ndefFormFieldTargetSizeText",
717 html_source->AddLocalizedString("ndefFormFieldTitleTextText",
719 html_source->AddLocalizedString("ndefFormFieldTitleEncodingText",
721 html_source->AddLocalizedString(
724 html_source->AddLocalizedString("ndefFormPushButtonText",
726 html_source->AddLocalizedString("nfcPeerHeaderText",
728 html_source->AddLocalizedString("nfcTagHeaderText",
730 html_source->AddLocalizedString("recordsHeaderText",
732 html_source->AddLocalizedString("errorFailedToSetPowerText",
734 html_source->AddLocalizedString("errorFailedToSetPollingText",
736 html_source->AddLocalizedString("errorFailedToSubmitPrefixText",
738 html_source->SetJsonPath("strings.js");
741 html_source->AddResourcePath("nfc_debug.css", IDR_NFC_DEBUG_CSS);
742 html_source->AddResourcePath("nfc_debug.js", IDR_NFC_DEBUG_JS);
743 html_source->SetDefaultResource(IDR_NFC_DEBUG_HTML);
746 content::WebUIDataSource::Add(profile, html_source);