Home | History | Annotate | Download | only in extensions

Lines Matching defs:script

167   // A whitelist of extensions that can script anywhere. Do not add to this
825 // The manifest needs to have at least one js or css user script definition.
2067 UserScript script;
2068 if (!LoadUserScriptHelper(content_script, i, flags, error, &script))
2069 return false; // Failed to parse script context definition.
2070 script.set_extension_id(id());
2072 script.set_emulate_greasemonkey(true);
2073 script.set_match_all_frames(true); // Greasemonkey matches all frames.
2075 content_scripts_.push_back(script);
2779 const UserScript* script,
2799 // If a script is specified, use its matches.
2800 if (script)
2801 return script->MatchesUrl(page_url);
2803 // Otherwise, see if this extension has permission to execute script