/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/ |
H A D | ModalDialogTest.java | 40 "<head><script>window.onbeforeunload=function() {" + 42 "};</script></head></html>"); 301 private OnEvaluateJavaScriptResultHelper executeJavaScriptAndWaitForDialog(String script) argument 303 return executeJavaScriptAndWaitForDialog(new OnEvaluateJavaScriptResultHelper(), script); 311 final OnEvaluateJavaScriptResultHelper helper, String script) 314 script); 310 executeJavaScriptAndWaitForDialog( final OnEvaluateJavaScriptResultHelper helper, String script) argument
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
H A D | virtual_keyboard_browsertest.cc | 164 std::string script = "!!chrome.virtualKeyboardPrivate"; local 167 "window.domAutomationController.send(" + script + ");", 195 std::string script; local 196 ASSERT_TRUE(base::ReadFileToString(path, &script)); 197 EXPECT_TRUE(content::ExecuteScript(keyboard_rvh, script));
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | active_tab_unittest.cc | 110 bool script = permissions_data->CanAccessPage( local 116 return script && !capture; 118 return capture && !script; 120 return script && capture; 122 return !script && !capture;
|
H A D | webstore_installer_test.cc | 105 std::string script = base::StringPrintf( local 110 script, 119 std::string script = base::StringPrintf("%s('%s', %d)", local 123 script, 131 std::string script = base::StringPrintf( local 134 ExecuteJavaScriptForTests(base::UTF8ToUTF16(script));
|
/external/chromium_org/chrome/browser/ui/search/ |
H A D | instant_test_utils.cc | 30 std::string WrapScript(const std::string& script) { argument 31 return "domAutomationController.send(" + script + ")"; 130 const std::string& script, 133 contents, WrapScript(script), result); 137 const std::string& script, 140 contents, WrapScript(script), result); 144 const std::string& script, 147 contents, WrapScript(script), result); 129 GetBoolFromJS(content::WebContents* contents, const std::string& script, bool* result) argument 136 GetIntFromJS(content::WebContents* contents, const std::string& script, int* result) argument 143 GetStringFromJS(content::WebContents* contents, const std::string& script, std::string* result) argument
|
/external/chromium_org/components/dom_distiller/content/ |
H A D | distiller_page_web_contents.cc | 75 const std::string& script) { 79 script_ = script; 74 DistillPageImpl(const GURL& url, const std::string& script) argument
|
/external/chromium_org/content/browser/service_worker/ |
H A D | service_worker_database.h | 60 GURL script; member in struct:content::ServiceWorkerDatabase::RegistrationData
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
H A D | JavaBridgeReturnValuesTest.java | 113 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { argument 114 executeJavaScript("testObject.setStringValue(" + script + ");"); 119 private boolean executeJavaScriptAndGetBooleanResult(String script) throws Throwable { argument 120 executeJavaScript("testObject.setBooleanValue(" + script + ");");
|
/external/chromium_org/content/test/plugin/ |
H A D | plugin_get_javascript_url_test.cc | 85 std::string script = "javascript:window.location"; local 87 script_string.UTF8Characters = script.c_str(); 88 script_string.UTF8Length = static_cast<unsigned int>(script.length());
|
H A D | plugin_npobject_lifetime_test.cc | 58 NPString script; local 59 script.UTF8Characters = "javascript:DeleteSecondPluginInstance()"; 60 script.UTF8Length = static_cast<uint32_t>(strlen(script.UTF8Characters)); 161 std::string script = "javascript:DeletePluginWithinScript()"; local 163 script_string.UTF8Characters = script.c_str(); 165 static_cast<unsigned int>(script.length());
|
H A D | plugin_windowed_test.cc | 89 std::string script = "javascript:GetMagicNumber()"; local 91 script_string.UTF8Characters = script.c_str(); 93 static_cast<unsigned int>(script.length()); 101 SetError("Failed to script during NPP_Destroy");
|
/external/chromium_org/extensions/renderer/ |
H A D | user_script_set.cc | 118 scoped_ptr<UserScript> script(new UserScript()); 119 script->Unpickle(pickle, &iter); 124 for (size_t j = 0; j < script->js_scripts().size(); ++j) { 128 script->js_scripts()[j].set_external_content( 131 for (size_t j = 0; j < script->css_scripts().size(); ++j) { 135 script->css_scripts()[j].set_external_content( 139 if (only_inject_incognito && !script->is_incognito_enabled()) 140 continue; // This script shouldn't run in an incognito tab. 142 scripts_.push_back(script.release()); 177 UserScript* script, 176 GetInjectionForScript( UserScript* script, blink::WebFrame* web_frame, int tab_id, UserScript::RunLocation run_location, const GURL& document_url, const Extension* extension, bool is_declarative) argument [all...] |
/external/chromium_org/gin/ |
H A D | interceptor_unittest.cc | 144 v8::Handle<v8::Script> script = v8::Script::Compile(source); local 145 EXPECT_FALSE(script.IsEmpty()); 146 v8::Handle<v8::Value> val = script->Run();
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | ScriptStreamerTest.cpp | 95 appendData(" /* this is padding to make the script long enough, so " 145 // Test that we can successfully compile a streamed script. 167 v8::Handle<v8::Script> script = V8ScriptRunner::compileScript(sourceCode, isolate()); local 168 EXPECT_FALSE(script.IsEmpty()); 183 // script, and this happens only when its buffer is filled. 200 v8::Handle<v8::Script> script = V8ScriptRunner::compileScript(sourceCode, isolate()); local 201 EXPECT_TRUE(script.IsEmpty()); 234 // is suppressed (V8 doesn't parse while the script is loading), and the 236 // script is loaded. 254 // the streaming and resumed the non-streaming code path for script [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | LocalFrame.h | 106 ScriptController& script(); 209 inline ScriptController& LocalFrame::script() function in class:blink::LocalFrame
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | InspectorInspectorAgent.cpp | 84 String script = m_injectedScriptForOrigin.get(origin); local 85 if (script.isEmpty()) 89 scriptSource.append(script); 93 frame->script().executeScriptInMainWorld(scriptSource.toString()); 145 void InspectorInspectorAgent::evaluateForTestInFrontend(long callId, const String& script) argument 148 m_frontend->evaluateForTestInFrontend(static_cast<int>(callId), script); local 151 m_pendingEvaluateTestCommands.append(pair<long, String>(callId, script));
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
H A D | WorkerGlobalScope.h | 82 WorkerScriptController* script() { return m_script.get(); } function in class:blink::WorkerGlobalScope
|
H A D | WorkerScriptLoader.cpp | 182 String WorkerScriptLoader::script() function in class:blink::WorkerScriptLoader
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
H A D | CallStackSidebarPane.js | 117 if (WebInspector.BlackboxSupport.isBlackboxed(callFrame.script.sourceURL, callFrame.script.isContentScript())) { 159 var script = placard._callFrame.script; variable 160 if (!script.isSnippet()) { 162 this.appendBlackboxURLContextMenuItems(contextMenu, script.sourceURL, script.isContentScript()); 195 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Blackbox script" : "Blackbox Script"), this._handleContextMenuBlackboxURL.bind(this, url, false, true));
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
H A D | FontFallbackWin.cpp | 75 UScriptCode script; member in struct:blink::__anon11292::FontMap 85 scriptFontMap[fontMap[i].script] = fontMap[i].family; 91 UScriptCode script; member in struct:blink::__anon11292::FontMap 130 UScriptCode script; member in struct:blink::__anon11292::ScriptToFontFamilies 172 scriptFontMap[fontMap[i].script] = fontMap[i].family; 179 UScriptCode script = scriptToFontFamilies[i].script; local 180 scriptFontMap[script] = 0; 184 scriptFontMap[script] = *familyPtr; 248 UScriptCode script local 273 getFontFamilyForScript(UScriptCode script, FontDescription::GenericFamilyType generic, SkFontMgr* fontManager) argument [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-buffer.h | 67 hb_script_t script; member in struct:hb_segment_properties_t 149 hb_script_t script);
|
H A D | hb-glib.cc | 161 hb_glib_script_to_script (GUnicodeScript script) argument 164 return (hb_script_t) g_unicode_script_to_iso15924 (script); 166 if (likely ((unsigned int) script < ARRAY_LENGTH (glib_script_to_script))) 167 return glib_script_to_script[script]; 169 if (unlikely (script == G_UNICODE_SCRIPT_INVALID_CODE)) 177 hb_glib_script_from_script (hb_script_t script) argument 180 return g_unicode_script_from_iso15924 (script); 184 if (glib_script_to_script[i] == script) 187 if (unlikely (script == HB_SCRIPT_INVALID))
|
H A D | hb-icu.cc | 43 hb_icu_script_to_script (UScriptCode script) argument 45 if (unlikely (script == USCRIPT_INVALID_CODE)) 48 return hb_script_from_string (uscript_getShortName (script), -1); 52 hb_icu_script_from_script (hb_script_t script) argument 54 if (unlikely (script == HB_SCRIPT_INVALID)) 58 if (unlikely (hb_icu_script_to_script ((UScriptCode) i) == script))
|
H A D | hb-ot-tag.cc | 38 hb_ot_old_tag_from_script (hb_script_t script) argument 42 switch ((hb_tag_t) script) { 60 return ((hb_tag_t) script) | 0x20000000u; 83 hb_ot_new_tag_from_script (hb_script_t script) argument 85 switch ((hb_tag_t) script) { 125 * Most of the script tags are the same as the ISO 15924 tag but lowercased. 130 hb_ot_tags_from_script (hb_script_t script, argument 137 *script_tag_1 = hb_ot_old_tag_from_script (script); 139 new_tag = hb_ot_new_tag_from_script (script);
|
/external/chromium_org/third_party/icu/source/samples/layout/ |
H A D | FontMap.cpp | 25 le_int32 defaultFont = -1, i, script; local 77 sprintf(errorMessage, "The script name %s is invalid.", line); 82 script = (le_int32) scriptCode; 84 if (fFontIndices[script] >= 0) { 86 fFontIndices[script] = -1; 89 fFontIndices[script] = getFontIndex(fontName); 94 for (script = 0; script < scriptCodeCount; script += 1) { 95 if (fFontIndices[script] < 146 le_int32 script; local [all...] |