Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2031)

Unified Diff: webkit/tools/test_shell/test_webview_delegate_win.cc

Issue 196128: Hook up WebViewClient, part 1.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate_gtk.cc ('k') | webkit/webkit.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*
}
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate_gtk.cc ('k') | webkit/webkit.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698