OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 virtual void didFailResourceLoad( | 225 virtual void didFailResourceLoad( |
226 WebKit::WebFrame*, unsigned identifier, const WebKit::WebURLError&); | 226 WebKit::WebFrame*, unsigned identifier, const WebKit::WebURLError&); |
227 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); | 227 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); |
228 virtual void didRunInsecureContent( | 228 virtual void didRunInsecureContent( |
229 WebKit::WebFrame* frame, const WebKit::WebSecurityOrigin& origin); | 229 WebKit::WebFrame* frame, const WebKit::WebSecurityOrigin& origin); |
230 virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings); | 230 virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings); |
231 virtual void openFileSystem( | 231 virtual void openFileSystem( |
232 WebKit::WebFrame* frame, | 232 WebKit::WebFrame* frame, |
233 WebKit::WebFileSystem::Type type, | 233 WebKit::WebFileSystem::Type type, |
234 long long size, | 234 long long size, |
| 235 bool create, |
235 WebKit::WebFileSystemCallbacks* callbacks); | 236 WebKit::WebFileSystemCallbacks* callbacks); |
236 | 237 |
237 // webkit_glue::WebPluginPageDelegate | 238 // webkit_glue::WebPluginPageDelegate |
238 virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate( | 239 virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate( |
239 const FilePath& url, | 240 const FilePath& url, |
240 const std::string& mime_type); | 241 const std::string& mime_type); |
241 virtual void CreatedPluginWindow( | 242 virtual void CreatedPluginWindow( |
242 gfx::PluginWindowHandle handle); | 243 gfx::PluginWindowHandle handle); |
243 virtual void WillDestroyPluginWindow( | 244 virtual void WillDestroyPluginWindow( |
244 gfx::PluginWindowHandle handle); | 245 gfx::PluginWindowHandle handle); |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 | 447 |
447 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). | 448 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). |
448 MockSpellCheck mock_spellcheck_; | 449 MockSpellCheck mock_spellcheck_; |
449 | 450 |
450 scoped_ptr<TestGeolocationService> test_geolocation_service_; | 451 scoped_ptr<TestGeolocationService> test_geolocation_service_; |
451 | 452 |
452 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 453 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
453 }; | 454 }; |
454 | 455 |
455 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 456 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
OLD | NEW |