Searched defs:scripts (Results 1 - 25 of 54) sorted by path

123

/external/chromium_org/chrome/browser/extensions/
H A Dactive_script_controller_browsertest.cc30 "\"background\": {\"scripts\": [\"script.js\"]}";
117 std::string scripts; local
120 scripts = base::StringPrintf(
130 scripts = kBackgroundScript;
143 scripts.c_str());
197 // scripts or through chrome.tabs.executeScript()) that sends a message with
314 // - An extension that injects scripts into all hosts,
315 // - An extension that injects scripts into explicit hosts,
363 // Load up two extensions, each with content scripts.
H A Dextension_prefs_unittest.cc570 scoped_ptr<base::ListValue> scripts(new base::ListValue);
571 scripts->AppendString("test.js");
572 manifest.Set(manifest_keys::kBackgroundScripts, scripts.release());
604 const base::ListValue* scripts; variable
605 ASSERT_TRUE(manifest->GetList(manifest_keys::kBackgroundScripts, &scripts));
606 EXPECT_EQ(1u, scripts->GetSize());
H A Dextension_service_unittest.cc1227 const extensions::UserScriptList& scripts = local
1229 ASSERT_EQ(2u, scripts.size());
1230 EXPECT_EQ(expected_patterns, scripts[0].url_patterns());
1231 EXPECT_EQ(2u, scripts[0].js_scripts().size());
1233 scripts[0].js_scripts()[0].extension_root(),
1234 scripts[0].js_scripts()[0].relative_path());
1239 scripts[0].js_scripts()[1].extension_root(),
1240 scripts[0].js_scripts()[1].relative_path());
1245 EXPECT_EQ(1u, scripts[1].url_patterns().patterns().size());
1247 scripts[
[all...]
H A Duser_script_listener.cc60 // True if the user scripts contained in |url_patterns| are ready for
64 // A list of URL patterns that have will have user scripts applied to them.
106 // user scripts to see if we need to wait.
123 // One of the user scripts wants to inject into this request, but the
197 const UserScriptList& scripts = local
199 for (UserScriptList::const_iterator iter = scripts.begin();
200 iter != scripts.end(); ++iter) {
H A Duser_script_loader.cc156 // Pickle user scripts and return pointer to the shared memory.
157 scoped_ptr<base::SharedMemory> Serialize(const UserScriptList& scripts) { argument
159 pickle.WriteUInt64(scripts.size());
160 for (UserScriptList::const_iterator script = scripts.begin();
161 script != scripts.end();
167 // Write scripts as 'data' so that we can read it out in the slave without
374 void UserScriptLoader::AddScripts(const std::set<UserScript>& scripts) { argument
375 for (std::set<UserScript>::const_iterator it = scripts.begin();
376 it != scripts.end();
384 void UserScriptLoader::RemoveScripts(const std::set<UserScript>& scripts) { argument
577 ExpandChangedExtensions( const std::set<UserScript>& scripts) argument
[all...]
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dsync_extension_helper.cc314 base::ListValue* scripts = new base::ListValue(); local
315 scripts->AppendString("main.js");
317 scripts);
/external/chromium_org/chrome/common/extensions/api/
H A Dextension_api_unittest.cc302 .Set("scripts", ListBuilder().Append("background.js"))))
522 base::ListValue* scripts = new base::ListValue(); local
523 scripts->Append(new base::StringValue("test.js"));
524 background->Set("scripts", scripts);
671 // "app" API is available to all URLs that content scripts can be injected.
/external/chromium_org/chrome/renderer/spellchecker/
H A Dspellcheck_worditerator.cc135 // given language consists of two or more scripts, we just use the first
141 int scripts = uscript_getCode(language.c_str(), script_code, local
143 if (U_SUCCESS(error) && scripts >= 1)
/external/chromium_org/chrome/test/base/
H A Dextension_js_browser_test.cc38 std::vector<base::string16> scripts; local
40 BuildJavascriptLibraries(&scripts);
43 scripts.push_back(BuildRunTestJSCall(is_async, "RUN_TEST_F", args));
45 base::string16 script_16 = JoinString(scripts, '\n');
/external/chromium_org/extensions/common/
H A Dfile_util_unittest.cc251 base::ListValue* scripts = new base::ListValue(); local
252 scripts->Append(new base::StringValue("foo.js"));
253 value->Set("background.scripts", scripts);
269 scripts->Clear();
270 scripts->Append(new base::StringValue("http://google.com/foo.js"));
H A Duser_script.cc176 const FileList& scripts) const {
177 pickle->WriteUInt64(scripts.size());
178 for (FileList::const_iterator file = scripts.begin();
179 file != scripts.end(); ++file) {
243 FileList* scripts) {
246 scripts->clear();
250 scripts->push_back(file);
242 UnpickleScripts(const ::Pickle& pickle, PickleIterator* iter, FileList* scripts) argument
/external/chromium_org/extensions/renderer/
H A Ddispatcher.cc293 // Initialize origin permissions for content scripts, which can't be
431 // frames, for example content scripts. Don't let them execute API functions.
999 const std::vector<UserScript*>& scripts) {
997 OnUserScriptsUpdated( const std::set<std::string>& changed_extensions, const std::vector<UserScript*>& scripts) argument
H A Dscript_injection_manager.cc31 // scripts.
128 // Ensure that we don't block any UI progress by running scripts.
219 const std::vector<UserScript*>& scripts) {
262 // We don't want to run because extensions may have requirements that scripts
283 // Inject any scripts that were waiting for the right run location.
298 // Try to inject any user scripts that should run for this location. If they
217 OnUserScriptsUpdated( const std::set<std::string>& changed_extensions, const std::vector<UserScript*>& scripts) argument
H A Duser_script_injector.cc31 // Greasemonkey API source that is injected with the scripts.
74 const std::vector<UserScript*>& scripts) {
80 for (std::vector<UserScript*>::const_iterator iter = scripts.begin();
81 iter != scripts.end();
137 // Declarative user scripts use "page access" (from "permissions" section in
138 // manifest) whereas non-declarative user scripts use custom
175 // TODO(aa): I think that maybe "is_standalone" scripts don't exist
185 // Emulate Greasemonkey API for scripts that were converted to extensions
186 // and "standalone" user scripts.
72 OnUserScriptsUpdated( const std::set<std::string>& changed_extensions, const std::vector<UserScript*>& scripts) argument
H A Duser_script_set.h40 const std::vector<UserScript*>& scripts) = 0;
50 // Appends the ids of the extensions that have user scripts to |ids|.
70 // Updates scripts given the shared memory region containing user scripts.
71 // Returns true if the scripts were successfully updated.
75 const std::vector<UserScript*>& scripts() const { return scripts_.get(); } function in class:extensions::UserScriptSet
H A Duser_script_set_manager.cc102 NOTREACHED() << "Bad scripts handle";
115 UserScriptSet* scripts = NULL; local
123 scripts = new UserScriptSet(extensions_);
124 programmatic_scripts_[extension_id] = make_linked_ptr(scripts);
126 scripts = programmatic_scripts_[extension_id].get();
129 scripts = &static_scripts_;
131 DCHECK(scripts);
150 if (scripts->UpdateUserScripts(shared_memory, *effective_extensions)) {
154 OnUserScriptsUpdated(*effective_extensions, scripts->scripts()));
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDocument.cpp3081 String message = "Refused to execute the redirect specified via '<meta http-equiv='refresh' content='...'>'. The document is sandboxed, and the 'allow-scripts' keyword is not set.";
4371 // Postpone DOM mutation events, which can execute scripts and change
4597 PassRefPtrWillBeRawPtr<HTMLCollection> Document::scripts() function in class:blink::Document
4903 // FIXME: Eventually we'd like to evaluate scripts which are inserted into a
H A DScriptRunner.cpp131 Vector<PendingScript> scripts; local
132 scripts.swap(m_scriptsToExecuteSoon);
136 scripts.append(m_scriptsToExecuteInOrder[numInOrderScriptsToExecute]);
140 size_t size = scripts.size();
142 ScriptResource* resource = scripts[i].resource();
143 RefPtrWillBeRawPtr<Element> element = scripts[i].releaseElementAndClear();
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DMemoryCache.h47 // This cache holds subresources used by Web pages: images, scripts, stylesheets, etc.
164 TypeStatistic scripts; member in struct:blink::FINAL::Statistics
180 // since the decoded cost of resources like scripts and stylesheets is not known.
H A DResourceFetcher.cpp128 // Async scripts do not block the parser so they get the lowest priority and can be
1423 unsigned scripts = 0; local
1440 scripts++;
1460 if (scripts)
1461 printf("SCRIPTS: %d (%d hits, hit rate %d%%)\n", scripts, scripts - scriptMisses, (scripts - scriptMisses) * 100 / scripts);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorPageAgent.cpp550 RefPtr<JSONObject> scripts = m_state->getObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad); local
551 if (!scripts) {
552 scripts = JSONObject::create();
553 m_state->setObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad, scripts);
556 // scripts once we restored the scripts from the cookie during navigation.
559 } while (scripts->find(*identifier) != scripts->end());
560 scripts->setString(*identifier, source);
563 m_state->setObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad, scripts);
568 RefPtr<JSONObject> scripts = m_state->getObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad); local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
H A DOpenTypeVerticalData.cpp315 } scripts[1]; member in struct:blink::OpenType::ScriptList
320 if (!isValidEnd(buffer, &scripts[count]))
323 if (scripts[i].scriptTag == tag)
324 return validateOffset<ScriptTable>(buffer, scripts[i].scriptOffset);
332 if (!count || !isValidEnd(buffer, &scripts[count]))
337 return validateOffset<ScriptTable>(buffer, scripts[0].scriptOffset);
361 const ScriptList* scripts = scriptList(buffer); local
362 if (!scripts)
364 return scripts->defaultLangSys(buffer);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/bindings/
H A Dmain.py43 import bindings.scripts.compute_interfaces_info_individual namespace
44 from bindings.scripts.compute_interfaces_info_individual import compute_info_individual, info_individual
45 import bindings.scripts.compute_interfaces_info_overall namespace
46 from bindings.scripts.compute_interfaces_info_overall import compute_interfaces_info_overall, interfaces_info
47 from bindings.scripts.idl_compiler import IdlCompilerDictionaryImpl, IdlCompilerV8
/external/chromium_org/third_party/WebKit/public/web/
H A DWebCache.h63 ResourceTypeStat scripts; member in struct:blink::WebCache::ResourceTypeStats
/external/chromium_org/third_party/cython/src/
H A Dsetup.py79 scripts = [] variable
82 scripts = ["bin/cython"]
84 scripts = ["cython.py"]
92 scripts.append('bin/cygdb')
94 scripts.append('cygdb.py')
331 scripts = scripts, variable

Completed in 7202 milliseconds

123