| 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 virtual void didBeginEditing(); | 253 virtual void didBeginEditing(); |
| 254 virtual void didChangeSelection(bool is_selection_empty); | 254 virtual void didChangeSelection(bool is_selection_empty); |
| 255 virtual void didChangeContents(); | 255 virtual void didChangeContents(); |
| 256 virtual void didExecuteCommand(const WebKit::WebString& command_name) {} | 256 virtual void didExecuteCommand(const WebKit::WebString& command_name) {} |
| 257 virtual void didEndEditing(); | 257 virtual void didEndEditing(); |
| 258 | 258 |
| 259 // webkit_glue::WebPluginPageDelegate | 259 // webkit_glue::WebPluginPageDelegate |
| 260 virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate( | 260 virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate( |
| 261 const GURL& url, | 261 const GURL& url, |
| 262 const std::string& mime_type, | 262 const std::string& mime_type, |
| 263 const std::string& clsid, | |
| 264 std::string* actual_mime_type); | 263 std::string* actual_mime_type); |
| 265 virtual void CreatedPluginWindow( | 264 virtual void CreatedPluginWindow( |
| 266 gfx::PluginWindowHandle handle); | 265 gfx::PluginWindowHandle handle); |
| 267 virtual void WillDestroyPluginWindow( | 266 virtual void WillDestroyPluginWindow( |
| 268 gfx::PluginWindowHandle handle); | 267 gfx::PluginWindowHandle handle); |
| 269 virtual void DidMovePlugin( | 268 virtual void DidMovePlugin( |
| 270 const webkit_glue::WebPluginGeometry& move); | 269 const webkit_glue::WebPluginGeometry& move); |
| 271 virtual void DidStartLoadingForPlugin() {} | 270 virtual void DidStartLoadingForPlugin() {} |
| 272 virtual void DidStopLoadingForPlugin() {} | 271 virtual void DidStopLoadingForPlugin() {} |
| 273 virtual void ShowModalHTMLDialogForPlugin( | 272 virtual void ShowModalHTMLDialogForPlugin( |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 // true if we want to enable selection of trailing whitespaces | 410 // true if we want to enable selection of trailing whitespaces |
| 412 bool select_trailing_whitespace_enabled_; | 411 bool select_trailing_whitespace_enabled_; |
| 413 | 412 |
| 414 // true if we should block any redirects | 413 // true if we should block any redirects |
| 415 bool block_redirects_; | 414 bool block_redirects_; |
| 416 | 415 |
| 417 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 416 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
| 418 }; | 417 }; |
| 419 | 418 |
| 420 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 419 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
| OLD | NEW |