| 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 #include "content/shell/test_runner/web_view_test_client.h" | 5 #include "content/shell/test_runner/web_view_test_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 } | 137 } |
| 138 | 138 |
| 139 void WebViewTestClient::didFocus() { | 139 void WebViewTestClient::didFocus() { |
| 140 test_runner()->SetFocus(web_view_test_proxy_base_->web_view(), true); | 140 test_runner()->SetFocus(web_view_test_proxy_base_->web_view(), true); |
| 141 } | 141 } |
| 142 | 142 |
| 143 TestRunner* WebViewTestClient::test_runner() { | 143 TestRunner* WebViewTestClient::test_runner() { |
| 144 return web_view_test_proxy_base_->test_interfaces()->GetTestRunner(); | 144 return web_view_test_proxy_base_->test_interfaces()->GetTestRunner(); |
| 145 } | 145 } |
| 146 | 146 |
| 147 bool WebViewTestClient::canHandleGestureEvent() { |
| 148 return true; |
| 149 } |
| 150 |
| 151 bool WebViewTestClient::canUpdateLayout() { |
| 152 return true; |
| 153 } |
| 154 |
| 147 } // namespace test_runner | 155 } // namespace test_runner |
| OLD | NEW |