Index: ios/web/web_state/web_state_impl.mm |
diff --git a/ios/web/web_state/web_state_impl.mm b/ios/web/web_state/web_state_impl.mm |
index 05e3698dffd393e511bbf50efbc5b4a9f7ea3f75..f35c593b85764cee119be9b35ed83cc6cd1f4b97 100644 |
--- a/ios/web/web_state/web_state_impl.mm |
+++ b/ios/web/web_state/web_state_impl.mm |
@@ -247,6 +247,12 @@ void WebStateImpl::ProcessWebUIMessage(const GURL& source_url, |
} |
} |
+void WebStateImpl::LoadWebUIHtml(const base::string16& html, const GURL& url) { |
+ CHECK(web::GetWebClient()->IsAppSpecificURL(url)); |
+ [web_controller_ loadHTML:base::SysUTF16ToNSString(html) |
+ forAppSpecificURL:url]; |
+} |
+ |
const base::string16& WebStateImpl::GetTitle() const { |
// TODO(stuartmorgan): Implement the NavigationManager logic necessary to |
// match the WebContents implementation of this method. |