Home
last modified time | relevance | path

Searched refs:content_script (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dconvert_user_script.cc123 DictionaryValue* content_script = new DictionaryValue(); in ConvertUserScriptToExtension() local
124 content_script->Set(keys::kMatches, matches); in ConvertUserScriptToExtension()
125 content_script->Set(keys::kIncludeGlobs, includes); in ConvertUserScriptToExtension()
126 content_script->Set(keys::kExcludeGlobs, excludes); in ConvertUserScriptToExtension()
127 content_script->Set(keys::kJs, js_files); in ConvertUserScriptToExtension()
130 content_scripts->Append(content_script); in ConvertUserScriptToExtension()
/external/chromium/chrome/common/extensions/
Dextension.cc704 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()
[all …]
Dextension.h686 bool LoadUserScriptHelper(const DictionaryValue* content_script,
694 bool LoadGlobsHelper(const DictionaryValue* content_script,