Lines Matching refs:UserScript
64 const base::StringPiece& script_text, UserScript* script) {
71 static const base::StringPiece kUserScriptBegin("// ==UserScript==");
72 static const base::StringPiece kUserScriptEng("// ==/UserScript==");
123 URLPattern pattern(UserScript::ValidUserScriptSchemes());
128 URLPattern exclude(UserScript::ValidUserScriptSchemes());
134 script->set_run_location(UserScript::DOCUMENT_START);
136 script->set_run_location(UserScript::DOCUMENT_END);
138 script->set_run_location(UserScript::DOCUMENT_IDLE);
186 static bool LoadScriptContent(UserScript::File* script_file,
236 UserScript& script = user_scripts->at(i);
240 UserScript::File& script_file = script.js_scripts()[k];
245 UserScript::File& script_file = script.css_scripts()[k];
269 const UserScript& script = scripts[i];