diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-07 17:45:55 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-07 17:45:55 +0000 |
commit | 8bc886faa6a178f51bf094efe491ab1da9595d14 (patch) | |
tree | 86b1250e370a434eb216aafd2ab77aa9dfd8ed1d | |
parent | d2e7bcc9bf90c13add4a246ef56c09e1a0145e5b (diff) | |
download | chromium_src-8bc886faa6a178f51bf094efe491ab1da9595d14.zip chromium_src-8bc886faa6a178f51bf094efe491ab1da9595d14.tar.gz chromium_src-8bc886faa6a178f51bf094efe491ab1da9595d14.tar.bz2 |
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
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | webkit/tools/test_shell/gtk/test_webview_delegate.cc | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -18,3 +18,4 @@ Yarin Kaul <yarin.kaul@gmail.com> Gaetano Mendola <mendola@gmail.com> Comodo CA Limited Torchmobile Inc. +Craig Schlenter <craig.schlenter@gmail.com> diff --git a/webkit/tools/test_shell/gtk/test_webview_delegate.cc b/webkit/tools/test_shell/gtk/test_webview_delegate.cc index c439e1f..e5e49ec 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, |