Searched defs:js (Results 1 - 25 of 39) sorted by path

12

/external/chromium_org/chrome/browser/autofill/
H A Dautofill_browsertest.cc171 std::string js; local
173 js += "document.getElementById('" + i->first + "').value = '" +
176 js += "document.onclick = function() {"
181 ASSERT_TRUE(content::ExecuteScript(render_view_host(), js));
/external/chromium_org/chrome/browser/chromeos/first_run/
H A Dfirst_run_browsertest.cc77 js().set_web_contents(controller()->web_contents_for_tests_);
88 js().Evaluate("cr.FirstRun.currentStep_.nextButton_.click()");
106 test::JSChecker& js() { return js_; } function in class:chromeos::FirstRunUIBrowserTest
/external/chromium_org/chrome/browser/chromeos/login/
H A Dkiosk_browsertest.cc213 // Helper class to wait until a js condition becomes true.
217 const std::string& js)
219 js_(js) {
216 JsConditionWaiter(content::WebContents* web_contents, const std::string& js) argument
/external/chromium_org/chrome/browser/chromeos/login/saml/
H A Dsaml_browsertest.cc369 std::string js = local
375 ReplaceSubstringsAfterOffset(&js, 0, "$FieldId", field_id);
376 ReplaceSubstringsAfterOffset(&js, 0, "$FieldValue", field_value);
377 ExecuteJsInSigninFrame(js);
381 std::string js = local
384 ReplaceSubstringsAfterOffset(&js, 0, "$Password", password_to_confirm);
385 ASSERT_TRUE(content::ExecuteScript(GetLoginUI()->GetWebContents(), js));
388 void JsExpect(const std::string& js) { argument
392 "window.domAutomationController.send(!!(" + js + "));",
394 EXPECT_TRUE(result) << js;
416 ExecuteJsInSigninFrame(const std::string& js) argument
[all...]
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_browsertest.cc1596 void RunJSReturningString(const char* js, std::string* result) { argument
1601 js).c_str(),
1605 void RunJS(const char* js) { argument
1609 js).c_str()));
2664 // the prerender is swapped in if js starts playing.
/external/chromium_org/chrome/browser/ui/webui/signin/
H A Dinline_login_ui_browsertest.cc168 void ExecuteJsInSigninFrame(const std::string& js) { argument
172 web_contents, GURL(), "signin-frame"), js));
314 std::string js = local
318 ExecuteJsInSigninFrame(js);
/external/chromium_org/chrome/common/extensions/manifest_handlers/
H A Dcontent_scripts_handler.cc237 // js and css keys
238 const base::ListValue* js = NULL; local
240 !content_script->GetList(keys::kJs, &js)) {
256 // The manifest needs to have at least one js or css user script definition.
257 if (((js ? js->GetSize() : 0) + (css ? css->GetSize() : 0)) == 0) {
264 if (js) {
265 for (size_t script_index = 0; script_index < js->GetSize();
269 if (!js->Get(script_index, &value) || !value->GetAsString(&relative)) {
/external/chromium_org/chrome/renderer/net/
H A Dnet_error_helper.cc236 std::string js = "if (window.updateForDnsProbe) " local
239 if (!base::UTF8ToUTF16(js.c_str(), js.length(), &js16)) {
/external/chromium_org/chrome/test/base/
H A Djs2gtest.js21 ' path-to-testfile.js testfile.js path_to_deps.js output.cc test-type');
41 * directory where the GYP rule processing the js file lives.
46 * Path to Closure library style deps.js file.
104 * Helpful hint pointing back to the source js.
173 // The caller supplied a path relative to the input js file's directory (cwd).
255 // Always add closure library's base.js if provided by deps.
311 var js = read(includePaths.path);
312 ('global', eval)(js);
376 var js = read(jsFile); variable
[all...]
/external/chromium_org/components/dom_distiller/content/
H A Ddom_distiller_viewer_source.cc285 std::string js = viewer::GetJavaScript(); local
286 callback.Run(base::RefCountedString::TakeString(&js));
/external/chromium_org/content/browser/webui/
H A Dweb_ui_data_source_unittest.cc93 source()->SetJsonPath("strings.js");
94 StartDataRequest("strings.js");
101 source()->SetJsonPath("strings.js");
104 StartDataRequest("strings.js");
115 StartDataRequest("strings.js");
126 StartDataRequest("strings.js");
133 const char* js = "application/javascript"; local
137 EXPECT_EQ(GetMimeType(".js"), js);
138 EXPECT_EQ(GetMimeType("foo.js"), j
[all...]
/external/chromium_org/content/public/test/
H A Drender_view_test.cc99 void RenderViewTest::ExecuteJavaScript(const char* js) { argument
100 GetMainFrame()->executeScript(WebScriptSource(WebString::fromUTF8(js)));
/external/chromium_org/mojo/apps/js/bindings/gl/
H A Dcontext.cc5 #include "mojo/apps/js/bindings/gl/context.h"
31 namespace js { namespace in namespace:mojo
186 } // namespace js
H A Dcontext.h15 #include "mojo/bindings/js/handle.h"
25 namespace js { namespace in namespace:mojo
74 } // namespace js
H A Dmodule.cc5 #include "mojo/apps/js/bindings/gl/module.h"
12 #include "mojo/apps/js/bindings/gl/context.h"
13 #include "mojo/bindings/js/handle.h"
16 namespace js { namespace in namespace:mojo
19 const char* kModuleName = "mojo/apps/js/bindings/gl";
49 } // namespace js
H A Dmodule.h12 namespace js { namespace in namespace:mojo
19 } // namespace js
/external/chromium_org/mojo/apps/js/test/
H A Dhandle_unittest.cc5 #include "mojo/bindings/js/handle.h"
6 #include "mojo/bindings/js/handle_close_observer.h"
11 namespace js { namespace in namespace:mojo
88 } // namespace js
H A Djs_to_cpp_unittest.cc13 #include "mojo/apps/js/mojo_runner_delegate.h"
14 #include "mojo/apps/js/test/js_to_cpp.mojom.h"
22 namespace js { namespace in namespace:mojo
425 RunTest("mojo/apps/js/test/js_to_cpp_unittest", &cpp_side_connection);
434 RunTest("mojo/apps/js/test/js_to_cpp_unittest", &cpp_side_connection);
443 RunTest("mojo/apps/js/test/js_to_cpp_unittest", &cpp_side_connection);
452 RunTest("mojo/apps/js/test/js_to_cpp_unittest", &cpp_side_connection);
456 } // namespace js
H A Drun_apps_js_tests.cc12 #include "mojo/apps/js/bindings/monotonic_clock.h"
13 #include "mojo/apps/js/bindings/threading.h"
14 #include "mojo/bindings/js/core.h"
18 namespace js { namespace in namespace:mojo
41 .AppendASCII("js")
51 RunTest("sample_service_unittests.js", true);
55 RunTest("connection_unittests.js", false);
59 RunTest("monotonic_clock_unittests.js", false);
63 } // namespace js
/external/chromium_org/mojo/bindings/js/
H A Dcore.cc5 #include "mojo/bindings/js/core.h"
19 #include "mojo/bindings/js/drain_data.h"
20 #include "mojo/bindings/js/handle.h"
23 namespace js { namespace in namespace:mojo
241 const char Core::kModuleName[] = "mojo/public/js/bindings/core";
319 } // namespace js
H A Dcore.h11 namespace js { namespace in namespace:mojo
19 } // namespace js
H A Ddrain_data.cc5 #include "mojo/bindings/js/drain_data.h"
16 namespace js { namespace in namespace:mojo
130 } // namespace js
H A Ddrain_data.h15 namespace js { namespace in namespace:mojo
61 } // namespace js
H A Dsupport.cc5 #include "mojo/bindings/js/support.h"
15 #include "mojo/bindings/js/handle.h"
16 #include "mojo/bindings/js/waiting_callback.h"
20 namespace js { namespace in namespace:mojo
40 const char Support::kModuleName[] = "mojo/public/js/bindings/support";
59 } // namespace js
H A Dsupport.h11 namespace js { namespace in namespace:mojo
19 } // namespace js

Completed in 3919 milliseconds

12