Home
last modified time | relevance | path

Searched refs:WebScriptSource (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/public/web/
DWebScriptSource.h39 struct WebScriptSource { struct
44 WebScriptSource(const WebString& code) in WebScriptSource() argument
46 WebScriptSource(const WebString& code, const WebURL& url) in WebScriptSource() argument
48 WebScriptSource(const WebString& code, const WebURL& url, int startLine) in WebScriptSource() function
DWebFrame.h91 struct WebScriptSource;
261 virtual void executeScript(const WebScriptSource&) = 0;
274 int worldID, const WebScriptSource* sources, unsigned numSources,
306 const WebScriptSource&) = 0;
311 int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
/external/chromium_org/chrome/renderer/translate/
Dtranslate_script_browsertest.cc15 using blink::WebScriptSource;
88 WebScriptSource source = WebScriptSource(base::ASCIIToUTF16(script)); in ExecuteScript()
114 WebScriptSource source = WebScriptSource(base::ASCIIToUTF16(script)); in ExecuteScriptAndGetNumberResult()
128 WebScriptSource source = WebScriptSource(base::ASCIIToUTF16(script)); in ExecuteScriptAndGetBoolResult()
Dtranslate_helper.cc52 using blink::WebScriptSource;
271 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script)); in ExecuteScript()
287 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script)); in ExecuteScriptAndGetBoolResult()
310 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script)); in ExecuteScriptAndGetStringResult()
337 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script)); in ExecuteScriptAndGetDoubleResult()
/external/chromium_org/extensions/renderer/
Dscript_injection.cc49 blink::WebScriptSource source;
55 : source(blink::WebScriptSource(blink::WebString::fromUTF8( in GreasemonkeyApiJsString()
302 std::vector<blink::WebScriptSource> sources; in InjectJS()
317 sources.push_back(blink::WebScriptSource( in InjectJS()
337 for (std::vector<blink::WebScriptSource>::const_iterator iter = in InjectJS()
Duser_script_scheduler.cc213 blink::WebScriptSource source( in ExecuteCodeImpl()
227 std::vector<blink::WebScriptSource> sources; in ExecuteCodeImpl()
/external/chromium_org/third_party/WebKit/Source/web/
DWebRemoteFrameImpl.h60 virtual void executeScript(const WebScriptSource&) OVERRIDE;
62 int worldID, const WebScriptSource* sources, unsigned numSources,
70 const WebScriptSource&) OVERRIDE;
72 int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
DWebRemoteFrameImpl.cpp287 void WebRemoteFrameImpl::executeScript(const WebScriptSource&) in executeScript() argument
293 int worldID, const WebScriptSource* sources, unsigned numSources, in executeScriptInIsolatedWorld()
326 const WebScriptSource&) in executeScriptAndReturnValue() argument
333 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, in executeScriptInIsolatedWorld()
DWebLocalFrameImpl.h113 virtual void executeScript(const WebScriptSource&) OVERRIDE;
115 int worldID, const WebScriptSource* sources, unsigned numSources,
123 const WebScriptSource&) OVERRIDE;
125 int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
DWebLocalFrameImpl.cpp706 void WebLocalFrameImpl::executeScript(const WebScriptSource& source) in executeScript()
714 void WebLocalFrameImpl::executeScriptInIsolatedWorld(int worldID, const WebScriptSource* sourcesIn,… in executeScriptInIsolatedWorld()
783 v8::Handle<v8::Value> WebLocalFrameImpl::executeScriptAndReturnValue(const WebScriptSource& source) in executeScriptAndReturnValue()
797 void WebLocalFrameImpl::executeScriptInIsolatedWorld(int worldID, const WebScriptSource* sourcesIn,… in executeScriptInIsolatedWorld()
/external/chromium_org/content/public/test/
Drender_view_test.cc43 using blink::WebScriptSource;
99 GetMainFrame()->executeScript(WebScriptSource(WebString::fromUTF8(js))); in ExecuteJavaScript()
107 GetMainFrame()->executeScriptAndReturnValue(WebScriptSource(script)); in ExecuteJavaScriptAndReturnIntValue()
290 WebScriptSource(WebString::fromUTF8(script))); in GetElementBounds()
/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_browsertest.cc98 blink::WebScriptSource(blink::WebString::fromUTF8(script.c_str()))); in ExecuteScriptAndReturnString()
113 blink::WebScriptSource(blink::WebString::fromUTF8(script.c_str()))); in ExecuteScriptAndReturnInt()
126 blink::WebScriptSource(blink::WebString::fromUTF8(script.c_str()))); in ExecuteScriptAndReturnBool()
/external/chromium_org/components/plugins/renderer/
Dplugin_placeholder.cc36 using blink::WebScriptSource;
166 WebScriptSource(base::ASCIIToUTF16(script))); in UpdateMessage()
/external/chromium_org/chrome/test/base/
Dchrome_render_view_test.cc38 using blink::WebScriptSource;
/external/chromium_org/content/renderer/
Dweb_ui_runner.cc55 blink::WebScriptSource(blink::WebString::fromUTF8(source))); in Run()
Drender_frame_impl.cc157 using blink::WebScriptSource;
1122 frame_->executeScriptAndReturnValue(WebScriptSource(jscript)); in OnJavaScriptExecuteRequest()
Drender_view_impl.cc278 using blink::WebScriptSource;
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebFrameTest.cpp393 m_frame->executeScript(WebScriptSource(code)); in executeScript()
3032 WebScriptSource scriptSource("hi!"); in TEST_F()
3197 frame->executeScript(WebScriptSource("window.history = 'replaced';")); in didCreateScriptContext()
3749 frame->executeScript(WebScriptSource("selectElement('header_2');")); in TEST_F()
3755 frame->executeScript(WebScriptSource("selectElement('header_1');")); in TEST_F()
3763 frame->executeScript(WebScriptSource("selectElement('header_1');")); in TEST_F()
3769 frame->executeScript(WebScriptSource("selectElement('footer_2');")); in TEST_F()
3775 frame->executeScript(WebScriptSource("selectElement('footer_2');")); in TEST_F()
3781 frame->executeScript(WebScriptSource("selectElement('editable_2');")); in TEST_F()
3797 frame->executeScript(WebScriptSource("selectElement('header_1');")); in TEST_F()
[all …]
DPrerenderingTest.cpp236 … m_webViewHelper.webView()->mainFrame()->executeScript(WebScriptSource(WebString::fromUTF8(code))); in executeScript()
DPinchViewportTest.cpp620 mainFrame->executeScript(WebScriptSource("selectRange();")); in TEST_F()
DViewportTest.cpp96 frame->executeScript(WebScriptSource(code)); in executeScript()
/external/chromium_org/content/shell/renderer/
Dwebkit_test_runner.cc80 using blink::WebScriptSource;
704 WebScriptSource(WebString::fromUTF8("testRunner.notifyDone();"))); in OnNotifyDone()
/external/chromium_org/chrome/renderer/searchbox/
Dsearchbox_extension.cc83 frame->executeScript(blink::WebScriptSource(script)); in Dispatch()
468 blink::WebScriptSource(kSupportsInstantScript)); in PageSupportsInstant()
/external/chromium_org/content/shell/renderer/test_runner/
Dtest_runner.cc1929 WebScriptSource(WebString::fromUTF8(script_))); in Run()
1948 WebScriptSource(WebString::fromUTF8(script_))); in Run()
2089 WebScriptSource source(WebString::fromUTF8(script)); in EvaluateScriptInIsolatedWorldAndReturnValue()
2102 WebScriptSource source(WebString::fromUTF8(script)); in EvaluateScriptInIsolatedWorld()