Lines Matching refs:content_script
704 bool Extension::LoadUserScriptHelper(const DictionaryValue* content_script, in LoadUserScriptHelper() argument
715 if (content_script->HasKey(keys::kRunAt)) { in LoadUserScriptHelper()
717 if (!content_script->GetString(keys::kRunAt, &run_location)) { in LoadUserScriptHelper()
737 if (content_script->HasKey(keys::kAllFrames)) { in LoadUserScriptHelper()
739 if (!content_script->GetBoolean(keys::kAllFrames, &all_frames)) { in LoadUserScriptHelper()
749 if (!content_script->GetList(keys::kMatches, &matches)) { in LoadUserScriptHelper()
798 if (!LoadGlobsHelper(content_script, definition_index, keys::kIncludeGlobs, in LoadUserScriptHelper()
803 if (!LoadGlobsHelper(content_script, definition_index, keys::kExcludeGlobs, in LoadUserScriptHelper()
810 if (content_script->HasKey(keys::kJs) && in LoadUserScriptHelper()
811 !content_script->GetList(keys::kJs, &js)) { in LoadUserScriptHelper()
818 if (content_script->HasKey(keys::kCss) && in LoadUserScriptHelper()
819 !content_script->GetList(keys::kCss, &css)) { in LoadUserScriptHelper()
872 const DictionaryValue* content_script, in LoadGlobsHelper() argument
878 if (!content_script->HasKey(globs_property_name)) in LoadGlobsHelper()
882 if (!content_script->GetList(globs_property_name, &list)) { in LoadGlobsHelper()
2060 DictionaryValue* content_script = NULL; in InitFromValue() local
2061 if (!list_value->GetDictionary(i, &content_script)) { in InitFromValue()
2068 if (!LoadUserScriptHelper(content_script, i, flags, error, &script)) in InitFromValue()
2740 for (UserScriptList::const_iterator content_script = in InitEffectiveHostPermissions() local
2742 content_script != content_scripts().end(); ++content_script) { in InitEffectiveHostPermissions()
2744 content_script->url_patterns().begin(); in InitEffectiveHostPermissions()
2745 for (; pattern != content_script->url_patterns().end(); ++pattern) in InitEffectiveHostPermissions()