Chromium Code Reviews| Index: ios/web/web_state/web_state_impl.h |
| diff --git a/ios/web/web_state/web_state_impl.h b/ios/web/web_state/web_state_impl.h |
| index 23ecf4723fcf57c5f9472a886ad072640a813af4..9468e123bb0deb3938e62eabc4300b12e007d490 100644 |
| --- a/ios/web/web_state/web_state_impl.h |
| +++ b/ios/web/web_state/web_state_impl.h |
| @@ -157,6 +157,9 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate { |
| void ProcessWebUIMessage(const GURL& source_url, |
| const std::string& message, |
| const base::ListValue& args); |
| + // Invokes page load for WebUI URL with HTML. URL must have an application |
| + // specific scheme. |
| + virtual void LoadWebUIHtml(const base::string16& html, const GURL& url); |
| const base::string16& GetTitle() const; |
| @@ -173,7 +176,7 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate { |
| // Executes a JavaScript string on the page asynchronously. |
| // TODO(shreyasv): Rename this to ExecuteJavaScript for consitency with |
| // upstream API. |
| - void ExecuteJavaScriptAsync(const base::string16& javascript); |
| + virtual void ExecuteJavaScriptAsync(const base::string16& javascript); |
|
Eugene But (OOO till 7-30)
2015/05/12 17:47:09
Optional NIT:
Since you touching this line please
Jackie Quinn
2015/05/12 18:14:54
Done.
|
| // Request tracker management. For now, this exposes the RequestTracker for |
| // embedders to use. |