HomeSort by relevance Sort by last modified time
    Searched defs:script (Results 201 - 225 of 425) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/chromium/chrome/browser/instant/
instant_browsertest.cc 139 std::string script = StringPrintf( local
144 UTF8ToWide(script)));
150 std::string script = StringPrintf( local
154 std::wstring(), UTF8ToWide(script), result);
160 std::string script = StringPrintf( local
164 std::wstring(), UTF8ToWide(script), result);
170 std::string script = StringPrintf( local
174 std::wstring(), UTF8ToWide(script), result);
    [all...]
  /external/chromium/chrome/common/extensions/
extension_file_util.cc 37 // Returns false and sets the error if script file can't be loaded,
179 // Validate that claimed script resources actually exist,
182 const UserScript& script = extension->content_scripts()[i]; local
184 for (size_t j = 0; j < script.js_scripts().size(); j++) {
185 const UserScript::File& js_script = script.js_scripts()[j];
193 for (size_t j = 0; j < script.css_scripts().size(); j++) {
194 const UserScript::File& css_script = script.css_scripts()[j];
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
ModalDialogTest.java 42 "<head><script>window.onbeforeunload=function() {" +
44 "};</script></head></html>");
306 private OnEvaluateJavaScriptResultHelper executeJavaScriptAndWaitForDialog(String script)
310 return executeJavaScriptAndWaitForDialog(helper, script);
318 final OnEvaluateJavaScriptResultHelper helper, String script)
321 script); local
  /external/chromium_org/chrome/browser/extensions/api/extension_action/
browser_action_apitest.cc 691 const std::string script = local
697 tab, frame_xpath, script, &result));
  /external/chromium_org/chrome/browser/extensions/api/font_settings/
font_settings_api.cc 47 const char kScriptKey[] = "script";
63 // Gets the font name preference path for |generic_family| and |script|. If
64 // |script| is NULL, uses prefs::kWebKitCommonScript.
67 std::string script = fonts::ToString(script_enum); local
68 if (script.empty())
69 script = prefs::kWebKitCommonScript;
73 script.c_str());
90 // Registers |obs| to observe per-script font prefs under the path |map_name|.
96 const char* script = prefs::kWebKitScriptsForFontFamilyMaps[i]; local
97 std::string pref_name = base::StringPrintf("%s.%s", map_name, script);
152 std::string script; local
    [all...]
  /external/chromium_org/chrome/browser/extensions/
