Searched refs:content_scripts (Results 1 – 9 of 9) sorted by relevance
/external/chromium/chrome/browser/extensions/ |
D | convert_user_script_unittest.cc | 37 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()
|
D | user_script_listener.cc | 114 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()
|
D | convert_user_script.cc | 129 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()
|
D | user_script_master.cc | 348 const UserScriptList& scripts = extension->content_scripts(); in Observe()
|
D | extension_service_unittest.cc | 946 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/ |
D | extension_unittest.cc | 211 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 …]
|
D | extension_file_util.cc | 181 for (size_t i = 0; i < extension->content_scripts().size(); ++i) { in ValidateExtension() 182 const UserScript& script = extension->content_scripts()[i]; in ValidateExtension()
|
D | extension.h | 583 const UserScriptList& content_scripts() const { return content_scripts_; } in content_scripts() function
|
D | extension.cc | 2741 content_scripts().begin(); in InitEffectiveHostPermissions() 2742 content_script != content_scripts().end(); ++content_script) { in InitEffectiveHostPermissions()
|