From e87de2367cda4cdebedd1e6dc89122e41cc72b7e Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Fri, 7 Nov 2008 17:45:55 +0000 Subject: [PATCH] Make the linux test shell display the window title. I have only compiled this on linux and tested it there but that shouldn't be a problem as the file does seem to be linux-specific. Review URL: http://codereview.chromium.org/9685 Patch from Craig Schlenter. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4992 0039d316-1c4b-4281-b951-d872f2087c98 --- AUTHORS | 1 + webkit/tools/test_shell/gtk/test_webview_delegate.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 48bbcc1d919..a65d5208e77 100644 --- a/AUTHORS +++ b/AUTHORS @@ -18,3 +18,4 @@ Yarin Kaul Gaetano Mendola Comodo CA Limited Torchmobile Inc. +Craig Schlenter diff --git a/webkit/tools/test_shell/gtk/test_webview_delegate.cc b/webkit/tools/test_shell/gtk/test_webview_delegate.cc index c439e1f9f43..e5e49ec3d20 100644 --- a/webkit/tools/test_shell/gtk/test_webview_delegate.cc +++ b/webkit/tools/test_shell/gtk/test_webview_delegate.cc @@ -243,7 +243,7 @@ void TestWebViewDelegate::DidReceiveTitle(WebView* webview, if (shell_->ShouldDumpTitleChanges()) { printf("TITLE CHANGED: %S\n", title.c_str()); } - NOTIMPLEMENTED(); + gtk_window_set_title(GTK_WINDOW(shell_->mainWnd()), WideToUTF8(title).c_str()); } void TestWebViewDelegate::DidFinishLoadForFrame(WebView* webview,