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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 ContextNode node, | 112 ContextNode node, |
113 int x, | 113 int x, |
114 int y, | 114 int y, |
115 const GURL& link_url, | 115 const GURL& link_url, |
116 const GURL& image_url, | 116 const GURL& image_url, |
117 const GURL& page_url, | 117 const GURL& page_url, |
118 const GURL& frame_url, | 118 const GURL& frame_url, |
119 const std::wstring& selection_text, | 119 const std::wstring& selection_text, |
120 const std::wstring& misspelled_word, | 120 const std::wstring& misspelled_word, |
121 int edit_flags, | 121 int edit_flags, |
122 const std::string& security_info); | 122 const std::string& security_info, |
| 123 const std::string& frame_charset); |
123 virtual void DidStartProvisionalLoadForFrame( | 124 virtual void DidStartProvisionalLoadForFrame( |
124 WebView* webview, | 125 WebView* webview, |
125 WebFrame* frame, | 126 WebFrame* frame, |
126 NavigationGesture gesture); | 127 NavigationGesture gesture); |
127 virtual void DidReceiveServerRedirectForProvisionalLoadForFrame( | 128 virtual void DidReceiveServerRedirectForProvisionalLoadForFrame( |
128 WebView* webview, WebFrame* frame); | 129 WebView* webview, WebFrame* frame); |
129 virtual void DidFailProvisionalLoadWithError(WebView* webview, | 130 virtual void DidFailProvisionalLoadWithError(WebView* webview, |
130 const WebError& error, | 131 const WebError& error, |
131 WebFrame* frame); | 132 WebFrame* frame); |
132 virtual void DidCommitLoadForFrame(WebView* webview, WebFrame* frame, | 133 virtual void DidCommitLoadForFrame(WebView* webview, WebFrame* frame, |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 // cursor. | 349 // cursor. |
349 GdkCursorType cursor_type_; | 350 GdkCursorType cursor_type_; |
350 #endif | 351 #endif |
351 | 352 |
352 CapturedContextMenuEvents captured_context_menu_events_; | 353 CapturedContextMenuEvents captured_context_menu_events_; |
353 | 354 |
354 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 355 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
355 }; | 356 }; |
356 | 357 |
357 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 358 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
OLD | NEW |