UserScript 134 chrome/browser/chromeos/accessibility/accessibility_manager.cc params.run_at = extensions::UserScript::DOCUMENT_IDLE; UserScript 173 chrome/browser/chromeos/accessibility/accessibility_manager.cc params.run_at = extensions::UserScript::DOCUMENT_IDLE; UserScript 187 chrome/browser/chromeos/accessibility/accessibility_manager.cc const extensions::UserScript& script = content_scripts[i]; UserScript 189 chrome/browser/chromeos/accessibility/accessibility_manager.cc const extensions::UserScript::File &file = script.js_scripts()[j]; UserScript 96 chrome/browser/download/download_crx_util.cc if (extensions::UserScript::IsURLUserScript(download_item.GetURL(), UserScript 122 chrome/browser/download/download_crx_util.cc extensions::UserScript::IsURLUserScript(download_item.GetURL(), UserScript 50 chrome/browser/extensions/active_tab_permission_granter.cc URLPattern pattern(UserScript::ValidUserScriptSchemes()); UserScript 127 chrome/browser/extensions/api/execute_code_function.cc UserScript::RunLocation run_at = UserScript 128 chrome/browser/extensions/api/execute_code_function.cc UserScript::UNDEFINED; UserScript 132 chrome/browser/extensions/api/execute_code_function.cc run_at = UserScript::DOCUMENT_IDLE; UserScript 135 chrome/browser/extensions/api/execute_code_function.cc run_at = UserScript::DOCUMENT_START; UserScript 138 chrome/browser/extensions/api/execute_code_function.cc run_at = UserScript::DOCUMENT_END; UserScript 141 chrome/browser/extensions/api/execute_code_function.cc CHECK_NE(UserScript::UNDEFINED, run_at); UserScript 1375 chrome/browser/extensions/api/tabs/tabs_api.cc UserScript::DOCUMENT_IDLE, UserScript 34 chrome/browser/extensions/browser_permissions_policy_delegate.cc const UserScript* script, UserScript 23 chrome/browser/extensions/browser_permissions_policy_delegate.h const UserScript* script, UserScript 47 chrome/browser/extensions/convert_user_script.cc UserScript script; UserScript 147 chrome/browser/extensions/convert_user_script.cc if (script.run_location() == UserScript::DOCUMENT_START) UserScript 149 chrome/browser/extensions/convert_user_script.cc else if (script.run_location() == UserScript::DOCUMENT_END) UserScript 151 chrome/browser/extensions/convert_user_script.cc else if (script.run_location() == UserScript::DOCUMENT_IDLE) UserScript 65 chrome/browser/extensions/convert_user_script_unittest.cc const UserScript& script = UserScript 67 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(UserScript::DOCUMENT_IDLE, script.run_location()); UserScript 118 chrome/browser/extensions/convert_user_script_unittest.cc const UserScript& script = UserScript 185 chrome/browser/extensions/convert_user_script_unittest.cc const UserScript& script = UserScript 187 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(UserScript::DOCUMENT_START, script.run_location()); UserScript 220 chrome/browser/extensions/convert_user_script_unittest.cc const UserScript& script = UserScript 222 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(UserScript::DOCUMENT_END, script.run_location()); UserScript 256 chrome/browser/extensions/convert_user_script_unittest.cc const UserScript& script = UserScript 258 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(UserScript::DOCUMENT_IDLE, script.run_location()); UserScript 405 chrome/browser/extensions/crx_installer.cc URLPattern pattern(UserScript::ValidUserScriptSchemes()); UserScript 116 chrome/browser/extensions/script_executor.cc UserScript::RunLocation run_at, UserScript 86 chrome/browser/extensions/script_executor.h UserScript::RunLocation run_at, UserScript 65 chrome/browser/extensions/user_script_master.cc const base::StringPiece& script_text, UserScript* script) { UserScript 124 chrome/browser/extensions/user_script_master.cc URLPattern pattern(UserScript::ValidUserScriptSchemes()); UserScript 129 chrome/browser/extensions/user_script_master.cc URLPattern exclude(UserScript::ValidUserScriptSchemes()); UserScript 135 chrome/browser/extensions/user_script_master.cc script->set_run_location(UserScript::DOCUMENT_START); UserScript 137 chrome/browser/extensions/user_script_master.cc script->set_run_location(UserScript::DOCUMENT_END); UserScript 139 chrome/browser/extensions/user_script_master.cc script->set_run_location(UserScript::DOCUMENT_IDLE); UserScript 187 chrome/browser/extensions/user_script_master.cc static bool LoadScriptContent(UserScript::File* script_file, UserScript 237 chrome/browser/extensions/user_script_master.cc UserScript& script = user_scripts->at(i); UserScript 241 chrome/browser/extensions/user_script_master.cc UserScript::File& script_file = script.js_scripts()[k]; UserScript 246 chrome/browser/extensions/user_script_master.cc UserScript::File& script_file = script.css_scripts()[k]; UserScript 270 chrome/browser/extensions/user_script_master.cc const UserScript& script = scripts[i]; UserScript 74 chrome/browser/extensions/user_script_master.h UserScript* script); UserScript 119 chrome/browser/extensions/user_script_master_unittest.cc UserScript script; UserScript 131 chrome/browser/extensions/user_script_master_unittest.cc UserScript script; UserScript 144 chrome/browser/extensions/user_script_master_unittest.cc UserScript script; UserScript 161 chrome/browser/extensions/user_script_master_unittest.cc UserScript script; UserScript 175 chrome/browser/extensions/user_script_master_unittest.cc UserScript script; UserScript 188 chrome/browser/extensions/user_script_master_unittest.cc UserScript script; UserScript 202 chrome/browser/extensions/user_script_master_unittest.cc UserScript script; UserScript 220 chrome/browser/extensions/user_script_master_unittest.cc UserScript script; UserScript 238 chrome/browser/extensions/user_script_master_unittest.cc UserScript user_script; UserScript 239 chrome/browser/extensions/user_script_master_unittest.cc user_script.js_scripts().push_back(UserScript::File( UserScript 261 chrome/browser/extensions/user_script_master_unittest.cc UserScript user_script; UserScript 262 chrome/browser/extensions/user_script_master_unittest.cc user_script.js_scripts().push_back(UserScript::File( UserScript 540 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc return extensions::UserScript::IsURLUserScript(url, mime_type); UserScript 40 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc void(UserScript::*add_method)(const std::string& glob), UserScript 41 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc UserScript* instance) { UserScript 77 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc UserScript* result) { UserScript 89 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc result->set_run_location(UserScript::DOCUMENT_START); UserScript 91 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc result->set_run_location(UserScript::DOCUMENT_END); UserScript 93 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc result->set_run_location(UserScript::DOCUMENT_IDLE); UserScript 139 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern pattern(UserScript::ValidUserScriptSchemes( UserScript 196 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc int valid_schemes = UserScript::ValidUserScriptSchemes( UserScript 215 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc error, &UserScript::add_glob, result)) { UserScript 220 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc error, &UserScript::add_exclude_glob, result)) { UserScript 265 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc result->js_scripts().push_back(UserScript::File( UserScript 284 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc result->css_scripts().push_back(UserScript::File( UserScript 400 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc UserScript user_script; UserScript 442 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const UserScript& script = content_scripts[i]; UserScript 445 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const UserScript::File& js_script = script.js_scripts()[j]; UserScript 455 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const UserScript::File& css_script = script.css_scripts()[j]; UserScript 183 chrome/renderer/extensions/extension_helper.cc frame, UserScript::DOCUMENT_END); UserScript 198 chrome/renderer/extensions/extension_helper.cc frame, UserScript::DOCUMENT_START); UserScript 32 chrome/renderer/extensions/renderer_permissions_policy_delegate.cc const UserScript* script, UserScript 25 chrome/renderer/extensions/renderer_permissions_policy_delegate.h const UserScript* script, UserScript 49 chrome/renderer/extensions/user_script_scheduler.cc current_location_(UserScript::UNDEFINED), UserScript 52 chrome/renderer/extensions/user_script_scheduler.cc for (int i = UserScript::UNDEFINED; i < UserScript::RUN_LOCATION_LAST; ++i) { UserScript 53 chrome/renderer/extensions/user_script_scheduler.cc pending_execution_map_[static_cast<UserScript::RunLocation>(i)] = UserScript 63 chrome/renderer/extensions/user_script_scheduler.cc UserScript::RunLocation run_at = UserScript 64 chrome/renderer/extensions/user_script_scheduler.cc static_cast<UserScript::RunLocation>(params.run_at); UserScript 76 chrome/renderer/extensions/user_script_scheduler.cc current_location_ = UserScript::DOCUMENT_START; UserScript 81 chrome/renderer/extensions/user_script_scheduler.cc current_location_ = UserScript::DOCUMENT_END; UserScript 91 chrome/renderer/extensions/user_script_scheduler.cc current_location_ = UserScript::DOCUMENT_IDLE; UserScript 101 chrome/renderer/extensions/user_script_scheduler.cc current_location_ = UserScript::UNDEFINED; UserScript 104 chrome/renderer/extensions/user_script_scheduler.cc std::map<UserScript::RunLocation, ExecutionQueue>::iterator itr = UserScript 114 chrome/renderer/extensions/user_script_scheduler.cc current_location_ = UserScript::DOCUMENT_IDLE; UserScript 119 chrome/renderer/extensions/user_script_scheduler.cc if (current_location_ == UserScript::UNDEFINED) UserScript 122 chrome/renderer/extensions/user_script_scheduler.cc if (!has_run_idle_ && current_location_ == UserScript::DOCUMENT_IDLE) { UserScript 125 chrome/renderer/extensions/user_script_scheduler.cc frame_, UserScript::DOCUMENT_IDLE); UserScript 129 chrome/renderer/extensions/user_script_scheduler.cc for (int i = UserScript::DOCUMENT_START; UserScript 131 chrome/renderer/extensions/user_script_scheduler.cc UserScript::RunLocation run_time = static_cast<UserScript::RunLocation>(i); UserScript 82 chrome/renderer/extensions/user_script_scheduler.h UserScript::RunLocation current_location_; UserScript 88 chrome/renderer/extensions/user_script_scheduler.h std::map<UserScript::RunLocation, ExecutionQueue> pending_execution_map_; UserScript 150 chrome/renderer/extensions/user_script_slave.cc scripts_.push_back(new UserScript()); UserScript 151 chrome/renderer/extensions/user_script_slave.cc UserScript* script = scripts_.back(); UserScript 183 chrome/renderer/extensions/user_script_slave.cc UserScript* script = scripts_[i]; UserScript 201 chrome/renderer/extensions/user_script_slave.cc const UserScript::File& file = scripts_[i]->css_scripts()[j]; UserScript 232 chrome/renderer/extensions/user_script_slave.cc UserScript::RunLocation location) { UserScript 249 chrome/renderer/extensions/user_script_slave.cc UserScript* script = scripts_[i]; UserScript 277 chrome/renderer/extensions/user_script_slave.cc if (location == UserScript::DOCUMENT_START) UserScript 283 chrome/renderer/extensions/user_script_slave.cc UserScript::File &file = script->js_scripts()[j]; UserScript 337 chrome/renderer/extensions/user_script_slave.cc if (location == UserScript::DOCUMENT_START) { UserScript 342 chrome/renderer/extensions/user_script_slave.cc } else if (location == UserScript::DOCUMENT_END) { UserScript 346 chrome/renderer/extensions/user_script_slave.cc } else if (location == UserScript::DOCUMENT_IDLE) { UserScript 51 chrome/renderer/extensions/user_script_slave.h void InjectScripts(blink::WebFrame* frame, UserScript::RunLocation location); UserScript 71 chrome/renderer/extensions/user_script_slave.h std::vector<UserScript*> scripts_; UserScript 72 chrome/renderer/extensions/user_script_slave.h STLElementDeleter<std::vector<UserScript*> > script_deleter_; UserScript 605 extensions/browser/extension_prefs.cc &scriptable_hosts, UserScript::ValidUserScriptSchemes()); UserScript 460 extensions/common/permissions/permissions_data.cc const UserScript* script, UserScript 27 extensions/common/permissions/permissions_data.h class UserScript; UserScript 49 extensions/common/permissions/permissions_data.h const UserScript* script, UserScript 164 extensions/common/permissions/permissions_data.h const UserScript* script, UserScript 39 extensions/common/user_script.cc const char UserScript::kFileExtension[] = ".user.js"; UserScript 41 extensions/common/user_script.cc bool UserScript::IsURLUserScript(const GURL& url, UserScript 48 extensions/common/user_script.cc int UserScript::ValidUserScriptSchemes(bool canExecuteScriptEverywhere) { UserScript 59 extensions/common/user_script.cc UserScript::File::File(const base::FilePath& extension_root, UserScript 67 extensions/common/user_script.cc UserScript::File::File() {} UserScript 69 extensions/common/user_script.cc UserScript::File::~File() {} UserScript 71 extensions/common/user_script.cc UserScript::UserScript() UserScript 76 extensions/common/user_script.cc UserScript::~UserScript() { UserScript 79 extensions/common/user_script.cc void UserScript::add_url_pattern(const URLPattern& pattern) { UserScript 83 extensions/common/user_script.cc void UserScript::add_exclude_url_pattern(const URLPattern& pattern) { UserScript 87 extensions/common/user_script.cc bool UserScript::MatchesURL(const GURL& url) const { UserScript 111 extensions/common/user_script.cc void UserScript::File::Pickle(::Pickle* pickle) const { UserScript 117 extensions/common/user_script.cc void UserScript::File::Unpickle(const ::Pickle& pickle, PickleIterator* iter) { UserScript 124 extensions/common/user_script.cc void UserScript::Pickle(::Pickle* pickle) const { UserScript 140 extensions/common/user_script.cc void UserScript::PickleGlobs(::Pickle* pickle, UserScript 149 extensions/common/user_script.cc void UserScript::PickleURLPatternSet(::Pickle* pickle, UserScript 159 extensions/common/user_script.cc void UserScript::PickleScripts(::Pickle* pickle, UserScript 168 extensions/common/user_script.cc void UserScript::Unpickle(const ::Pickle& pickle, PickleIterator* iter) { UserScript 188 extensions/common/user_script.cc void UserScript::UnpickleGlobs(const ::Pickle& pickle, PickleIterator* iter, UserScript 200 extensions/common/user_script.cc void UserScript::UnpickleURLPatternSet(const ::Pickle& pickle, UserScript 224 extensions/common/user_script.cc void UserScript::UnpickleScripts(const ::Pickle& pickle, PickleIterator* iter, UserScript 24 extensions/common/user_script.h class UserScript { UserScript 107 extensions/common/user_script.h UserScript(); UserScript 108 extensions/common/user_script.h ~UserScript(); UserScript 256 extensions/common/user_script.h typedef std::vector<UserScript> UserScriptList; UserScript 21 extensions/common/user_script_unittest.cc UserScript script; UserScript 40 extensions/common/user_script_unittest.cc UserScript script; UserScript 49 extensions/common/user_script_unittest.cc UserScript script; UserScript 58 extensions/common/user_script_unittest.cc UserScript script; UserScript 68 extensions/common/user_script_unittest.cc UserScript script; UserScript 79 extensions/common/user_script_unittest.cc UserScript script; UserScript 88 extensions/common/user_script_unittest.cc UserScript script; UserScript 104 extensions/common/user_script_unittest.cc UserScript script; UserScript 118 extensions/common/user_script_unittest.cc UserScript script; UserScript 133 extensions/common/user_script_unittest.cc UserScript script; UserScript 171 extensions/common/user_script_unittest.cc UserScript script1; UserScript 172 extensions/common/user_script_unittest.cc script1.js_scripts().push_back(UserScript::File( UserScript 176 extensions/common/user_script_unittest.cc script1.css_scripts().push_back(UserScript::File( UserScript 180 extensions/common/user_script_unittest.cc script1.css_scripts().push_back(UserScript::File( UserScript 184 extensions/common/user_script_unittest.cc script1.set_run_location(UserScript::DOCUMENT_START); UserScript 195 extensions/common/user_script_unittest.cc UserScript script2; UserScript 216 extensions/common/user_script_unittest.cc UserScript script; UserScript 217 extensions/common/user_script_unittest.cc ASSERT_EQ(UserScript::DOCUMENT_IDLE, script.run_location());