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

Side by Side Diff: public/testing/WebFrameTestProxy.h

Issue 22159002: Add 'didDispatchPingLoader' callback to FrameLoaderClient. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | « Source/web/FrameLoaderClientImpl.cpp ('k') | public/testing/WebTestProxy.h » ('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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 m_baseProxy->didChangeLocationWithinPage(frame); 113 m_baseProxy->didChangeLocationWithinPage(frame);
114 Base::didChangeLocationWithinPage(frame); 114 Base::didChangeLocationWithinPage(frame);
115 } 115 }
116 virtual void didDetectXSS(WebKit::WebFrame* frame, const WebKit::WebURL& ins ecureURL, bool didBlockEntirePage) 116 virtual void didDetectXSS(WebKit::WebFrame* frame, const WebKit::WebURL& ins ecureURL, bool didBlockEntirePage)
117 { 117 {
118 // This is not implemented in RenderFrameImpl, so need to explicitly cal l 118 // This is not implemented in RenderFrameImpl, so need to explicitly cal l
119 // into the base proxy. 119 // into the base proxy.
120 m_baseProxy->didDetectXSS(frame, insecureURL, didBlockEntirePage); 120 m_baseProxy->didDetectXSS(frame, insecureURL, didBlockEntirePage);
121 Base::didDetectXSS(frame, insecureURL, didBlockEntirePage); 121 Base::didDetectXSS(frame, insecureURL, didBlockEntirePage);
122 } 122 }
123 virtual void didDispatchPingLoader(WebKit::WebFrame* frame, const WebKit::We bURL& url)
124 {
125 // This is not implemented in RenderFrameImpl, so need to explicitly cal l
126 // into the base proxy.
127 m_baseProxy->didDispatchPingLoader(frame, url);
128 Base::didDispatchPingLoader(frame, url);
129 }
123 virtual void willRequestResource(WebKit::WebFrame* frame, const WebKit::WebC achedURLRequest& request) 130 virtual void willRequestResource(WebKit::WebFrame* frame, const WebKit::WebC achedURLRequest& request)
124 { 131 {
125 // This is not implemented in RenderFrameImpl, so need to explicitly cal l 132 // This is not implemented in RenderFrameImpl, so need to explicitly cal l
126 // into the base proxy. 133 // into the base proxy.
127 m_baseProxy->willRequestResource(frame, request); 134 m_baseProxy->willRequestResource(frame, request);
128 Base::willRequestResource(frame, request); 135 Base::willRequestResource(frame, request);
129 } 136 }
130 virtual void didCreateDataSource(WebKit::WebFrame* frame, WebKit::WebDataSou rce* ds) 137 virtual void didCreateDataSource(WebKit::WebFrame* frame, WebKit::WebDataSou rce* ds)
131 { 138 {
132 Base::didCreateDataSource(frame, ds); 139 Base::didCreateDataSource(frame, ds);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 177
171 // This is used to incrementally change code between Blink and Chromium. 178 // This is used to incrementally change code between Blink and Chromium.
172 // It is used instead of a #define and is set by layouttest_support when 179 // It is used instead of a #define and is set by layouttest_support when
173 // creating this object. 180 // creating this object.
174 int m_version; 181 int m_version;
175 }; 182 };
176 183
177 } 184 }
178 185
179 #endif // WebTestProxy_h 186 #endif // WebTestProxy_h
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | public/testing/WebTestProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698