OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // TestWebViewDelegate class: | 5 // TestWebViewDelegate class: |
6 // This class implements the WebViewDelegate methods for the test shell. One | 6 // This class implements the WebViewDelegate methods for the test shell. One |
7 // instance is owned by each TestShell. | 7 // instance is owned by each TestShell. |
8 | 8 |
9 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 9 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
10 #define WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 10 #define WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 WebKit::WebFrame*, unsigned identifier, const WebKit::WebURLResponse&); | 211 WebKit::WebFrame*, unsigned identifier, const WebKit::WebURLResponse&); |
212 virtual void didFinishResourceLoad( | 212 virtual void didFinishResourceLoad( |
213 WebKit::WebFrame*, unsigned identifier); | 213 WebKit::WebFrame*, unsigned identifier); |
214 virtual void didFailResourceLoad( | 214 virtual void didFailResourceLoad( |
215 WebKit::WebFrame*, unsigned identifier, const WebKit::WebURLError&); | 215 WebKit::WebFrame*, unsigned identifier, const WebKit::WebURLError&); |
216 virtual void didLoadResourceFromMemoryCache( | 216 virtual void didLoadResourceFromMemoryCache( |
217 WebKit::WebFrame*, const WebKit::WebURLRequest&, | 217 WebKit::WebFrame*, const WebKit::WebURLRequest&, |
218 const WebKit::WebURLResponse&); | 218 const WebKit::WebURLResponse&); |
219 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); | 219 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); |
220 virtual void didRunInsecureContent( | 220 virtual void didRunInsecureContent( |
221 WebKit::WebFrame* frame, const WebKit::WebString& security_origin); | 221 WebKit::WebFrame* frame, const WebKit::WebSecurityOrigin& origin); |
222 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame*); | 222 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame*); |
223 virtual void didChangeContentsSize( | 223 virtual void didChangeContentsSize( |
224 WebKit::WebFrame*, const WebKit::WebSize&); | 224 WebKit::WebFrame*, const WebKit::WebSize&); |
225 | 225 |
226 // webkit_glue::WebPluginPageDelegate | 226 // webkit_glue::WebPluginPageDelegate |
227 virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate( | 227 virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate( |
228 const GURL& url, | 228 const GURL& url, |
229 const std::string& mime_type, | 229 const std::string& mime_type, |
230 std::string* actual_mime_type); | 230 std::string* actual_mime_type); |
231 virtual void CreatedPluginWindow( | 231 virtual void CreatedPluginWindow( |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // true if we want to enable selection of trailing whitespaces | 377 // true if we want to enable selection of trailing whitespaces |
378 bool select_trailing_whitespace_enabled_; | 378 bool select_trailing_whitespace_enabled_; |
379 | 379 |
380 // true if we should block any redirects | 380 // true if we should block any redirects |
381 bool block_redirects_; | 381 bool block_redirects_; |
382 | 382 |
383 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 383 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
384 }; | 384 }; |
385 | 385 |
386 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 386 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
OLD | NEW |