Lines Matching refs:UserScript
40 void(UserScript::*add_method)(const std::string& glob),
41 UserScript* instance) {
71 // Helper method that loads a UserScript object from a dictionary in the
77 UserScript* result) {
89 result->set_run_location(UserScript::DOCUMENT_START);
91 result->set_run_location(UserScript::DOCUMENT_END);
93 result->set_run_location(UserScript::DOCUMENT_IDLE);
139 URLPattern pattern(UserScript::ValidUserScriptSchemes(
196 int valid_schemes = UserScript::ValidUserScriptSchemes(
215 error, &UserScript::add_glob, result)) {
220 error, &UserScript::add_exclude_glob, result)) {
265 result->js_scripts().push_back(UserScript::File(
284 result->css_scripts().push_back(UserScript::File(
400 UserScript user_script;
442 const UserScript& script = content_scripts[i];
445 const UserScript::File& js_script = script.js_scripts()[j];
455 const UserScript::File& css_script = script.css_scripts()[j];