summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_webview_delegate.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 16:20:09 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 16:20:09 +0000
commit19e1200e9b2dc55b8b620ae9eeaff025828277ad (patch)
treee2a3ed06977994b659565df44a58a89a6be8c003 /webkit/tools/test_shell/test_webview_delegate.cc
parent691c7ea419dd4abe41a5171255a512a57745d9b4 (diff)
downloadchromium_src-19e1200e9b2dc55b8b620ae9eeaff025828277ad.zip
chromium_src-19e1200e9b2dc55b8b620ae9eeaff025828277ad.tar.gz
chromium_src-19e1200e9b2dc55b8b620ae9eeaff025828277ad.tar.bz2
Fix some mixed content layout tests.
1. Make test shell ignore certificate errors. 2. Extend WebFrameClient for new notifications and printf these. R=abarth BUG=21644 TEST=covered by layout tests Review URL: http://codereview.chromium.org/200110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26108 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.cc')
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index af0d5f8..b69d855 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -895,6 +895,17 @@ void TestWebViewDelegate::didLoadResourceFromMemoryCache(
const WebURLResponse&) {
}
+void TestWebViewDelegate::didDisplayInsecureContent(WebFrame* frame) {
+ if (shell_->ShouldDumpFrameLoadCallbacks())
+ printf("didDisplayInsecureContent\n");
+}
+
+void TestWebViewDelegate::didRunInsecureContent(
+ WebFrame* frame, const WebString& security_origin) {
+ if (shell_->ShouldDumpFrameLoadCallbacks())
+ printf("didRunInsecureContent\n");
+}
+
void TestWebViewDelegate::didExhaustMemoryAvailableForScript(WebFrame* frame) {
}