| Index: webkit/tools/test_shell/test_webview_delegate.h
|
| diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h
|
| index 36bfac009ab417abe2a5e8aac5fb37f96012409b..9c54213f82c830a4537d61daa2f9785e285f03c0 100644
|
| --- a/webkit/tools/test_shell/test_webview_delegate.h
|
| +++ b/webkit/tools/test_shell/test_webview_delegate.h
|
| @@ -236,8 +236,23 @@ class TestWebViewDelegate : public base::RefCounted<TestWebViewDelegate>,
|
| void RegisterDragDrop();
|
|
|
| protected:
|
| + // Called the title of the page changes.
|
| + // Can be used to update the title of the window.
|
| + void SetPageTitle(const std::wstring& title);
|
| +
|
| + // Called when the URL of the page changes.
|
| + // Extracts the URL and forwards on to SetAddressBarURL().
|
| void UpdateAddressBar(WebView* webView);
|
|
|
| + // Called when the URL of the page changes.
|
| + // Should be used to update the text of the URL bar.
|
| + void SetAddressBarURL(const GURL& url);
|
| +
|
| + // Show a JavaScript alert as a popup message.
|
| + // The caller should test whether we're in interactive mode and only
|
| + // call this function when we really want a message to pop up.
|
| + void ShowJavaScriptAlert(const std::wstring& message);
|
| +
|
| // In the Mac code, this is called to trigger the end of a test after the
|
| // page has finished loading. From here, we can generate the dump for the
|
| // test.
|
|
|