diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 21:55:09 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 21:55:09 +0000 |
commit | 7904e6470657223a24a72b7c728fc45d15580e78 (patch) | |
tree | 587ac3a4922e629e3f7e18c0340bd4f663bfacd5 | |
parent | e7f98e6972b643b41cc528f49b0257d77eeab3dd (diff) | |
download | chromium_src-7904e6470657223a24a72b7c728fc45d15580e78.zip chromium_src-7904e6470657223a24a72b7c728fc45d15580e78.tar.gz chromium_src-7904e6470657223a24a72b7c728fc45d15580e78.tar.bz2 |
Use the editor delegate in the GTK test shell.
This adds "EDITTING DELEGATE: " lines in the LayoutTest output.
Review URL: http://codereview.chromium.org/11532
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5788 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/tools/test_shell/test_shell_gtk.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_gtk.cc b/webkit/tools/test_shell/test_shell_gtk.cc index 77c407c..2ff8106 100644 --- a/webkit/tools/test_shell/test_shell_gtk.cc +++ b/webkit/tools/test_shell/test_shell_gtk.cc @@ -217,6 +217,10 @@ bool TestShell::Initialize(const std::wstring& startingURL) { gtk_box_pack_start(GTK_BOX(vbox), toolbar, FALSE, FALSE, 0); m_webViewHost.reset(WebViewHost::Create(vbox, delegate_, *TestShell::web_prefs_)); + // Enables output of "EDDITING DELEGATE: " debugging lines in the layout test + // output. + webView()->SetUseEditorDelegate(true); + if (!startingURL.empty()) LoadURL(startingURL.c_str()); |