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

Side by Side Diff: webkit/api/public/WebFrameClient.h

Issue 267003: LTTF: Print the element path in TestWebViewDelegate::decidePolicyForNavigation()... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « chrome/renderer/render_view.cc ('k') | webkit/api/src/WebNode.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 #include "WebCommon.h" 34 #include "WebCommon.h"
35 #include "WebNavigationPolicy.h" 35 #include "WebNavigationPolicy.h"
36 #include "WebNavigationType.h" 36 #include "WebNavigationType.h"
37 37
38 namespace WebKit { 38 namespace WebKit {
39 class WebDataSource; 39 class WebDataSource;
40 class WebForm; 40 class WebForm;
41 class WebFrame; 41 class WebFrame;
42 class WebMediaPlayer; 42 class WebMediaPlayer;
43 class WebMediaPlayerClient; 43 class WebMediaPlayerClient;
44 class WebNode;
44 class WebPlugin; 45 class WebPlugin;
45 class WebSecurityOrigin; 46 class WebSecurityOrigin;
46 class WebString; 47 class WebString;
47 class WebURL; 48 class WebURL;
48 class WebURLRequest; 49 class WebURLRequest;
49 class WebURLResponse; 50 class WebURLResponse;
50 class WebWorker; 51 class WebWorker;
51 class WebWorkerClient; 52 class WebWorkerClient;
52 struct WebPluginParams; 53 struct WebPluginParams;
53 struct WebRect; 54 struct WebRect;
(...skipping 26 matching lines...) Expand all
80 virtual void loadURLExternally( 81 virtual void loadURLExternally(
81 WebFrame*, const WebURLRequest&, WebNavigationPolicy) = 0; 82 WebFrame*, const WebURLRequest&, WebNavigationPolicy) = 0;
82 83
83 84
84 // Navigational queries ------------------------------------------------ 85 // Navigational queries ------------------------------------------------
85 86
86 // The client may choose to alter the navigation policy. Otherwise, 87 // The client may choose to alter the navigation policy. Otherwise,
87 // defaultPolicy should just be returned. 88 // defaultPolicy should just be returned.
88 virtual WebNavigationPolicy decidePolicyForNavigation( 89 virtual WebNavigationPolicy decidePolicyForNavigation(
89 WebFrame*, const WebURLRequest&, WebNavigationType, 90 WebFrame*, const WebURLRequest&, WebNavigationType,
91 const WebNode& originatingNode,
90 WebNavigationPolicy defaultPolicy, bool isRedirect) = 0; 92 WebNavigationPolicy defaultPolicy, bool isRedirect) = 0;
91 93
92 94
93 // Navigational notifications ------------------------------------------ 95 // Navigational notifications ------------------------------------------
94 96
95 // A form submission is about to occur. 97 // A form submission is about to occur.
96 virtual void willSubmitForm(WebFrame*, const WebForm&) = 0; 98 virtual void willSubmitForm(WebFrame*, const WebForm&) = 0;
97 99
98 // A client-side redirect will occur. This may correspond to a <META 100 // A client-side redirect will occur. This may correspond to a <META
99 // refresh> or some script activity. 101 // refresh> or some script activity.
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 virtual void reportFindInPageSelection( 241 virtual void reportFindInPageSelection(
240 int identifier, int activeMatchOrdinal, const WebRect& selection) = 0; 242 int identifier, int activeMatchOrdinal, const WebRect& selection) = 0;
241 243
242 protected: 244 protected:
243 ~WebFrameClient() { } 245 ~WebFrameClient() { }
244 }; 246 };
245 247
246 } // namespace WebKit 248 } // namespace WebKit
247 249
248 #endif 250 #endif
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/api/src/WebNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698