| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); | 149 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); |
| 150 virtual WebKit::WebSpeechInputController* speechInputController( | 150 virtual WebKit::WebSpeechInputController* speechInputController( |
| 151 WebKit::WebSpeechInputListener*); | 151 WebKit::WebSpeechInputListener*); |
| 152 | 152 |
| 153 // WebKit::WebWidgetClient | 153 // WebKit::WebWidgetClient |
| 154 virtual void didInvalidateRect(const WebKit::WebRect& rect); | 154 virtual void didInvalidateRect(const WebKit::WebRect& rect); |
| 155 virtual void didScrollRect(int dx, int dy, | 155 virtual void didScrollRect(int dx, int dy, |
| 156 const WebKit::WebRect& clip_rect); | 156 const WebKit::WebRect& clip_rect); |
| 157 virtual void scheduleComposite(); | 157 virtual void scheduleComposite(); |
| 158 virtual void scheduleAnimation(); |
| 158 virtual void didFocus(); | 159 virtual void didFocus(); |
| 159 virtual void didBlur(); | 160 virtual void didBlur(); |
| 160 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor); | 161 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor); |
| 161 virtual void closeWidgetSoon(); | 162 virtual void closeWidgetSoon(); |
| 162 virtual void show(WebKit::WebNavigationPolicy policy); | 163 virtual void show(WebKit::WebNavigationPolicy policy); |
| 163 virtual void runModal(); | 164 virtual void runModal(); |
| 164 virtual WebKit::WebRect windowRect(); | 165 virtual WebKit::WebRect windowRect(); |
| 165 virtual void setWindowRect(const WebKit::WebRect& rect); | 166 virtual void setWindowRect(const WebKit::WebRect& rect); |
| 166 virtual WebKit::WebRect rootWindowRect(); | 167 virtual WebKit::WebRect rootWindowRect(); |
| 167 virtual WebKit::WebRect windowResizerRect(); | 168 virtual WebKit::WebRect windowResizerRect(); |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). | 468 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). |
| 468 MockSpellCheck mock_spellcheck_; | 469 MockSpellCheck mock_spellcheck_; |
| 469 | 470 |
| 470 // TODO(jknotten): Remove once building with ENABLE_CLIENT_BASED_GEOLOCATION. | 471 // TODO(jknotten): Remove once building with ENABLE_CLIENT_BASED_GEOLOCATION. |
| 471 scoped_ptr<TestGeolocationService> test_geolocation_service_; | 472 scoped_ptr<TestGeolocationService> test_geolocation_service_; |
| 472 | 473 |
| 473 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 474 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
| 474 }; | 475 }; |
| 475 | 476 |
| 476 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 477 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
| OLD | NEW |