| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 virtual bool acceptsLoadDrops() { return true; } | 136 virtual bool acceptsLoadDrops() { return true; } |
| 137 virtual void focusNext() {} | 137 virtual void focusNext() {} |
| 138 virtual void focusPrevious() {} | 138 virtual void focusPrevious() {} |
| 139 virtual void navigateBackForwardSoon(int offset); | 139 virtual void navigateBackForwardSoon(int offset); |
| 140 virtual int historyBackListCount(); | 140 virtual int historyBackListCount(); |
| 141 virtual int historyForwardListCount(); | 141 virtual int historyForwardListCount(); |
| 142 virtual void didAddHistoryItem() {} | 142 virtual void didAddHistoryItem() {} |
| 143 virtual void focusAccessibilityObject( | 143 virtual void focusAccessibilityObject( |
| 144 const WebKit::WebAccessibilityObject& object); | 144 const WebKit::WebAccessibilityObject& object); |
| 145 virtual void didUpdateInspectorSettings() {} | 145 virtual void didUpdateInspectorSettings() {} |
| 146 virtual WebKit::WebDevToolsAgentClient* devToolsAgentClient() { | |
| 147 return NULL; | |
| 148 } | |
| 149 virtual void queryAutofillSuggestions( | 146 virtual void queryAutofillSuggestions( |
| 150 const WebKit::WebNode&, const WebKit::WebString& name, | 147 const WebKit::WebNode&, const WebKit::WebString& name, |
| 151 const WebKit::WebString& value) {} | 148 const WebKit::WebString& value) {} |
| 152 virtual void removeAutofillSuggestions( | 149 virtual void removeAutofillSuggestions( |
| 153 const WebKit::WebString& name, const WebKit::WebString& value) {} | 150 const WebKit::WebString& name, const WebKit::WebString& value) {} |
| 154 | 151 |
| 155 // WebKit::WebWidgetClient | 152 // WebKit::WebWidgetClient |
| 156 virtual void didInvalidateRect(const WebKit::WebRect& rect); | 153 virtual void didInvalidateRect(const WebKit::WebRect& rect); |
| 157 virtual void didScrollRect(int dx, int dy, | 154 virtual void didScrollRect(int dx, int dy, |
| 158 const WebKit::WebRect& clip_rect); | 155 const WebKit::WebRect& clip_rect); |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 // true if we want to enable selection of trailing whitespaces | 413 // true if we want to enable selection of trailing whitespaces |
| 417 bool select_trailing_whitespace_enabled_; | 414 bool select_trailing_whitespace_enabled_; |
| 418 | 415 |
| 419 // true if we should block any redirects | 416 // true if we should block any redirects |
| 420 bool block_redirects_; | 417 bool block_redirects_; |
| 421 | 418 |
| 422 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 419 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
| 423 }; | 420 }; |
| 424 | 421 |
| 425 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 422 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
| OLD | NEW |