| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings); | 229 virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings); |
| 230 virtual void openFileSystem( | 230 virtual void openFileSystem( |
| 231 WebKit::WebFrame* frame, | 231 WebKit::WebFrame* frame, |
| 232 WebKit::WebFileSystem::Type type, | 232 WebKit::WebFileSystem::Type type, |
| 233 long long size, | 233 long long size, |
| 234 bool create, | 234 bool create, |
| 235 WebKit::WebFileSystemCallbacks* callbacks); | 235 WebKit::WebFileSystemCallbacks* callbacks); |
| 236 | 236 |
| 237 // webkit::npapi::WebPluginPageDelegate | 237 // webkit::npapi::WebPluginPageDelegate |
| 238 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( | 238 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( |
| 239 const FilePath& url, | 239 const base::FilePath& url, |
| 240 const std::string& mime_type) OVERRIDE; | 240 const std::string& mime_type) OVERRIDE; |
| 241 virtual WebKit::WebPlugin* CreatePluginReplacement( | 241 virtual WebKit::WebPlugin* CreatePluginReplacement( |
| 242 const FilePath& file_path) OVERRIDE; | 242 const base::FilePath& file_path) OVERRIDE; |
| 243 virtual void CreatedPluginWindow( | 243 virtual void CreatedPluginWindow( |
| 244 gfx::PluginWindowHandle handle) OVERRIDE; | 244 gfx::PluginWindowHandle handle) OVERRIDE; |
| 245 virtual void WillDestroyPluginWindow( | 245 virtual void WillDestroyPluginWindow( |
| 246 gfx::PluginWindowHandle handle) OVERRIDE; | 246 gfx::PluginWindowHandle handle) OVERRIDE; |
| 247 virtual void DidMovePlugin( | 247 virtual void DidMovePlugin( |
| 248 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; | 248 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; |
| 249 virtual void DidStartLoadingForPlugin() OVERRIDE {} | 249 virtual void DidStartLoadingForPlugin() OVERRIDE {} |
| 250 virtual void DidStopLoadingForPlugin() OVERRIDE {} | 250 virtual void DidStopLoadingForPlugin() OVERRIDE {} |
| 251 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; | 251 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; |
| 252 | 252 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 std::string edit_command_name_; | 437 std::string edit_command_name_; |
| 438 std::string edit_command_value_; | 438 std::string edit_command_value_; |
| 439 | 439 |
| 440 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). | 440 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). |
| 441 MockSpellCheck mock_spellcheck_; | 441 MockSpellCheck mock_spellcheck_; |
| 442 | 442 |
| 443 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 443 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
| 444 }; | 444 }; |
| 445 | 445 |
| 446 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 446 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
| OLD | NEW |