Home
last modified time | relevance | path

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

12

/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.h89 struct WebScriptSource;
262 virtual void executeScript(const WebScriptSource&) = 0;
275 int worldID, const WebScriptSource* sources, unsigned numSources,
307 const WebScriptSource&) = 0;
312 int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
DWebLocalFrame.h65 virtual v8::Handle<v8::Value> executeScriptAndReturnValueForTests(const WebScriptSource&) = 0;
/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()
/external/chromium_org/extensions/renderer/
Duser_script_injector.cc34 blink::WebScriptSource GetSource() const;
48 blink::WebScriptSource GreasemonkeyApiJsString::GetSource() const { in GetSource()
49 return blink::WebScriptSource(blink::WebString::fromUTF8(source_)); in GetSource()
159 std::vector<blink::WebScriptSource> UserScriptInjector::GetJsSources( in GetJsSources()
163 std::vector<blink::WebScriptSource> sources; in GetJsSources()
181 sources.push_back(blink::WebScriptSource( in GetJsSources()
Dprogrammatic_script_injector.cc89 std::vector<blink::WebScriptSource> ProgrammaticScriptInjector::GetJsSources( in GetJsSources()
94 return std::vector<blink::WebScriptSource>( in GetJsSources()
96 blink::WebScriptSource( in GetJsSources()
Dscript_injector.h71 virtual std::vector<blink::WebScriptSource> GetJsSources(
Dprogrammatic_script_injector.h49 virtual std::vector<blink::WebScriptSource> GetJsSources(
Duser_script_injector.h53 virtual std::vector<blink::WebScriptSource> GetJsSources(
Dscript_injection.cc258 std::vector<blink::WebScriptSource> sources = in InjectJs()
274 const blink::WebScriptSource& source = sources.front(); in InjectJs()
/external/chromium_org/components/translate/content/renderer/
Dtranslate_helper.cc42 using blink::WebScriptSource;
260 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script)); in ExecuteScript()
273 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script)); in ExecuteScriptAndGetBoolResult()
292 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script)); in ExecuteScriptAndGetStringResult()
315 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script)); in ExecuteScriptAndGetDoubleResult()
/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_browsertest.cc93 blink::WebScriptSource(blink::WebString::fromUTF8(script.c_str()))); in ExecuteScriptAndReturnString()
108 blink::WebScriptSource(blink::WebString::fromUTF8(script.c_str()))); in ExecuteScriptAndReturnInt()
121 blink::WebScriptSource(blink::WebString::fromUTF8(script.c_str()))); in ExecuteScriptAndReturnBool()
/external/chromium_org/third_party/WebKit/Source/web/
DWebLocalFrameImpl.h109 virtual void executeScript(const WebScriptSource&) OVERRIDE;
111 int worldID, const WebScriptSource* sources, unsigned numSources,
120 const WebScriptSource&) OVERRIDE;
122 int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
232 const WebScriptSource&) OVERRIDE;
DWebRemoteFrameImpl.h61 virtual void executeScript(const WebScriptSource&) OVERRIDE;
63 int worldID, const WebScriptSource* sources, unsigned numSources,
71 const WebScriptSource&) OVERRIDE;
73 int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
DWebRemoteFrameImpl.cpp337 void WebRemoteFrameImpl::executeScript(const WebScriptSource&) in executeScript() argument
343 int worldID, const WebScriptSource* sources, unsigned numSources, in executeScriptInIsolatedWorld()
376 const WebScriptSource&) in executeScriptAndReturnValue() argument
383 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, in executeScriptInIsolatedWorld()
DWebLocalFrameImpl.cpp701 void WebLocalFrameImpl::executeScript(const WebScriptSource& source) in executeScript()
709 void WebLocalFrameImpl::executeScriptInIsolatedWorld(int worldID, const WebScriptSource* sourcesIn,… in executeScriptInIsolatedWorld()
784 v8::Handle<v8::Value> WebLocalFrameImpl::executeScriptAndReturnValue(const WebScriptSource& source) in executeScriptAndReturnValue()
792 void WebLocalFrameImpl::executeScriptInIsolatedWorld(int worldID, const WebScriptSource* sourcesIn,… in executeScriptInIsolatedWorld()
1866 v8::Handle<v8::Value> WebLocalFrameImpl::executeScriptAndReturnValueForTests(const WebScriptSource&… in executeScriptAndReturnValueForTests()
/external/chromium_org/content/public/test/
Drender_view_test.cc44 using blink::WebScriptSource;
100 GetMainFrame()->executeScript(WebScriptSource(WebString::fromUTF8(js))); in ExecuteJavaScript()
108 GetMainFrame()->executeScriptAndReturnValue(WebScriptSource(script)); in ExecuteJavaScriptAndReturnIntValue()
295 WebScriptSource(WebString::fromUTF8(script))); in GetElementBounds()
/external/chromium_org/components/plugins/renderer/
Dplugin_placeholder.cc36 using blink::WebScriptSource;
166 WebScriptSource(base::UTF8ToUTF16(script))); in UpdateMessage()
/external/chromium_org/chrome/test/base/
Dchrome_render_view_test.cc44 using blink::WebScriptSource;
/external/chromium_org/content/renderer/
Dweb_ui_runner.cc64 blink::WebScriptSource(blink::WebString::fromUTF8(source))); in Run()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebFrameTest.cpp425 m_frame->executeScript(WebScriptSource(code)); in executeScript()
2958 WebScriptSource scriptSource("hi!"); in TEST_F()
3123 frame->executeScript(WebScriptSource("window.history = 'replaced';")); in didCreateScriptContext()
3669 frame->executeScript(WebScriptSource("selectElement('header_2');")); in TEST_F()
3675 frame->executeScript(WebScriptSource("selectElement('header_1');")); in TEST_F()
3683 frame->executeScript(WebScriptSource("selectElement('header_1');")); in TEST_F()
3689 frame->executeScript(WebScriptSource("selectElement('footer_2');")); in TEST_F()
3695 frame->executeScript(WebScriptSource("selectElement('footer_2');")); in TEST_F()
3701 frame->executeScript(WebScriptSource("selectElement('editable_2');")); in TEST_F()
3717 frame->executeScript(WebScriptSource("selectElement('header_1');")); in TEST_F()
[all …]
DPrerenderingTest.cpp236 … m_webViewHelper.webView()->mainFrame()->executeScript(WebScriptSource(WebString::fromUTF8(code))); in executeScript()
/external/chromium_org/content/shell/renderer/
Dwebkit_test_runner.cc82 using blink::WebScriptSource;
739 WebScriptSource(WebString::fromUTF8("testRunner.notifyDone();"))); in OnNotifyDone()
/external/chromium_org/chrome/renderer/searchbox/
Dsearchbox_extension.cc82 frame->executeScript(blink::WebScriptSource(script)); in Dispatch()
467 blink::WebScriptSource(kSupportsInstantScript)); in PageSupportsInstant()
/external/chromium_org/content/shell/renderer/test_runner/
Dtest_runner.cc1968 WebScriptSource(WebString::fromUTF8(script_))); in Run()
1987 WebScriptSource(WebString::fromUTF8(script_))); in Run()
2128 WebScriptSource source(WebString::fromUTF8(script)); in EvaluateScriptInIsolatedWorldAndReturnValue()
2141 WebScriptSource source(WebString::fromUTF8(script)); in EvaluateScriptInIsolatedWorld()

12