/external/chromium/chrome/common/extensions/ |
D | user_script.cc | 12 bool UrlMatchesPatterns(const UserScript::PatternList* patterns, in UrlMatchesPatterns() 14 for (UserScript::PatternList::const_iterator pattern = patterns->begin(); in UrlMatchesPatterns() 37 const char UserScript::kFileExtension[] = ".user.js"; 40 const int UserScript::kValidUserScriptSchemes = 44 bool UserScript::IsURLUserScript(const GURL& url, in IsURLUserScript() 50 UserScript::File::File(const FilePath& extension_root, in File() 58 UserScript::File::File() {} in File() 60 UserScript::File::~File() {} in ~File() 62 UserScript::UserScript() in UserScript() function in UserScript 67 UserScript::~UserScript() { in ~UserScript() [all …]
|
D | user_script_unittest.cc | 19 UserScript script; in TEST() 38 UserScript script; in TEST() 47 UserScript script; in TEST() 56 UserScript script; in TEST() 65 UserScript script; in TEST() 77 UserScript script; in TEST() 87 UserScript script; in TEST() 125 UserScript script1; in TEST() 126 script1.js_scripts().push_back(UserScript::File( in TEST() 130 script1.css_scripts().push_back(UserScript::File( in TEST() [all …]
|
D | user_script.h | 22 class UserScript { 105 UserScript(); 106 ~UserScript(); 234 typedef std::vector<UserScript> UserScriptList;
|
D | extension.h | 549 const UserScript* script, 690 UserScript* result); 698 void(UserScript::*add_method)(const std::string& glob), 699 UserScript *instance);
|
D | extension.cc | 336 UserScript::kValidUserScriptSchemes | URLPattern::SCHEME_CHROMEUI; 708 UserScript* result) { in LoadUserScriptHelper() 724 result->set_run_location(UserScript::DOCUMENT_START); in LoadUserScriptHelper() 726 result->set_run_location(UserScript::DOCUMENT_END); in LoadUserScriptHelper() 728 result->set_run_location(UserScript::DOCUMENT_IDLE); in LoadUserScriptHelper() 771 URLPattern pattern(UserScript::kValidUserScriptSchemes); in LoadUserScriptHelper() 799 error, &UserScript::add_glob, result)) { in LoadUserScriptHelper() 804 error, &UserScript::add_exclude_glob, result)) { in LoadUserScriptHelper() 845 result->js_scripts().push_back(UserScript::File( in LoadUserScriptHelper() 863 result->css_scripts().push_back(UserScript::File( in LoadUserScriptHelper() [all …]
|
D | extension_file_util.cc | 182 const UserScript& script = extension->content_scripts()[i]; in ValidateExtension() 185 const UserScript::File& js_script = script.js_scripts()[j]; in ValidateExtension() 194 const UserScript::File& css_script = script.css_scripts()[j]; in ValidateExtension()
|
/external/chromium/chrome/browser/extensions/ |
D | user_script_master.cc | 52 const base::StringPiece& script_text, UserScript* script) { in ParseMetadataHeader() 109 URLPattern pattern(UserScript::kValidUserScriptSchemes); in ParseMetadataHeader() 116 script->set_run_location(UserScript::DOCUMENT_START); in ParseMetadataHeader() 160 static bool LoadScriptContent(UserScript::File* script_file) { in LoadScriptContent() 197 result->push_back(UserScript()); in LoadScriptsFromDirectory() 198 UserScript& user_script = result->back(); in LoadScriptsFromDirectory() 202 user_script.set_run_location(UserScript::DOCUMENT_END); in LoadScriptsFromDirectory() 207 user_script.js_scripts().push_back(UserScript::File( in LoadScriptsFromDirectory() 209 UserScript::File& script_file = user_script.js_scripts().back(); in LoadScriptsFromDirectory() 220 UserScript& script = lone_scripts->at(i); in LoadLoneScripts() [all …]
|
D | user_script_master_unittest.cc | 122 UserScript script; in TEST_F() 134 UserScript script; in TEST_F() 147 UserScript script; in TEST_F() 160 UserScript script; in TEST_F() 178 UserScript script; in TEST_F() 191 UserScript script; in TEST_F() 205 UserScript script; in TEST_F()
|
D | convert_user_script_unittest.cc | 38 const UserScript& script = extension->content_scripts()[0]; in TEST() 78 const UserScript& script = extension->content_scripts()[0]; in TEST()
|
D | user_script_master.h | 76 UserScript* script);
|
D | extensions_ui.h | 30 class UserScript; variable
|
D | convert_user_script.cc | 42 UserScript script; in ConvertUserScriptToExtension()
|
D | crx_installer.cc | 272 URLPattern pattern(UserScript::kValidUserScriptSchemes); in AllowInstall()
|
D | extension_prefs.cc | 669 UserScript::kValidUserScriptSchemes); in GetGrantedPermissions()
|
/external/webkit/Source/WebCore/page/ |
D | UserScript.h | 38 class UserScript { 39 WTF_MAKE_NONCOPYABLE(UserScript); WTF_MAKE_FAST_ALLOCATED; 41 UserScript(const String& source, const KURL& url, in UserScript() function
|
D | UserScriptTypes.h | 37 class UserScript; variable 39 typedef Vector<OwnPtr<UserScript> > UserScriptVector;
|
D | PageGroup.cpp | 374 …OwnPtr<UserScript> userScript(new UserScript(source, url, whitelist, blacklist, injectionTime, inj… in addUserScriptToWorld()
|
D | Frame.cpp | 554 UserScript* script = userScripts[i].get(); in injectUserScriptsForWorld()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | extension_settings_handler.h | 30 class UserScript; variable 123 const UserScript& script,
|
/external/chromium/chrome/browser/download/ |
D | download_util.cc | 330 if (UserScript::IsURLUserScript(download_item.url(), in OpenChromeExtension()
|
D | download_manager.cc | 277 if (UserScript::IsURLUserScript(info->url(), info->mime_type) || in CheckDownloadUrlDone()
|
/external/webkit/Source/WebCore/ |
D | GNUmakefile.list.am | 2284 Source/WebCore/page/UserScript.h \
|
D | ChangeLog-2010-01-29 | 33023 worldID. Also updated for changes to UserScript and UserStyleSheet. 33025 * page/UserScript.h: 33822 class UserScript - instantiated at: WebCore/page/PageGroup.cpp:208 33837 * page/UserScript.h: 51628 * page/UserScript.h: 51629 (WebCore::UserScript::UserScript): 51630 (WebCore::UserScript::whitelist): 51631 (WebCore::UserScript::blacklist): 62534 * page/UserScript.h: Added. 62535 (WebCore::UserScript::UserScript): [all …]
|
D | GNUmakefile.am | 2295 Source/WebCore/page/UserScript.h \
|
D | WebCore.gypi | 724 'page/UserScript.h',
|