| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 const WebKit::WebPoint& from, const WebKit::WebDragData& data, | 126 const WebKit::WebPoint& from, const WebKit::WebDragData& data, |
| 127 WebKit::WebDragOperationsMask mask); | 127 WebKit::WebDragOperationsMask mask); |
| 128 virtual void startDragging( | 128 virtual void startDragging( |
| 129 const WebKit::WebDragData& data, WebKit::WebDragOperationsMask mask, | 129 const WebKit::WebDragData& data, WebKit::WebDragOperationsMask mask, |
| 130 const WebKit::WebImage& image, const WebKit::WebPoint& offset); | 130 const WebKit::WebImage& image, const WebKit::WebPoint& offset); |
| 131 virtual void navigateBackForwardSoon(int offset); | 131 virtual void navigateBackForwardSoon(int offset); |
| 132 virtual int historyBackListCount(); | 132 virtual int historyBackListCount(); |
| 133 virtual int historyForwardListCount(); | 133 virtual int historyForwardListCount(); |
| 134 virtual void focusAccessibilityObject( | 134 virtual void focusAccessibilityObject( |
| 135 const WebKit::WebAccessibilityObject& object); | 135 const WebKit::WebAccessibilityObject& object); |
| 136 virtual WebKit::WebNotificationPresenter* notificationPresenter(); |
| 136 | 137 |
| 137 // WebKit::WebWidgetClient | 138 // WebKit::WebWidgetClient |
| 138 virtual void didInvalidateRect(const WebKit::WebRect& rect); | 139 virtual void didInvalidateRect(const WebKit::WebRect& rect); |
| 139 virtual void didScrollRect(int dx, int dy, | 140 virtual void didScrollRect(int dx, int dy, |
| 140 const WebKit::WebRect& clip_rect); | 141 const WebKit::WebRect& clip_rect); |
| 141 virtual void didFocus(); | 142 virtual void didFocus(); |
| 142 virtual void didBlur(); | 143 virtual void didBlur(); |
| 143 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor); | 144 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor); |
| 144 virtual void closeWidgetSoon(); | 145 virtual void closeWidgetSoon(); |
| 145 virtual void show(WebKit::WebNavigationPolicy policy); | 146 virtual void show(WebKit::WebNavigationPolicy policy); |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 std::string edit_command_name_; | 422 std::string edit_command_name_; |
| 422 std::string edit_command_value_; | 423 std::string edit_command_value_; |
| 423 | 424 |
| 424 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). | 425 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). |
| 425 MockSpellCheck mock_spellcheck_; | 426 MockSpellCheck mock_spellcheck_; |
| 426 | 427 |
| 427 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 428 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
| 428 }; | 429 }; |
| 429 | 430 |
| 430 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 431 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
| OLD | NEW |