| Index: webkit/tools/test_shell/test_webview_delegate_win.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/test_webview_delegate_win.cc (revision 26230)
|
| +++ webkit/tools/test_shell/test_webview_delegate_win.cc (working copy)
|
| @@ -37,12 +37,16 @@
|
|
|
| using WebKit::WebCursorInfo;
|
| using WebKit::WebNavigationPolicy;
|
| +using WebKit::WebPopupMenuInfo;
|
| using WebKit::WebRect;
|
| +using WebKit::WebWidget;
|
|
|
| -// WebViewDelegate ------------------------------------------------------------
|
| +// WebViewClient --------------------------------------------------------------
|
|
|
| -void TestWebViewDelegate::ShowJavaScriptAlert(const std::wstring& message) {
|
| - MessageBox(NULL, message.c_str(), L"JavaScript Alert", MB_OK);
|
| +WebWidget* TestWebViewDelegate::createPopupMenu(
|
| + const WebPopupMenuInfo& info) {
|
| + NOTREACHED();
|
| + return NULL;
|
| }
|
|
|
| // WebWidgetClient ------------------------------------------------------------
|
| @@ -197,6 +201,10 @@
|
|
|
| // Private methods ------------------------------------------------------------
|
|
|
| +void TestWebViewDelegate::ShowJavaScriptAlert(const std::wstring& message) {
|
| + MessageBox(NULL, message.c_str(), L"JavaScript Alert", MB_OK);
|
| +}
|
| +
|
| void TestWebViewDelegate::SetPageTitle(const std::wstring& title) {
|
| // The Windows test shell, pre-refactoring, ignored this. *shrug*
|
| }
|
|
|