Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: webkit/tools/test_shell/test_webview_delegate.h

Issue 14330009: Remove WebNode parameter from decidePolicyForNavigation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 WebKit::WebFrame*, WebKit::WebApplicationCacheHostClient*); 168 WebKit::WebFrame*, WebKit::WebApplicationCacheHostClient*);
169 virtual bool allowPlugins(WebKit::WebFrame* frame, bool enabled_per_settings); 169 virtual bool allowPlugins(WebKit::WebFrame* frame, bool enabled_per_settings);
170 virtual bool allowImage(WebKit::WebFrame* frame, 170 virtual bool allowImage(WebKit::WebFrame* frame,
171 bool enabled_per_settings, 171 bool enabled_per_settings,
172 const WebKit::WebURL& image_url); 172 const WebKit::WebURL& image_url);
173 virtual void loadURLExternally( 173 virtual void loadURLExternally(
174 WebKit::WebFrame*, const WebKit::WebURLRequest&, 174 WebKit::WebFrame*, const WebKit::WebURLRequest&,
175 WebKit::WebNavigationPolicy); 175 WebKit::WebNavigationPolicy);
176 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation( 176 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation(
177 WebKit::WebFrame*, const WebKit::WebURLRequest&, 177 WebKit::WebFrame*, const WebKit::WebURLRequest&,
178 WebKit::WebNavigationType, WebKit::WebNavigationPolicy default_policy,
179 bool isRedirect);
180 // DEPRECATED
181 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation(
182 WebKit::WebFrame*, const WebKit::WebURLRequest&,
178 WebKit::WebNavigationType, const WebKit::WebNode&, 183 WebKit::WebNavigationType, const WebKit::WebNode&,
179 WebKit::WebNavigationPolicy default_policy, bool isRedirect); 184 WebKit::WebNavigationPolicy default_policy, bool isRedirect);
180 virtual bool canHandleRequest( 185 virtual bool canHandleRequest(
181 WebKit::WebFrame*, const WebKit::WebURLRequest&); 186 WebKit::WebFrame*, const WebKit::WebURLRequest&);
182 virtual WebKit::WebURLError cannotHandleRequestError( 187 virtual WebKit::WebURLError cannotHandleRequestError(
183 WebKit::WebFrame*, const WebKit::WebURLRequest& request); 188 WebKit::WebFrame*, const WebKit::WebURLRequest& request);
184 virtual WebKit::WebURLError cancelledError( 189 virtual WebKit::WebURLError cancelledError(
185 WebKit::WebFrame*, const WebKit::WebURLRequest& request); 190 WebKit::WebFrame*, const WebKit::WebURLRequest& request);
186 virtual void unableToImplementPolicyWithError( 191 virtual void unableToImplementPolicyWithError(
187 WebKit::WebFrame*, const WebKit::WebURLError&); 192 WebKit::WebFrame*, const WebKit::WebURLError&);
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 std::string edit_command_name_; 432 std::string edit_command_name_;
428 std::string edit_command_value_; 433 std::string edit_command_value_;
429 434
430 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 435 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
431 MockSpellCheck mock_spellcheck_; 436 MockSpellCheck mock_spellcheck_;
432 437
433 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 438 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
434 }; 439 };
435 440
436 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 441 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698