Home
last modified time | relevance | path

Searched refs:content_scripts (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dconvert_user_script_unittest.cc37 ASSERT_EQ(1u, extension->content_scripts().size()); in TEST()
38 const UserScript& script = extension->content_scripts()[0]; in TEST()
77 ASSERT_EQ(1u, extension->content_scripts().size()); in TEST()
78 const UserScript& script = extension->content_scripts()[0]; in TEST()
Dconvert_user_script.cc129 ListValue* content_scripts = new ListValue(); in ConvertUserScriptToExtension() local
130 content_scripts->Append(content_script); in ConvertUserScriptToExtension()
132 root->Set(keys::kContentScripts, content_scripts); in ConvertUserScriptToExtension()
Duser_script_listener.cc114 const UserScriptList& scripts = extension->content_scripts(); in CollectURLPatterns()
131 if (extension->content_scripts().empty()) in Observe()
149 if (unloaded_extension->content_scripts().empty()) in Observe()
Duser_script_master.cc348 const UserScriptList& scripts = extension->content_scripts(); in Observe()
Dextension_service_unittest.cc946 const UserScriptList& scripts = extension->content_scripts(); in TEST_F()
988 EXPECT_EQ(0u, loaded_[1]->content_scripts().size()); in TEST_F()
1008 EXPECT_EQ(0u, loaded_[index]->content_scripts().size()); in TEST_F()
/external/chromium/chrome/common/extensions/
Dextension_unittest.cc211 ListValue* content_scripts = NULL; in TEST() local
212 input_value->GetList(keys::kContentScripts, &content_scripts); in TEST()
213 ASSERT_FALSE(NULL == content_scripts); in TEST()
214 content_scripts->Set(0, Value::CreateIntegerValue(42)); in TEST()
221 input_value->GetList(keys::kContentScripts, &content_scripts); in TEST()
223 content_scripts->GetDictionary(0, &user_script); in TEST()
253 input_value->GetList(keys::kContentScripts, &content_scripts); in TEST()
254 content_scripts->GetDictionary(0, &user_script); in TEST()
1268 file_url, &extension->content_scripts()[0], NULL)); in TEST()
1273 file_url, &extension->content_scripts()[0], NULL)); in TEST()
[all …]
Dextension_file_util.cc181 for (size_t i = 0; i < extension->content_scripts().size(); ++i) { in ValidateExtension()
182 const UserScript& script = extension->content_scripts()[i]; in ValidateExtension()
Dextension.h583 const UserScriptList& content_scripts() const { return content_scripts_; } in content_scripts() function
Dextension.cc2741 content_scripts().begin(); in InitEffectiveHostPermissions()
2742 content_script != content_scripts().end(); ++content_script) { in InitEffectiveHostPermissions()