| 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_TEST_PROXY_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 if (!WebTestProxyBase::CreateView( | 340 if (!WebTestProxyBase::CreateView( |
| 341 creator, request, features, frame_name, policy, suppress_opener)) | 341 creator, request, features, frame_name, policy, suppress_opener)) |
| 342 return 0; | 342 return 0; |
| 343 return Base::createView( | 343 return Base::createView( |
| 344 creator, request, features, frame_name, policy, suppress_opener); | 344 creator, request, features, frame_name, policy, suppress_opener); |
| 345 } | 345 } |
| 346 virtual void setStatusText(const blink::WebString& text) { | 346 virtual void setStatusText(const blink::WebString& text) { |
| 347 WebTestProxyBase::SetStatusText(text); | 347 WebTestProxyBase::SetStatusText(text); |
| 348 Base::setStatusText(text); | 348 Base::setStatusText(text); |
| 349 } | 349 } |
| 350 virtual blink::WebUserMediaClient* userMediaClient() { | |
| 351 return WebTestProxyBase::GetUserMediaClient(); | |
| 352 } | |
| 353 virtual void printPage(blink::WebLocalFrame* frame) { | 350 virtual void printPage(blink::WebLocalFrame* frame) { |
| 354 WebTestProxyBase::PrintPage(frame); | 351 WebTestProxyBase::PrintPage(frame); |
| 355 } | 352 } |
| 356 virtual blink::WebSpeechRecognizer* speechRecognizer() { | 353 virtual blink::WebSpeechRecognizer* speechRecognizer() { |
| 357 return WebTestProxyBase::GetSpeechRecognizer(); | 354 return WebTestProxyBase::GetSpeechRecognizer(); |
| 358 } | 355 } |
| 359 virtual bool requestPointerLock() { | 356 virtual bool requestPointerLock() { |
| 360 return WebTestProxyBase::RequestPointerLock(); | 357 return WebTestProxyBase::RequestPointerLock(); |
| 361 } | 358 } |
| 362 virtual void requestPointerUnlock() { | 359 virtual void requestPointerUnlock() { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 return WebTestProxyBase::GetWebPushClient(); | 395 return WebTestProxyBase::GetWebPushClient(); |
| 399 } | 396 } |
| 400 | 397 |
| 401 private: | 398 private: |
| 402 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 399 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
| 403 }; | 400 }; |
| 404 | 401 |
| 405 } // namespace content | 402 } // namespace content |
| 406 | 403 |
| 407 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ | 404 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| OLD | NEW |