OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "content/shell/renderer/test_runner/TestInterfaces.h" | 9 #include "content/shell/renderer/test_runner/TestInterfaces.h" |
10 #include "content/shell/renderer/test_runner/WebTestDelegate.h" | 10 #include "content/shell/renderer/test_runner/WebTestDelegate.h" |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 } | 196 } |
197 | 197 |
198 virtual void didCreateDataSource(blink::WebLocalFrame* frame, | 198 virtual void didCreateDataSource(blink::WebLocalFrame* frame, |
199 blink::WebDataSource* ds) { | 199 blink::WebDataSource* ds) { |
200 Base::didCreateDataSource(frame, ds); | 200 Base::didCreateDataSource(frame, ds); |
201 } | 201 } |
202 | 202 |
203 virtual void willSendRequest(blink::WebLocalFrame* frame, unsigned identifier, | 203 virtual void willSendRequest(blink::WebLocalFrame* frame, unsigned identifier, |
204 blink::WebURLRequest& request, | 204 blink::WebURLRequest& request, |
205 const blink::WebURLResponse& redirectResponse) { | 205 const blink::WebURLResponse& redirectResponse) { |
| 206 Base::willSendRequest(frame, identifier, request, redirectResponse); |
206 base_proxy_->WillSendRequest(frame, identifier, request, redirectResponse); | 207 base_proxy_->WillSendRequest(frame, identifier, request, redirectResponse); |
207 Base::willSendRequest(frame, identifier, request, redirectResponse); | |
208 } | 208 } |
209 | 209 |
210 virtual void didReceiveResponse(blink::WebLocalFrame* frame, | 210 virtual void didReceiveResponse(blink::WebLocalFrame* frame, |
211 unsigned identifier, | 211 unsigned identifier, |
212 const blink::WebURLResponse& response) { | 212 const blink::WebURLResponse& response) { |
213 base_proxy_->DidReceiveResponse(frame, identifier, response); | 213 base_proxy_->DidReceiveResponse(frame, identifier, response); |
214 Base::didReceiveResponse(frame, identifier, response); | 214 Base::didReceiveResponse(frame, identifier, response); |
215 } | 215 } |
216 | 216 |
217 virtual void didChangeResourcePriority( | 217 virtual void didChangeResourcePriority( |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 } | 278 } |
279 | 279 |
280 WebTestProxyBase* base_proxy_; | 280 WebTestProxyBase* base_proxy_; |
281 | 281 |
282 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); | 282 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); |
283 }; | 283 }; |
284 | 284 |
285 } // namespace content | 285 } // namespace content |
286 | 286 |
287 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 287 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
OLD | NEW |