| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 virtual void Show(WebWidget* webview, WindowOpenDisposition disposition); | 230 virtual void Show(WebWidget* webview, WindowOpenDisposition disposition); |
| 231 virtual void ShowAsPopupWithItems(WebWidget* webwidget, | 231 virtual void ShowAsPopupWithItems(WebWidget* webwidget, |
| 232 const WebKit::WebRect& bounds, | 232 const WebKit::WebRect& bounds, |
| 233 int item_height, | 233 int item_height, |
| 234 int selected_index, | 234 int selected_index, |
| 235 const std::vector<WebMenuItem>& items); | 235 const std::vector<WebMenuItem>& items); |
| 236 virtual void CloseWidgetSoon(WebWidget* webwidget); | 236 virtual void CloseWidgetSoon(WebWidget* webwidget); |
| 237 virtual void Focus(WebWidget* webwidget); | 237 virtual void Focus(WebWidget* webwidget); |
| 238 virtual void Blur(WebWidget* webwidget); | 238 virtual void Blur(WebWidget* webwidget); |
| 239 virtual void SetCursor(WebWidget* webwidget, | 239 virtual void SetCursor(WebWidget* webwidget, |
| 240 const WebCursor& cursor); | 240 const WebKit::WebCursorInfo& cursor); |
| 241 virtual void GetWindowRect(WebWidget* webwidget, WebKit::WebRect* rect); | 241 virtual void GetWindowRect(WebWidget* webwidget, WebKit::WebRect* rect); |
| 242 virtual void SetWindowRect(WebWidget* webwidget, | 242 virtual void SetWindowRect(WebWidget* webwidget, |
| 243 const WebKit::WebRect& rect); | 243 const WebKit::WebRect& rect); |
| 244 virtual void GetRootWindowRect(WebWidget *, WebKit::WebRect *); | 244 virtual void GetRootWindowRect(WebWidget *, WebKit::WebRect *); |
| 245 virtual void GetRootWindowResizerRect(WebWidget* webwidget, | 245 virtual void GetRootWindowResizerRect(WebWidget* webwidget, |
| 246 WebKit::WebRect* rect); | 246 WebKit::WebRect* rect); |
| 247 virtual void DidMove(WebWidget* webwidget, const WebPluginGeometry& move); | 247 virtual void DidMove(WebWidget* webwidget, const WebPluginGeometry& move); |
| 248 virtual void RunModal(WebWidget* webwidget); | 248 virtual void RunModal(WebWidget* webwidget); |
| 249 virtual bool IsHidden(WebWidget* webwidget); | 249 virtual bool IsHidden(WebWidget* webwidget); |
| 250 virtual WebKit::WebScreenInfo GetScreenInfo(WebWidget* webwidget); | 250 virtual WebKit::WebScreenInfo GetScreenInfo(WebWidget* webwidget); |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 // cursor. | 367 // cursor. |
| 368 GdkCursorType cursor_type_; | 368 GdkCursorType cursor_type_; |
| 369 #endif | 369 #endif |
| 370 | 370 |
| 371 CapturedContextMenuEvents captured_context_menu_events_; | 371 CapturedContextMenuEvents captured_context_menu_events_; |
| 372 | 372 |
| 373 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 373 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
| 374 }; | 374 }; |
| 375 | 375 |
| 376 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 376 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
| OLD | NEW |