/external/chromium_org/extensions/common/ |
user_script.cc | 39 const char UserScript::kFileExtension[] = ".user.js"; 41 bool UserScript::IsURLUserScript(const GURL& url, 48 int UserScript::ValidUserScriptSchemes(bool canExecuteScriptEverywhere) { 59 UserScript::File::File(const base::FilePath& extension_root, 67 UserScript::File::File() {} 69 UserScript::File::~File() {} 71 UserScript::UserScript() 76 UserScript::~UserScript() { [all...] |
user_script_unittest.cc | 21 UserScript script; 40 UserScript script; 49 UserScript script; 58 UserScript script; 68 UserScript script; 79 UserScript script; 88 UserScript script; 104 UserScript script; 118 UserScript script; 133 UserScript script [all...] |
user_script.h | 24 class UserScript { 107 UserScript(); 108 ~UserScript(); 182 // Serialize the UserScript into a pickle. The content of the scripts and 183 // paths to UserScript::Files will not be serialized! 256 typedef std::vector<UserScript> UserScriptList;
|
/external/chromium/chrome/common/extensions/ |
user_script.cc | 12 bool UrlMatchesPatterns(const UserScript::PatternList* patterns, 14 for (UserScript::PatternList::const_iterator pattern = patterns->begin(); 37 const char UserScript::kFileExtension[] = ".user.js"; 40 const int UserScript::kValidUserScriptSchemes = 44 bool UserScript::IsURLUserScript(const GURL& url, 50 UserScript::File::File(const FilePath& extension_root, 58 UserScript::File::File() {} 60 UserScript::File::~File() {} 62 UserScript::UserScript() [all...] |
user_script_unittest.cc | 19 UserScript script; 38 UserScript script; 47 UserScript script; 56 UserScript script; 65 UserScript script; 77 UserScript script; 87 UserScript script; 125 UserScript script1; 126 script1.js_scripts().push_back(UserScript::File( 130 script1.css_scripts().push_back(UserScript::File [all...] |
user_script.h | 22 class UserScript { 105 UserScript(); 106 ~UserScript(); 176 // Serialize the UserScript into a pickle. The content of the scripts and 177 // paths to UserScript::Files will not be serialized! 234 typedef std::vector<UserScript> UserScriptList;
|
/external/chromium_org/chrome/renderer/extensions/ |
user_script_scheduler.cc | 48 current_location_(UserScript::UNDEFINED), 51 for (int i = UserScript::UNDEFINED; i < UserScript::RUN_LOCATION_LAST; ++i) { 52 pending_execution_map_[static_cast<UserScript::RunLocation>(i)] = 62 UserScript::RunLocation run_at = 63 static_cast<UserScript::RunLocation>(params.run_at); 75 current_location_ = UserScript::DOCUMENT_START; 80 current_location_ = UserScript::DOCUMENT_END; 90 current_location_ = UserScript::DOCUMENT_IDLE; 100 current_location_ = UserScript::UNDEFINED [all...] |
renderer_permissions_policy_delegate.h | 25 const UserScript* script,
|
user_script_scheduler.h | 27 // UserScript::RunLocation. 81 // Will be UserScript::UNDEFINED if it is before any scripts should be run. 82 UserScript::RunLocation current_location_; 88 std::map<UserScript::RunLocation, ExecutionQueue> pending_execution_map_;
|
user_script_slave.h | 51 void InjectScripts(blink::WebFrame* frame, UserScript::RunLocation location); 74 std::vector<UserScript*> scripts_; 75 STLElementDeleter<std::vector<UserScript*> > script_deleter_;
|
renderer_permissions_policy_delegate.cc | 31 const UserScript* script,
|
user_script_slave.cc | 176 scripts_.push_back(new UserScript()); 177 UserScript* script = scripts_.back(); 209 UserScript* script = scripts_[i]; 227 const UserScript::File& file = scripts_[i]->css_scripts()[j]; 258 UserScript::RunLocation location) { 275 UserScript* script = scripts_[i]; 303 if (location == UserScript::DOCUMENT_START) 309 UserScript::File &file = script->js_scripts()[j]; 363 if (location == UserScript::DOCUMENT_START) { 368 } else if (location == UserScript::DOCUMENT_END) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
browser_permissions_policy_delegate.h | 23 const UserScript* script,
|
user_script_master_unittest.cc | 107 "// ==UserScript== trailing garbage\n" 116 "// ==/UserScript== trailing garbage\n" 121 UserScript script; 133 UserScript script; 142 "// ==UserScript==\n" 144 "// ==/UserScript=="); // no trailing newline 146 UserScript script; 154 "// ==UserScript==\n" 157 "// ==/UserScript==\n"); 163 UserScript script [all...] |
convert_user_script_unittest.cc | 65 const UserScript& script = 67 EXPECT_EQ(UserScript::DOCUMENT_IDLE, script.run_location()); 118 const UserScript& script = 185 const UserScript& script = 187 EXPECT_EQ(UserScript::DOCUMENT_START, script.run_location()); 220 const UserScript& script = 222 EXPECT_EQ(UserScript::DOCUMENT_END, script.run_location()); 256 const UserScript& script = 258 EXPECT_EQ(UserScript::DOCUMENT_IDLE, script.run_location());
|
browser_permissions_policy_delegate.cc | 34 const UserScript* script,
|
script_executor.h | 86 UserScript::RunLocation run_at,
|
user_script_master.cc | 65 const base::StringPiece& script_text, UserScript* script) { 72 static const base::StringPiece kUserScriptBegin("// ==UserScript=="); 73 static const base::StringPiece kUserScriptEng("// ==/UserScript=="); 124 URLPattern pattern(UserScript::ValidUserScriptSchemes()); 129 URLPattern exclude(UserScript::ValidUserScriptSchemes()); 135 script->set_run_location(UserScript::DOCUMENT_START); 137 script->set_run_location(UserScript::DOCUMENT_END); 139 script->set_run_location(UserScript::DOCUMENT_IDLE); 187 static bool LoadScriptContent(UserScript::File* script_file, 237 UserScript& script = user_scripts->at(i) [all...] |
convert_user_script.cc | 47 UserScript script; 146 if (script.run_location() == UserScript::DOCUMENT_START) 148 else if (script.run_location() == UserScript::DOCUMENT_END) 150 else if (script.run_location() == UserScript::DOCUMENT_IDLE)
|
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
content_scripts_handler.cc | 40 void(UserScript::*add_method)(const std::string& glob), 41 UserScript* instance) { 71 // Helper method that loads a UserScript object from a dictionary in the 77 UserScript* result) { 89 result->set_run_location(UserScript::DOCUMENT_START); 91 result->set_run_location(UserScript::DOCUMENT_END); 93 result->set_run_location(UserScript::DOCUMENT_IDLE); 139 URLPattern pattern(UserScript::ValidUserScriptSchemes( 196 int valid_schemes = UserScript::ValidUserScriptSchemes( 215 error, &UserScript::add_glob, result)) [all...] |
/external/chromium/chrome/browser/extensions/ |
user_script_master.cc | 52 const base::StringPiece& script_text, UserScript* script) { 59 static const base::StringPiece kUserScriptBegin("// ==UserScript=="); 60 static const base::StringPiece kUserScriptEng("// ==/UserScript=="); 109 URLPattern pattern(UserScript::kValidUserScriptSchemes); 116 script->set_run_location(UserScript::DOCUMENT_START); 160 static bool LoadScriptContent(UserScript::File* script_file) { 197 result->push_back(UserScript()); 198 UserScript& user_script = result->back(); 202 user_script.set_run_location(UserScript::DOCUMENT_END); 204 // Push single js file in this UserScript [all...] |
user_script_master_unittest.cc | 108 "// ==UserScript== trailing garbage\n" 117 "// ==/UserScript== trailing garbage\n" 122 UserScript script; 134 UserScript script; 143 "// ==UserScript==\n" 145 "// ==/UserScript=="); // no trailing newline 147 UserScript script; 155 "// ==UserScript==\n" 158 "// ==/UserScript==\n"); 160 UserScript script [all...] |
/external/chromium_org/extensions/common/permissions/ |
permissions_data.h | 27 class UserScript; 49 const UserScript* script, 154 // UserScript object is passed, permission to run that specific script is 164 const UserScript* script,
|
/external/chromium_org/chrome/browser/extensions/api/ |
execute_code_function.cc | 127 UserScript::RunLocation run_at = 128 UserScript::UNDEFINED; 132 run_at = UserScript::DOCUMENT_IDLE; 135 run_at = UserScript::DOCUMENT_START; 138 run_at = UserScript::DOCUMENT_END; 141 CHECK_NE(UserScript::UNDEFINED, run_at);
|
/external/chromium_org/chrome/browser/download/ |
download_crx_util.cc | 96 if (extensions::UserScript::IsURLUserScript(download_item.GetURL(), 122 extensions::UserScript::IsURLUserScript(download_item.GetURL(),
|