isolated_app_browsertest.cc 171 // We also need to test script-initialized navigation (document.location.href)
188 std::string script = base::StringPrintf( local
191 EXPECT_TRUE(ExecuteScript(tab0, script));
user_script_master.cc 64 const base::StringPiece& script_text, UserScript* script) {
107 script->add_glob(value);
111 script->add_exclude_glob(value);
113 script->set_name_space(value);
115 script->set_name(value);
119 script->set_version(version.GetString());
121 script->set_description(value);
126 script->add_url_pattern(pattern);
131 script->add_exclude_url_pattern(exclude);
134 script->set_run_location(UserScript::DOCUMENT_START)
236 UserScript& script = user_scripts->at(i); local
269 const UserScript& script = scripts[i]; local
    [all...]
  /external/chromium_org/chrome/browser/ui/prefs/
prefs_tab_helper.cc 139 // Registers a preference under the path |pref_name| for each script used for
140 // per-script font prefs.
148 // Expand the font concatenated with script name so this stays at RO memory
179 // Registers |obs| to observe per-script font prefs under the path |map_name|.
189 const char* script = prefs::kWebKitScriptsForFontFamilyMaps[i]; local
190 std::string pref_name = base::StringPrintf("%s.%s", map_name, script);
269 // Returns the script of the font pref |pref_name|. For example, suppose
270 // |pref_name| is "webkit.webprefs.fonts.serif.Hant". Since the script code for
271 // the script name "Hant" is USCRIPT_TRADITIONAL_HAN, the function returns
274 // ICU script names are four letters
704 std::string script; local
    [all...]
  /external/chromium_org/chrome/common/extensions/manifest_handlers/
content_scripts_handler.cc 243 // The manifest needs to have at least one js or css user script definition.
292 // Returns false and sets the error if script file can't be loaded,
406 return false; // Failed to parse script context definition.
429 // Validate that claimed script resources actually exist,
442 const UserScript& script = content_scripts[i]; local
444 for (size_t j = 0; j < script.js_scripts().size(); j++) {
445 const UserScript::File& js_script = script.js_scripts()[j];
454 for (size_t j = 0; j < script.css_scripts().size(); j++) {
455 const UserScript::File& css_script = script.css_scripts()[j];
  /external/chromium_org/chrome/renderer/extensions/
user_script_slave.cc 51 // user script to wrap it in an anonymous scope.
177 UserScript* script = scripts_.back(); local
178 script->Unpickle(pickle, &iter);
183 for (size_t j = 0; j < script->js_scripts().size(); ++j) {
187 script->js_scripts()[j].set_external_content(
190 for (size_t j = 0; j < script->css_scripts().size(); ++j) {
194 script->css_scripts()[j].set_external_content(
198 if (only_inject_incognito && !script->is_incognito_enabled()) {
199 // This script shouldn't run in an incognito tab.
200 delete script;
209 UserScript* script = scripts_[i]; local
276 UserScript* script = scripts_[i]; local
    [all...]
  /external/chromium_org/chrome/renderer/translate/
translate_helper.cc 63 const char kContentSecurityPolicy[] = "script-src 'self' 'unsafe-eval'";
165 std::string script = "cr.googleTranslate.translate('" + local
170 return ExecuteScriptAndGetBoolResult(script, false);
183 void TranslateHelper::ExecuteScript(const std::string& script) {
188 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script));
196 bool TranslateHelper::ExecuteScriptAndGetBoolResult(const std::string& script,
204 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script));
220 const std::string& script) {
227 WebScriptSource source = WebScriptSource(ASCIIToUTF16(script));
247 const std::string& script) {
    [all...]
  /external/chromium_org/chrome/test/base/
v8_unit_test.cc 202 v8::Handle<v8::Script> script = v8::Script::Compile(source, name); local
203 // Ensure the script compiled without errors.
204 if (script.IsEmpty())
207 v8::Handle<v8::Value> result = script->Run();
208 // Ensure the script ran without errors.
  /external/chromium_org/content/public/test/
browser_test_utils.cc 88 // of the script in |result|. Returns true on success.
95 std::string script = local
99 UTF8ToUTF16(script));
305 std::string script = local
307 return ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
314 const std::string& script,
318 if (!ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
328 const std::string& script,
332 if (!ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
342 const std::string& script,
    [all...]
render_view_test.cc 94 const string16& script,
98 GetMainFrame()->executeScriptAndReturnValue(WebScriptSource(script));
254 std::string script = local
259 WebScriptSource(WebString::fromUTF8(script)));
  /external/chromium_org/content/test/plugin/
plugin_geturl_test.cc 152 std::string script = "javascript:document.title=\"OK\""; local
154 script_string.UTF8Characters = script.c_str();
155 script_string.UTF8Length = static_cast<unsigned int>(script.length());
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
NPV8Object.cpp 261 v8::Local<v8::Value> resultObject = frame->script()->callFunction(function, v8Object, argumentCount, argv.get());
311 resultObject = frame->script()->callFunction(function, functionObject, argumentCount, argv.get());
355 String script = String::fromUTF8(npScript->UTF8Characters, npScript->UTF8Length); local
358 v8::Local<v8::Value> v8result = frame->script()->compileAndRunScript(ScriptSourceCode(script, KURL(ParsedURLString, filename)));
418 obj->Set(npIdentifierToV8Identifier(propertyName), convertNPVariantToV8Object(value, object->rootObject->frame()->script()->windowScriptNPObject(), context->GetIsolate()));
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
FontUtilsChromiumWin.cpp 73 UScriptCode script; member in struct:WebCore::__anon12686::FontMap
112 UScriptCode script; member in struct:WebCore::__anon12686::ScriptToFontFamilies
154 scriptFontMap[fontMap[i].script] = fontMap[i].family;
161 UScriptCode script = scriptToFontFamilies[i].script; local
162 scriptFontMap[script] = 0;
166 scriptFontMap[script] = *familyPtr;
194 // http://unicode.org/cldr/utility/list-unicodeset.jsp?a=[:Script=Common:]
230 UScriptCode script = uscript_getScript(ucs4, &err); local
231 // If script is invalid, common or inherited or there's an error
334 UScriptCode script = USCRIPT_COMMON; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/harfbuzz/
HarfBuzzShaper.h 70 static PassOwnPtr<HarfBuzzRun> create(const SimpleFontData* fontData, unsigned startIndex, unsigned numCharacters, TextDirection direction, hb_script_t script)
72 return adoptPtr(new HarfBuzzRun(fontData, startIndex, numCharacters, direction, script));
92 hb_script_t script() { return m_script; } function in class:WebCore::HarfBuzzShaper::HarfBuzzRun
  /external/chromium_org/third_party/WebKit/Source/core/testing/
InternalSettings.cpp 194 static void setFontFamily(Settings* settings, const String& family, const String& script, SetFontFamilyFunction setter)
196 UScriptCode code = scriptNameToCode(script);
201 void InternalSettings::setStandardFontFamily(const String& family, const String& script, ExceptionState& es)
204 setFontFamily(settings(), family, script, &Settings::setStandardFontFamily); local
207 void InternalSettings::setSerifFontFamily(const String& family, const String& script, ExceptionState& es)
210 setFontFamily(settings(), family, script, &Settings::setSerifFontFamily); local
213 void InternalSettings::setSansSerifFontFamily(const String& family, const String& script, ExceptionState& es)
216 setFontFamily(settings(), family, script, &Settings::setSansSerifFontFamily); local
219 void InternalSettings::setFixedFontFamily(const String& family, const String& script, ExceptionState& es)
222 setFontFamily(settings(), family, script, &Settings::setFixedFontFamily) local
228 setFontFamily(settings(), family, script, &Settings::setCursiveFontFamily); local
234 setFontFamily(settings(), family, script, &Settings::setFantasyFontFamily); local
240 setFontFamily(settings(), family, script, &Settings::setPictographFontFamily); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/testing/plugin/
main.cpp 142 static void executeScript(const PluginObject* obj, const char* script);
271 char* script = argv[i]; local
272 if (script == strstr(script, "mouse::")) {
274 obj->evaluateScriptOnMouseDownOrKeyDown = strdup(script + sizeof("mouse::") - 1);
275 } else if (script == strstr(script, "key::")) {
276 obj->evaluateScriptOnMouseDownOrKeyDown = strdup(script + sizeof("key::") - 1);
278 // When testing evaluate script on mouse-down or key-down, allow event logging to handle events.
386 static void executeScript(const PluginObject* obj, const char* script)
    [all...]
  /external/chromium_org/third_party/cld/encodings/compact_lang_det/
getonescriptspan.h 23 ULScript script; // Script of all the letters in this span member in struct:getone::__anon13044
26 // different script or EOF was found
35 // 0 (common script) for non-letters
54 // Copy next run of same-script non-tag letters to buffer [NUL terminated]
60 // Copy next run of same-script non-tag letters to buffer [NUL terminated]
65 int SkipToFrontOfSpan(const char* src, int len, int* script);
85 int script() {return script_;} function in class:LangScanner
88 // Keep smoothing state if same script, otherwise reinit smoothing
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-buffer.cc 44 a->script == b->script &&
55 (unsigned int) p->script ^
510 /* If script is set to INVALID, guess from buffer contents */
511 if (props.script == HB_SCRIPT_INVALID) {
513 hb_script_t script = unicode->script (info[i].codepoint); local
514 if (likely (script != HB_SCRIPT_COMMON &&
515 script != HB_SCRIPT_INHERITED &&
516 script != HB_SCRIPT_UNKNOWN))
    [all...]
  /external/chromium_org/third_party/icu/source/common/
loclikely.cpp 117 * Create a tag string from the supplied parameters. The lang, script and region
121 * If any of the language, script or region parameters are empty, and the alternateTags
122 * parameter is not NULL, it will be parsed for potential language, script and region tags
138 * @param script The script tag to use.
139 * @param scriptLength The length of the script tag.
154 const char* script,
179 * script and region code without worrying about overrunning
244 script,
251 * Parse the alternateTags string for the script
849 char script[ULOC_SCRIPT_CAPACITY]; local
953 char script[ULOC_SCRIPT_CAPACITY]; local
    [all...]
  /external/chromium_org/third_party/icu/source/test/letest/
gendata.cpp 139 UnicodeString script_attr = UNICODE_STRING_SIMPLE("script");
151 char *script = getCString(testCase->getAttribute(script_attr)); local
168 uscript_getCode(script, &scriptCode, 1, &status);
170 printf("Error: invalid script name: %s.\n", script);
182 fprintf(outputFile, " <test-case id=\"%s\" script=\"%s\" lang=\"%s\">\n", id, script, lang);
184 fprintf(outputFile, " <test-case id=\"%s\" script=\"%s\">\n", id, script);
286 freeCString(script);
    [all...]
xmlreader.cpp 155 UnicodeString script_attr = UNICODE_STRING_SIMPLE("script");
169 char *script = getCString(testCase->getAttribute(script_attr)); local
184 uscript_getCode(script, &scriptCode, 1, &status);
186 log_err("invalid script name: %s.\n", script);
250 freeCString(script);

Completed in 1938 milliseconds

1 2 3 4 5 6 7 891011>>