/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebPageNewSerializerTest.cpp | 120 : m_htmlMimeType(WebString::fromUTF8("text/html")) in WebPageNewSerializeTest() 121 , m_xhtmlMimeType(WebString::fromUTF8("application/xhtml+xml")) in WebPageNewSerializeTest() 122 , m_cssMimeType(WebString::fromUTF8("text/css")) in WebPageNewSerializeTest() 123 , m_pngMimeType(WebString::fromUTF8("image/png")) in WebPageNewSerializeTest() 124 , m_svgMimeType(WebString::fromUTF8("image/svg+xml")) in WebPageNewSerializeTest() 143 …registerMockedURLLoad(topFrameURL, WebString::fromUTF8("css_test_page.html"), WebString::fromUTF8(… in setUpCSSTestPage() 144 …("http://www.test.com/link_styles.css"), WebString::fromUTF8("link_styles.css"), WebString::fromUT… in setUpCSSTestPage() 145 …t.com/import_style_from_link.css"), WebString::fromUTF8("import_style_from_link.css"), WebString::… in setUpCSSTestPage() 146 …ttp://www.test.com/import_styles.css"), WebString::fromUTF8("import_styles.css"), WebString::fromU… in setUpCSSTestPage() 147 …tp://www.test.com/red_background.png"), WebString::fromUTF8("red_background.png"), WebString::from… in setUpCSSTestPage() [all …]
|
D | WebPluginContainerTest.cpp | 90 if (params.mimeType == WebString::fromUTF8("application/x-webkit-test-webplugin")) in createPlugin() 104 …estHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUT… in TEST_F() 113 …WebPluginContainer* pluginContainerOne = getWebPluginContainer(webView, WebString::fromUTF8("trans… in TEST_F() 122 …WebPluginContainer* pluginContainerTwo = getWebPluginContainer(webView, WebString::fromUTF8("rotat… in TEST_F() 134 …estHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUT… in TEST_F() 143 …WebPluginContainer* pluginContainerOne = getWebPluginContainer(webView, WebString::fromUTF8("trans… in TEST_F() 152 …WebPluginContainer* pluginContainerTwo = getWebPluginContainer(webView, WebString::fromUTF8("rotat… in TEST_F() 165 …estHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUT… in TEST_F() 174 …OneElement = webView->mainFrame()->document().getElementById(WebString::fromUTF8("translated-plugi… in TEST_F()
|
D | WebViewTest.cpp | 219 …estHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUT… in registerMockedHttpURLLoad() 246 EXPECT_EQ(WebString::fromUTF8("data:image/gif;base64" in TEST_F() 366 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "visible_ifra… in TEST_F() 392 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "visible_ifra… in TEST_F() 537 …estHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUT… in testTextInputType() 556 …estHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUT… in testInputMode() 586 …estHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUT… in TEST_F() 599 …estHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUT… in TEST_F() 615 …estHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUT… in TEST_F() 623 webView->setComposition(WebString::fromUTF8(compositionText.c_str()), emptyUnderlines, 3, 3); in TEST_F() [all …]
|
D | WebPageSerializerTest.cpp | 76 …terMockedURLLoad(toKURL(url), fileName, WebString::fromUTF8("pageserialization/"), WebString::from… in registerMockedURLLoad() 108 registerMockedURLLoad("http://www.test.com", WebString::fromUTF8("simple_page.html")); in TEST_F() 109 …registerMockedURLLoad("http://www.example.com/beautifull.css", WebString::fromUTF8("beautifull.css… in TEST_F() 143 registerMockedURLLoad("http://www.test.com", WebString::fromUTF8("top_frame.html")); in TEST_F() 145 WebString::fromUTF8("simple_iframe.html")); in TEST_F() 147 WebString::fromUTF8("object_iframe.html")); in TEST_F() 149 WebString::fromUTF8("embed_iframe.html")); in TEST_F() 154 WebString::fromUTF8("awesome.png")); in TEST_F()
|
D | LinkHighlightTest.cpp | 68 …TestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF… in TEST() 133 …TestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF… in TEST() 170 …TestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF… in TEST()
|
D | MHTMLTest.cpp | 75 …:registerMockedURLLoad(toKURL(url), fileName, WebString::fromUTF8("mhtml/"), WebString::fromUTF8("… in registerMockedURLLoad() 97 registerMockedURLLoad(kFileURL, WebString::fromUTF8("simple_test.mht")); in TEST_F()
|
/external/chromium_org/media/blink/ |
D | test_response_generator.cc | 29 error.domain = WebString::fromUTF8(net::kErrorDomain); in GenerateError() 38 WebString::fromUTF8("Content-Length"), in Generate200() 39 WebString::fromUTF8(base::Int64ToString(content_length_))); in Generate200() 57 response.setHTTPHeaderField(WebString::fromUTF8("Accept-Ranges"), in Generate206() 58 WebString::fromUTF8("bytes")); in Generate206() 69 response.setHTTPHeaderField(WebString::fromUTF8("Content-Range"), in Generate206() 70 WebString::fromUTF8(content_range)); in Generate206() 75 WebString::fromUTF8("Content-Length"), in Generate206() 76 WebString::fromUTF8(base::Int64ToString(range_content_length))); in Generate206()
|
/external/chromium_org/content/shell/renderer/test_runner/ |
D | mock_spell_check.cc | 107 return word == blink::WebString::fromUTF8("Spell wellcome. Is it broken?") || in HasInCache() 108 word == blink::WebString::fromUTF8("Spell wellcome.\x007F"); in HasInCache() 114 if (text == blink::WebString::fromUTF8("Helllo wordl.")) { in IsMultiWordMisspelling() 127 if (word == blink::WebString::fromUTF8("wellcome")) in FillSuggestionList() 128 Append(suggestions, blink::WebString::fromUTF8("welcome")); in FillSuggestionList() 129 else if (word == blink::WebString::fromUTF8("upper case")) in FillSuggestionList() 130 Append(suggestions, blink::WebString::fromUTF8("uppercase")); in FillSuggestionList() 131 else if (word == blink::WebString::fromUTF8("Helllo")) in FillSuggestionList() 132 Append(suggestions, blink::WebString::fromUTF8("Hello")); in FillSuggestionList() 133 else if (word == blink::WebString::fromUTF8("wordl")) in FillSuggestionList() [all …]
|
D | mock_web_push_client.cc | 52 WebString::fromUTF8(error_message_))); in registerPushMessaging() 58 new blink::WebPushRegistration(WebString::fromUTF8(end_point_), in registerPushMessaging() 59 WebString::fromUTF8(registration_id_))); in registerPushMessaging()
|
/external/chromium_org/components/nacl/renderer/ |
D | progress_event.cc | 28 return blink::WebString::fromUTF8("loadstart"); in EventTypeToString() 30 return blink::WebString::fromUTF8("progress"); in EventTypeToString() 32 return blink::WebString::fromUTF8("error"); in EventTypeToString() 34 return blink::WebString::fromUTF8("abort"); in EventTypeToString() 36 return blink::WebString::fromUTF8("load"); in EventTypeToString() 38 return blink::WebString::fromUTF8("loadend"); in EventTypeToString() 40 return blink::WebString::fromUTF8("crash"); in EventTypeToString() 71 blink::WebString url_string = blink::WebString::fromUTF8( in DispatchProgressEventOnMainThread()
|
/external/chromium_org/content/renderer/pepper/ |
D | url_request_info_util.cc | 170 dest->setURL(frame->document().completeURL(WebString::fromUTF8(data->url))); in CreateWebURLRequest() 175 dest->setHTTPMethod(WebString::fromUTF8(data->method)); in CreateWebURLRequest() 183 dest->addHTTPHeaderField(WebString::fromUTF8(it.name()), in CreateWebURLRequest() 184 WebString::fromUTF8(it.values())); in CreateWebURLRequest() 221 WebString::fromUTF8("Content-Transfer-Encoding"), in CreateWebURLRequest() 222 WebString::fromUTF8(data->custom_content_transfer_encoding)); in CreateWebURLRequest() 229 WebString::fromUTF8(data->custom_user_agent)); in CreateWebURLRequest() 232 extra_data->set_requested_with(WebString::fromUTF8(name_version)); in CreateWebURLRequest()
|
/external/chromium_org/content/renderer/ |
D | renderer_webcookiejar_impl.cc | 34 return WebString::fromUTF8(value_utf8); in cookies() 52 result[i] = WebCookie(WebString::fromUTF8(c.name), in rawCookies() 53 WebString::fromUTF8(c.value), in rawCookies() 54 WebString::fromUTF8(c.domain), in rawCookies() 55 WebString::fromUTF8(c.path), in rawCookies()
|
D | push_messaging_dispatcher.cc | 43 WebString::fromUTF8(PushMessagingStatusToString( in registerPushMessaging() 75 WebString::fromUTF8(endpoint.spec()), in OnRegisterSuccess() 76 WebString::fromUTF8(registration_id))); in OnRegisterSuccess() 89 WebString::fromUTF8(PushMessagingStatusToString(status)))); in OnRegisterError()
|
/external/chromium_org/content/child/ |
D | db_message_filter.cc | 37 WebString::fromUTF8(origin_identifier), database_name, database_size); in OnDatabaseUpdateSize() 44 WebString::fromUTF8(origin_identifier), space_available); in OnDatabaseUpdateSpaceAvailable() 50 WebString::fromUTF8(origin_identifier)); in OnDatabaseResetSpaceAvailable() 57 WebString::fromUTF8(origin_identifier), database_name); in OnDatabaseCloseImmediately()
|
D | shared_worker_devtools_agent.cc | 58 webworker_->attachDevTools(WebString::fromUTF8(host_id)); in OnAttach() 63 webworker_->reattachDevTools(WebString::fromUTF8(host_id), in OnReattach() 64 WebString::fromUTF8(state)); in OnReattach() 73 webworker_->dispatchDevToolsMessage(WebString::fromUTF8(message)); in OnDispatchOnInspectorBackend()
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebString.h | 94 BLINK_COMMON_EXPORT static WebString fromUTF8(const char* data, size_t length); 95 BLINK_COMMON_EXPORT static WebString fromUTF8(const char* data); 97 static WebString fromUTF8(const std::string& s) in fromUTF8() function 99 return fromUTF8(s.data(), s.length()); in fromUTF8() 113 assign(fromUTF8(data, N - 1)); in WebString() 118 assign(fromUTF8(data, N - 1));
|
/external/chromium_org/content/renderer/service_worker/ |
D | embedded_worker_devtools_agent.cc | 47 webworker_->attachDevTools(WebString::fromUTF8(host_id)); in OnAttach() 52 webworker_->reattachDevTools(WebString::fromUTF8(host_id), in OnReattach() 53 WebString::fromUTF8(state)); in OnReattach() 62 webworker_->dispatchDevToolsMessage(WebString::fromUTF8(message)); in OnDispatchOnInspectorBackend()
|
D | service_worker_script_context.cc | 151 webRequest.setMethod(blink::WebString::fromUTF8(request.method)); in OnFetchEvent() 155 webRequest.setHeader(blink::WebString::fromUTF8(it->first), in OnFetchEvent() 156 blink::WebString::fromUTF8(it->second)); in OnFetchEvent() 159 webRequest.setBlob(blink::WebString::fromUTF8(request.blob_uuid), in OnFetchEvent() 162 webRequest.setReferrer(blink::WebString::fromUTF8(request.referrer.spec()), in OnFetchEvent() 178 proxy_->dispatchPushEvent(request_id, blink::WebString::fromUTF8(data)); in OnPushEvent()
|
/external/chromium_org/chrome/renderer/autofill/ |
D | password_autofill_agent_browsertest.cc | 161 element.setAttribute(WebString::fromUTF8("readonly"), in SetElementReadOnly() 162 read_only ? WebString::fromUTF8("true") : WebString()); in SetElementReadOnly() 250 document.getElementById(WebString::fromUTF8(kUsernameName)); in UpdateUsernameAndPasswordElements() 253 element = document.getElementById(WebString::fromUTF8(kPasswordName)); in UpdateUsernameAndPasswordElements() 275 input.setValue(WebString::fromUTF8(new_value), is_user_input); in SimulateInputChangeForElement() 539 document.getElementById(WebString::fromUTF8(kUsernameName)); in TEST_F() 542 element = document.getElementById(WebString::fromUTF8(kPasswordName)); in TEST_F() 586 username_element_.setValue(WebString::fromUTF8("")); in TEST_F() 595 username_element_.setValue(WebString::fromUTF8("bogus")); in TEST_F() 608 username_element_.setValue(WebString::fromUTF8("ali")); in TEST_F() [all …]
|
D | password_generation_agent_browsertest.cc | 59 document.getElementById(WebString::fromUTF8(element_id)); in ExpectPasswordGenerationAvailable() 148 document.getElementById(WebString::fromUTF8("first_password")); in TEST_F() 151 element = document.getElementById(WebString::fromUTF8("second_password")); in TEST_F() 172 element = document.getElementById(WebString::fromUTF8("first_password")); in TEST_F() 184 document.getElementById(WebString::fromUTF8("first_password")); in TEST_F() 187 element = document.getElementById(WebString::fromUTF8("second_password")); in TEST_F() 266 document.getElementById(WebString::fromUTF8("first_password")); in TEST_F()
|
/external/chromium_org/mojo/services/html_viewer/ |
D | weburlloader_impl.cc | 41 result.setMIMEType(blink::WebString::fromUTF8(url_response->mime_type)); in ToWebURLResponse() 42 result.setTextEncodingName(blink::WebString::fromUTF8(url_response->charset)); in ToWebURLResponse() 63 blink::WebString::fromUTF8(header_line.substr(0, first_colon)), in ToWebURLResponse() 64 blink::WebString::fromUTF8(value)); in ToWebURLResponse() 161 web_error.domain = blink::WebString::fromUTF8(net::kErrorDomain); in OnReceivedError() 176 blink::WebString::fromUTF8(url_response->redirect_method)); in OnReceivedRedirect()
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
D | WebString.cpp | 89 WebString WebString::fromUTF8(const char* data, size_t length) in fromUTF8() function in blink::WebString 91 return String::fromUTF8(data, length); in fromUTF8() 94 WebString WebString::fromUTF8(const char* data) in fromUTF8() function in blink::WebString 96 return String::fromUTF8(data); in fromUTF8()
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
D | URLTestHelpers.cpp | 46 registerMockedURLLoad(toKURL(fullString.c_str()), fileName, WebString::fromUTF8(""), mimeType); in registerMockedURLFromBaseURL() 51 registerMockedURLLoad(fullURL, fileName, WebString::fromUTF8(""), mimeType); in registerMockedURLLoad() 66 …t()->unitTestSupport()->registerMockedURL(fullURL, response, WebString::fromUTF8(filePath.c_str())… in registerMockedURLLoad()
|
/external/chromium_org/content/renderer/fetchers/ |
D | resource_fetcher_impl.cc | 50 request_.setHTTPMethod(blink::WebString::fromUTF8(method)); in SetMethod() 72 blink::WebString::fromUTF8(value)); in SetHeader() 75 request_.setHTTPHeaderField(blink::WebString::fromUTF8(header), in SetHeader() 76 blink::WebString::fromUTF8(value)); in SetHeader()
|
/external/chromium_org/content/renderer/p2p/ |
D | port_allocator.cc | 193 WebString::fromUTF8("X-Talk-Google-Relay-Auth"), in AllocateLegacyRelaySession() 194 WebString::fromUTF8(relay_config.password)); in AllocateLegacyRelaySession() 196 WebString::fromUTF8("X-Google-Relay-Auth"), in AllocateLegacyRelaySession() 197 WebString::fromUTF8(relay_config.username)); in AllocateLegacyRelaySession() 198 request.addHTTPHeaderField(WebString::fromUTF8("X-Stream-Type"), in AllocateLegacyRelaySession() 199 WebString::fromUTF8("chromoting")); in AllocateLegacyRelaySession()
|