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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 | 392 |
393 WebTestProxyBase::ShowValidationMessage( | 393 WebTestProxyBase::ShowValidationMessage( |
394 wrapped_main_text, wrapped_sub_text); | 394 wrapped_main_text, wrapped_sub_text); |
395 } | 395 } |
396 virtual void postSpellCheckEvent(const blink::WebString& event_name) { | 396 virtual void postSpellCheckEvent(const blink::WebString& event_name) { |
397 WebTestProxyBase::PostSpellCheckEvent(event_name); | 397 WebTestProxyBase::PostSpellCheckEvent(event_name); |
398 } | 398 } |
399 virtual blink::WebString acceptLanguages() { | 399 virtual blink::WebString acceptLanguages() { |
400 return WebTestProxyBase::acceptLanguages(); | 400 return WebTestProxyBase::acceptLanguages(); |
401 } | 401 } |
402 virtual blink::WebPushClient* webPushClient() { | |
403 return WebTestProxyBase::GetWebPushClient(); | |
404 } | |
405 | 402 |
406 private: | 403 private: |
407 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 404 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
408 }; | 405 }; |
409 | 406 |
410 } // namespace content | 407 } // namespace content |
411 | 408 |
412 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ | 409 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ |
OLD | NEW |