| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ |
| 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "third_party/WebKit/public/web/WebViewClient.h" | 9 #include "third_party/WebKit/public/web/WebViewClient.h" |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 const blink::WebURLRequest& request, | 40 const blink::WebURLRequest& request, |
| 41 const blink::WebWindowFeatures& features, | 41 const blink::WebWindowFeatures& features, |
| 42 const blink::WebString& frame_name, | 42 const blink::WebString& frame_name, |
| 43 blink::WebNavigationPolicy policy, | 43 blink::WebNavigationPolicy policy, |
| 44 bool suppress_opener) override; | 44 bool suppress_opener) override; |
| 45 void setStatusText(const blink::WebString& text) override; | 45 void setStatusText(const blink::WebString& text) override; |
| 46 void printPage(blink::WebLocalFrame* frame) override; | 46 void printPage(blink::WebLocalFrame* frame) override; |
| 47 blink::WebSpeechRecognizer* speechRecognizer() override; | 47 blink::WebSpeechRecognizer* speechRecognizer() override; |
| 48 blink::WebString acceptLanguages() override; | 48 blink::WebString acceptLanguages() override; |
| 49 void didFocus() override; | 49 void didFocus() override; |
| 50 bool canHandleGestureEvent() override; |
| 51 bool canUpdateLayout() override; |
| 50 | 52 |
| 51 private: | 53 private: |
| 52 WebTestDelegate* delegate(); | 54 WebTestDelegate* delegate(); |
| 53 TestRunner* test_runner(); | 55 TestRunner* test_runner(); |
| 54 | 56 |
| 55 // Borrowed pointer to WebViewTestProxyBase. | 57 // Borrowed pointer to WebViewTestProxyBase. |
| 56 WebViewTestProxyBase* web_view_test_proxy_base_; | 58 WebViewTestProxyBase* web_view_test_proxy_base_; |
| 57 | 59 |
| 58 DISALLOW_COPY_AND_ASSIGN(WebViewTestClient); | 60 DISALLOW_COPY_AND_ASSIGN(WebViewTestClient); |
| 59 }; | 61 }; |
| 60 | 62 |
| 61 } // namespace test_runner | 63 } // namespace test_runner |
| 62 | 64 |
| 63 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ | 65 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ |
| OLD | NEW |